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
8100b8e6
Commit
8100b8e6
authored
May 26, 2020
by
tangzhaoqian
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效管理数据库设计、数据库生成,实体、dao、xml创建,API:基础设置api
parent
965ea464
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
34 deletions
+43
-34
src/main/java/cn/timer/api/dao/jxgl/JxglAppraisalMapper.java
+0
-34
src/main/java/cn/timer/api/dto/jxgl/BasicSettingDto.java
+43
-0
No files found.
src/main/java/cn/timer/api/dao/jxgl/JxglAppraisalMapper.java
deleted
100644 → 0
View file @
965ea464
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
cn.timer.api.bean.jxgl.JxglAppraisal
;
import
cn.timer.api.dto.jxgl.AppraisalDetail
;
import
cn.timer.api.dto.jxgl.AppraisalQuery
;
import
cn.timer.api.dto.jxgl.EmpPerformanceQuery
;
/**
* 考核
* @author Tang 2020-05-26
*/
@Repository
public
interface
JxglAppraisalMapper
extends
BaseMapper
<
JxglAppraisal
>
{
IPage
<
JxglAppraisal
>
selectListByQuery
(
IPage
<
JxglAppraisal
>
page
,
@Param
(
"param"
)
AppraisalQuery
query
);
AppraisalDetail
selectDetailById
(
Integer
orgCode
,
Integer
id
);
IPage
<
JxglAppraisal
>
selectListEmpByQuery
(
IPage
<
JxglAppraisal
>
page
,
@Param
(
"param"
)
EmpPerformanceQuery
query
);
IPage
<
JxglAppraisal
>
selectMyEmpByQuery
(
IPage
<
JxglAppraisal
>
page
,
@Param
(
"param"
)
EmpPerformanceQuery
query
);
String
CurrentdepartmentID
(
int
orgcode
,
int
empnum
);
List
<
JxglAppraisal
>
selectListByappraisalid
(
int
appraisalid
);
}
src/main/java/cn/timer/api/dto/jxgl/BasicSettingDto.java
0 → 100644
View file @
8100b8e6
package
cn
.
timer
.
api
.
dto
.
jxgl
;
import
java.util.Date
;
import
javax.validation.Valid
;
import
javax.validation.constraints.NotNull
;
import
cn.timer.api.bean.jxgl.JxglPerformanceRating
;
import
cn.timer.api.config.exception.ValidationMsg
;
import
cn.timer.api.config.validation.ValidList
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
BasicSettingDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"10"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"企业id"
,
example
=
"10"
)
private
Integer
orgCode
;
@NotNull
(
message
=
ValidationMsg
.
NOTNULL
)
@ApiModelProperty
(
value
=
"最高分"
,
example
=
"100"
)
private
Integer
maxScore
;
@ApiModelProperty
(
value
=
"创建时间"
,
example
=
"2020-10-10 10:10:10"
)
private
Date
createTime
;
@ApiModelProperty
(
value
=
"更新时间"
,
example
=
"2020-10-10 10:10:10"
)
private
Date
updateTime
;
@Valid
@ApiModelProperty
(
value
=
"绩效等级"
,
example
=
"1"
)
private
ValidList
<
JxglPerformanceRating
>
performanceRatings
;
}
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