Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
gogirl-miniapp-backend
Commits
22682689
Commit
22682689
authored
Mar 26, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order pay
parent
3c0c44d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
2 deletions
+26
-2
TakeLeaveEventCmdServiceImpl.java
...cation/store/store/impl/TakeLeaveEventCmdServiceImpl.java
+5
-2
GetTechnicianPageRequest.java
...n/java/com/gogirl/dto/admin/GetTechnicianPageRequest.java
+21
-0
No files found.
src/main/java/com/gogirl/application/store/store/impl/TakeLeaveEventCmdServiceImpl.java
View file @
22682689
...
@@ -87,8 +87,11 @@ public class TakeLeaveEventCmdServiceImpl implements TakeLeaveEventCmdService {
...
@@ -87,8 +87,11 @@ public class TakeLeaveEventCmdServiceImpl implements TakeLeaveEventCmdService {
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
//检查总调休时间
//检查总调休时间
if
(!
takeLeaveEvent
.
getTimeLength
().
toString
()
if
(
takeLeaveEvent
.
getTimeLength
()
.
equals
(
overTimeRecordLogList
.
stream
().
map
(
OverTimeRecordLog:
:
getLengthTime
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
).
toString
()))
{
.
compareTo
(
overTimeRecordLogList
.
stream
().
map
(
OverTimeRecordLog:
:
getLengthTime
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
))
!=
0
)
{
log
.
info
(
"申请时间:{}"
,
takeLeaveEvent
.
getTimeLength
());
log
.
info
(
"选择的时间{},"
,
overTimeRecordLogList
.
stream
().
map
(
OverTimeRecordLog:
:
getLengthTime
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
throw
new
RRException
(
500
,
"调休时间有误"
);
throw
new
RRException
(
500
,
"调休时间有误"
);
}
}
...
...
src/main/java/com/gogirl/dto/admin/GetTechnicianPageRequest.java
0 → 100644
View file @
22682689
package
com
.
gogirl
.
dto
.
admin
;
import
lombok.Data
;
import
java.util.Date
;
import
java.util.List
;
@Data
public
class
GetTechnicianPageRequest
{
private
Integer
status
;
private
String
title
;
private
Integer
page
;
private
Integer
rows
;
private
String
sidx
;
private
String
sort
;
private
List
<
Date
>
date_utc
;
}
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