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
19b7c0f9
Commit
19b7c0f9
authored
Apr 03, 2020
by
邓实川
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工bug,配置输出信息info
parent
1149aa34
Show 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 @
19b7c0f9
...
@@ -162,7 +162,8 @@ public class YgglController {
...
@@ -162,7 +162,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 @
19b7c0f9
...
@@ -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