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
4afd1a0e
Commit
4afd1a0e
authored
Jul 30, 2020
by
leialin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lal' into 'develop'
提交考勤遗漏员工BUG See merge request 8timerv2/8timerapiv200!359
parents
08e50bb2
eed56c24
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
src/main/java/cn/timer/api/controller/jxgl/JxglController.java
+7
-0
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
+2
-0
src/main/resources/mapping/jxgl/JxglPerformanceAppraisalMapper.xml
+1
-0
No files found.
src/main/java/cn/timer/api/controller/jxgl/JxglController.java
View file @
4afd1a0e
...
...
@@ -241,9 +241,16 @@ public class JxglController {
new
QueryWrapper
<
JxglAppraisalT
>().
lambda
().
eq
(
JxglAppraisalT:
:
getId
,
jxglAppraisalT
.
getId
()))
>
0
)
{
jxglAppraisalT
.
updateById
();
}
else
{
List
<
JxglAppraisalT
>
alt
=
JxglAppraisalT
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
JxglAppraisalT
>().
lambda
().
eq
(
JxglAppraisalT:
:
getOrgCode
,
userBean
.
getOrgCode
())
.
eq
(
JxglAppraisalT:
:
getName
,
jxglAppraisalT
.
getName
()));
if
(
alt
.
size
()
>
0
)
{
return
ResultUtil
.
error
(
"模板名称不允许重复"
);
}
else
{
jxglAppraisalT
.
setOrgCode
(
userBean
.
getOrgCode
());
jxglAppraisalT
.
insert
();
}
}
LambdaQueryWrapper
<
JxglAppraisalIndicatorsT
>
q
=
new
QueryWrapper
<
JxglAppraisalIndicatorsT
>().
lambda
()
.
eq
(
JxglAppraisalIndicatorsT:
:
getAppraisalTId
,
jxglAppraisalT
.
getId
());
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
View file @
4afd1a0e
...
...
@@ -186,6 +186,8 @@ public class AttendanceTaskTiming{
if
(
sum
!=
null
)
{
summaryid
=
sum
.
getId
();
}
else
{
summaryid
=
0
;
}
double
traveltotal
=
0
,
egresstotal
=
0
,
overtimetotal
=
0
;
...
...
src/main/resources/mapping/jxgl/JxglPerformanceAppraisalMapper.xml
View file @
4afd1a0e
...
...
@@ -283,6 +283,7 @@
where nod.executor_id = #{param.id}
and pe.org_code = #{param.orgCode}
and nod.sts = 2
and em.org_code = #{param.orgCode}
ORDER BY pe.id DESC
</select>
...
...
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