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
875face2
Commit
875face2
authored
Apr 03, 2020
by
dengshichuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dsc' into 'develop'
员工bug,配置输出信息info See merge request 8timerv2/8timerapiv200!13
parents
4570c2a3
286f7f0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+2
-1
src/main/resources/application-pro.yml
+1
-1
No files found.
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
875face2
...
@@ -152,7 +152,8 @@ public class YgglController {
...
@@ -152,7 +152,8 @@ public class YgglController {
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
YgglMainEmp
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
orgCode
).
eq
(
"emp_num"
,
empNum
);
queryWrapper
.
eq
(
"org_code"
,
orgCode
).
eq
(
"emp_num"
,
empNum
);
YgglMainEmp
ygglMainEmp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
YgglMainEmp
ygglMainEmp
=
YgglMainEmp
.
builder
().
build
().
selectOne
(
queryWrapper
);
if
(
ygglMainEmp
!=
null
)
{
Date
rz
=
ygglMainEmp
.
getRzTime
();
if
(
rz
!=
null
)
{
ygglMainEmp
.
setWorkTime
(
DateUtil
.
formatBetween
(
ygglMainEmp
.
getRzTime
(),
new
Date
(),
Level
.
DAY
));
ygglMainEmp
.
setWorkTime
(
DateUtil
.
formatBetween
(
ygglMainEmp
.
getRzTime
(),
new
Date
(),
Level
.
DAY
));
}
}
return
ResultUtil
.
data
(
ygglMainEmp
,
"获取员工档案成功"
);
return
ResultUtil
.
data
(
ygglMainEmp
,
"获取员工档案成功"
);
...
...
src/main/resources/application-pro.yml
View file @
875face2
...
@@ -116,7 +116,7 @@ pagehelper:
...
@@ -116,7 +116,7 @@ pagehelper:
#showSql
#showSql
logging
:
logging
:
level
:
level
:
root
:
DEBUG
root
:
info
cn.timer.api.dao
:
error
cn.timer.api.dao
:
error
pattern
:
pattern
:
console
:
'
--%p--%m%n'
console
:
'
--%p--%m%n'
...
...
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