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
12819cca
Commit
12819cca
authored
4 years ago
by
lal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交BUG
parent
f79ce8e4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
+0
-0
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
+18
-4
No files found.
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
View file @
12819cca
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
12819cca
...
...
@@ -2206,32 +2206,46 @@ public class TimeCardController {
if
(
chpunchr
.
getClocktype
()
==
1
)
{
sbdk1
=
changed_time
;
sbdk1jg
=
results
;
if
(
results
==
0
)
{
sbdk1jg
=
-
1
;
}
KqglAssoDkmx
.
builder
().
id
(
dkmx
.
getId
()).
sbdk1
(
sbdk1
).
sbdk1jg
(
sbdk1jg
).
build
().
updateById
();
}
else
if
(
chpunchr
.
getClocktype
()
==
2
)
{
xbdk1
=
changed_time
;
xbdk1jg
=
results
;
if
(
results
==
0
)
{
xbdk1jg
=
-
1
;
}
KqglAssoDkmx
.
builder
().
id
(
dkmx
.
getId
()).
xbdk1
(
xbdk1
).
xbdk1jg
(
xbdk1jg
).
build
().
updateById
();
}
else
if
(
chpunchr
.
getClocktype
()
==
3
)
{
sbdk2
=
changed_time
;
sbdk2jg
=
results
;
if
(
results
==
0
)
{
sbdk2jg
=
-
1
;
}
KqglAssoDkmx
.
builder
().
id
(
dkmx
.
getId
()).
sbdk2
(
sbdk2
).
sbdk2jg
(
sbdk2jg
).
build
().
updateById
();
}
else
if
(
chpunchr
.
getClocktype
()
==
4
)
{
xbdk2
=
changed_time
;
xbdk2jg
=
results
;
if
(
results
==
0
)
{
xbdk2jg
=
-
1
;
}
KqglAssoDkmx
.
builder
().
id
(
dkmx
.
getId
()).
xbdk2
(
xbdk2
).
xbdk2jg
(
xbdk2jg
).
build
().
updateById
();
}
else
if
(
chpunchr
.
getClocktype
()
==
5
)
{
sbdk3
=
changed_time
;
sbdk3jg
=
results
;
if
(
results
==
0
)
{
sbdk3jg
=
-
1
;
}
KqglAssoDkmx
.
builder
().
id
(
dkmx
.
getId
()).
sbdk3
(
sbdk3
).
sbdk3jg
(
sbdk3jg
).
build
().
updateById
();
}
else
{
xbdk3
=
changed_time
;
xbdk3jg
=
results
;
if
(
results
==
0
)
{
xbdk3jg
=
-
1
;
}
KqglAssoDkmx
.
builder
().
id
(
dkmx
.
getId
()).
xbdk3
(
xbdk3
).
xbdk3jg
(
xbdk3jg
).
build
().
updateById
();
}
}
...
...
This diff is collapsed.
Click to expand it.
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