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
9d80eb5c
Commit
9d80eb5c
authored
May 19, 2020
by
lal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
e8b25718
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
194 additions
and
0 deletions
+194
-0
src/main/java/cn/timer/api/controller/kqgl/service/KqglService.java
+20
-0
src/main/java/cn/timer/api/controller/kqgl/service/KqglServiceImpl.java
+49
-0
src/main/java/cn/timer/api/dto/kqmk/AttEvectionApprovalDto.java
+32
-0
src/main/java/cn/timer/api/dto/kqmk/AttLeaveApprovalDto.java
+32
-0
src/main/java/cn/timer/api/dto/kqmk/AttOvertimeApprovalDto.java
+35
-0
src/main/java/cn/timer/api/dto/kqmk/AttRepairApprovalDto.java
+26
-0
No files found.
src/main/java/cn/timer/api/controller/kqgl/service/KqglService.java
0 → 100644
View file @
9d80eb5c
package
cn
.
timer
.
api
.
controller
.
kqgl
.
service
;
import
cn.timer.api.dto.kqmk.AttEvectionApprovalDto
;
import
cn.timer.api.dto.kqmk.AttLeaveApprovalDto
;
import
cn.timer.api.dto.kqmk.AttOvertimeApprovalDto
;
import
cn.timer.api.dto.kqmk.AttRepairApprovalDto
;
public
interface
KqglService
{
/**
* @param leaveapproval
* @return
*/
boolean
attleaveapproval
(
AttLeaveApprovalDto
leaveappr
);
boolean
attovertimeapproval
(
AttOvertimeApprovalDto
overappr
);
boolean
attevectionapproval
(
AttEvectionApprovalDto
evecappr
);
boolean
attrepairapproval
(
AttRepairApprovalDto
repaappr
);
}
src/main/java/cn/timer/api/controller/kqgl/service/KqglServiceImpl.java
0 → 100644
View file @
9d80eb5c
package
cn
.
timer
.
api
.
controller
.
kqgl
.
service
;
import
org.springframework.stereotype.Service
;
import
cn.timer.api.dto.kqmk.AttEvectionApprovalDto
;
import
cn.timer.api.dto.kqmk.AttLeaveApprovalDto
;
import
cn.timer.api.dto.kqmk.AttOvertimeApprovalDto
;
import
cn.timer.api.dto.kqmk.AttRepairApprovalDto
;
@Service
public
class
KqglServiceImpl
implements
KqglService
{
/**
* 考勤请假审批
*/
@Override
public
boolean
attleaveapproval
(
AttLeaveApprovalDto
leaveappr
)
{
return
true
;
}
/**
* 考勤加班审批
*/
@Override
public
boolean
attovertimeapproval
(
AttOvertimeApprovalDto
overappr
)
{
return
true
;
}
/**
* 考勤出差外出审批
*/
@Override
public
boolean
attevectionapproval
(
AttEvectionApprovalDto
evecappr
)
{
return
true
;
}
/**
* 考勤补卡审批
*/
@Override
public
boolean
attrepairapproval
(
AttRepairApprovalDto
repaappr
)
{
return
true
;
}
}
src/main/java/cn/timer/api/dto/kqmk/AttEvectionApprovalDto.java
0 → 100644
View file @
9d80eb5c
package
cn
.
timer
.
api
.
dto
.
kqmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author 考勤出差外出审批
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
AttEvectionApprovalDto
{
@ApiModelProperty
(
value
=
"出差外出id"
,
example
=
""
)
private
int
evectionid
;
@ApiModelProperty
(
value
=
"开始时间"
,
example
=
"时间戳"
)
private
long
starttime
;
@ApiModelProperty
(
value
=
"结束时间"
,
example
=
"时间戳"
)
private
long
endtime
;
@ApiModelProperty
(
value
=
"时长"
,
example
=
""
)
private
double
duration
;
@ApiModelProperty
(
value
=
"类型"
,
example
=
"1:出差;2:外出"
)
private
int
evectiontype
;
}
src/main/java/cn/timer/api/dto/kqmk/AttLeaveApprovalDto.java
0 → 100644
View file @
9d80eb5c
package
cn
.
timer
.
api
.
dto
.
kqmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author 考勤请假审批
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
AttLeaveApprovalDto
{
@ApiModelProperty
(
value
=
"请假id"
,
example
=
""
)
private
int
leaveid
;
@ApiModelProperty
(
value
=
"请假类型"
,
example
=
"具体传ID"
)
private
int
leavetype
;
@ApiModelProperty
(
value
=
"开始时间"
,
example
=
"时间戳"
)
private
long
starttime
;
@ApiModelProperty
(
value
=
"结束时间"
,
example
=
"时间戳"
)
private
long
endtime
;
@ApiModelProperty
(
value
=
"时长(分钟)"
,
example
=
""
)
private
double
duration
;
}
src/main/java/cn/timer/api/dto/kqmk/AttOvertimeApprovalDto.java
0 → 100644
View file @
9d80eb5c
package
cn
.
timer
.
api
.
dto
.
kqmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author 考勤加班审批
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
AttOvertimeApprovalDto
{
@ApiModelProperty
(
value
=
"加班id"
,
example
=
""
)
private
int
overtimeid
;
@ApiModelProperty
(
value
=
"加班类型"
,
example
=
"具体传ID"
)
private
int
overtimetype
;
@ApiModelProperty
(
value
=
"开始时间"
,
example
=
"时间戳"
)
private
long
starttime
;
@ApiModelProperty
(
value
=
"结束时间"
,
example
=
"时间戳"
)
private
long
endtime
;
@ApiModelProperty
(
value
=
"时长(分钟)"
,
example
=
""
)
private
double
duration
;
@ApiModelProperty
(
value
=
"加班补偿方式"
,
example
=
"1:转调休;2:转加班费;3:转调休或加班费"
)
private
int
compensate
;
}
src/main/java/cn/timer/api/dto/kqmk/AttRepairApprovalDto.java
0 → 100644
View file @
9d80eb5c
package
cn
.
timer
.
api
.
dto
.
kqmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author 考勤补卡审批
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
AttRepairApprovalDto
{
@ApiModelProperty
(
value
=
"补卡审批ID"
,
example
=
""
)
private
int
repairid
;
@ApiModelProperty
(
value
=
"补卡时间"
,
example
=
"时间戳"
)
private
long
cardrepltime
;
@ApiModelProperty
(
value
=
""
,
example
=
"1:上午;2:下午"
)
private
int
cardreplperiod
;
}
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