Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
304de048
Commit
304de048
authored
Jun 21, 2021
by
chenzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
處理定時打卡代碼bug
parent
015953aa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
src/main/java/cn/timer/api/controller/LoginController.java
+1
-1
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
+1
-1
src/main/resources/application-test.yml
+2
-2
src/main/resources/application.yml
+3
-3
src/main/resources/mapping/kqmk/KqglAssoMonthPunchSummaryMapper.xml
+1
-1
No files found.
src/main/java/cn/timer/api/controller/LoginController.java
View file @
304de048
...
@@ -855,7 +855,7 @@ public class LoginController {
...
@@ -855,7 +855,7 @@ public class LoginController {
session
.
setAttribute
(
"ui"
,
qyzxEmpLogin1
);
session
.
setAttribute
(
"ui"
,
qyzxEmpLogin1
);
System
.
err
.
println
(
session
.
getId
());
System
.
err
.
println
(
session
.
getId
());
Object
ui
=
session
.
getAttribute
(
"ui"
);
return
ResultUtil
.
data
(
qyzxEmpLogin1
);
return
ResultUtil
.
data
(
qyzxEmpLogin1
);
}
}
...
...
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
304de048
...
@@ -1723,7 +1723,7 @@ public class TimeCardController {
...
@@ -1723,7 +1723,7 @@ public class TimeCardController {
@ApiOperationSupport
(
order
=
34
)
@ApiOperationSupport
(
order
=
34
)
public
Result
<
Object
>
AttendanceCalendar
(
@CurrentUser
UserBean
userBean
,
@Validated
@RequestBody
OriginalRecordDto
originalrecorddto
)
throws
ParseException
{
public
Result
<
Object
>
AttendanceCalendar
(
@CurrentUser
UserBean
userBean
,
@Validated
@RequestBody
OriginalRecordDto
originalrecorddto
)
throws
ParseException
{
IPage
<
PunchRecord
>
page
=
new
Page
<
PunchRecord
>(
IPage
<
PunchRecord
>
page
=
new
Page
<
PunchRecord
>(
originalrecorddto
.
getCurrentPage
()
==
null
?
1
:
originalrecorddto
.
getCurrentPage
(),
originalrecorddto
.
getCurrentPage
()
==
null
?
1
:
originalrecorddto
.
getCurrentPage
(),
originalrecorddto
.
getTotalPage
()
==
null
?
10
:
originalrecorddto
.
getTotalPage
());
originalrecorddto
.
getTotalPage
()
==
null
?
10
:
originalrecorddto
.
getTotalPage
());
originalrecorddto
.
setQyid
(
userBean
.
getOrgCode
());
originalrecorddto
.
setQyid
(
userBean
.
getOrgCode
());
...
...
src/main/resources/application-test.yml
View file @
304de048
...
@@ -165,9 +165,9 @@ logging:
...
@@ -165,9 +165,9 @@ logging:
config-8timer
:
config-8timer
:
environmental-science
:
test
environmental-science
:
test
expiration_time
:
2
#扫码登录过期时长
expiration_time
:
2
#扫码登录过期时长
machine8timerUrl
:
'
http://test-8timer-fk.youlingrc.com'
#
machine8timerUrl: 'http://test-8timer-fk.youlingrc.com'
#machine8timerUrl: 'http://192.168.3.38:8088'
#machine8timerUrl: 'http://192.168.3.38:8088'
#
machine8timerUrl: 'http://192.168.3.111:8095'
machine8timerUrl
:
'
http://192.168.3.111:8095'
authentication-code
:
'
888888'
authentication-code
:
'
888888'
prescription
:
8
#一天工作8小时
prescription
:
8
#一天工作8小时
register-free-time
:
90
#系统赠送时间
register-free-time
:
90
#系统赠送时间
...
...
src/main/resources/application.yml
View file @
304de048
spring
:
spring
:
profiles
:
profiles
:
# active: test
active
:
test
active
:
'
@environment@'
#active: '@environment@'
\ No newline at end of file
\ No newline at end of file
src/main/resources/mapping/kqmk/KqglAssoMonthPunchSummaryMapper.xml
View file @
304de048
...
@@ -484,7 +484,7 @@
...
@@ -484,7 +484,7 @@
LEFT JOIN yggl_main_emp as info on info.emp_num = dkmx.userid and info.org_code = #{param.orgCode}
LEFT JOIN yggl_main_emp as info on info.emp_num = dkmx.userid and info.org_code = #{param.orgCode}
LEFT JOIN kqgl_asso_dkjl as dkjl on dkjl.dkmxid = dkmx.id
LEFT JOIN kqgl_asso_dkjl as dkjl on dkjl.dkmxid = dkmx.id
LEFT JOIN kqgl_asso_bcsz as bcsz on bcsz.id = dkjl.bcid
LEFT JOIN kqgl_asso_bcsz as bcsz on bcsz.id = dkjl.bcid
where dkmx.qyid = #{param.orgCode}
where dkmx.qyid = #{param.orgCode}
and dkmx.`data` = #{param.times}
and dkmx.`data` = #{param.times}
) as rtj on rtj.userid = sum.num
) as rtj on rtj.userid = sum.num
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment