Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
dfeb39e9
Commit
dfeb39e9
authored
Apr 30, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效申诉增加处理时间,处理人字段
parent
fa027135
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
225 additions
and
4 deletions
+225
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformAttendAppealEntity.java
...s/xhx/module/perform/model/PerformAttendAppealEntity.java
+13
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformAttendAppealQuery.java
...ls/xhx/module/perform/model/PerformAttendAppealQuery.java
+93
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
.../perform/service/impl/PerformAttendAppealServiceImpl.java
+2
-0
attendance-performance-manager/src/main/resources/sqlmap/module/perform/PerformAttendAppealMapper.xml
...urces/sqlmap/module/perform/PerformAttendAppealMapper.xml
+78
-4
attendance-performance-manager/src/main/resources/sqlmap/module/perform/PerformAttendAppealMapperExt.xml
...es/sqlmap/module/perform/PerformAttendAppealMapperExt.xml
+37
-0
db/add.sql
db/add.sql
+2
-0
doc/考勤绩效管理系统.docx
doc/考勤绩效管理系统.docx
+0
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformAttendAppealEntity.java
View file @
dfeb39e9
...
@@ -265,6 +265,15 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
...
@@ -265,6 +265,15 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
* 申诉人姓名
* 申诉人姓名
*/
*/
private
String
appealPerson
;
private
String
appealPerson
;
/**
* 处理时间
*/
private
Date
processTime
;
/**
* 处理人员
*/
@Excel
(
name
=
"处理人员"
)
private
String
processPerson
;
/**
/**
* 绩效记录申诉附件信息信息
* 绩效记录申诉附件信息信息
*/
*/
...
@@ -405,5 +414,9 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
...
@@ -405,5 +414,9 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
this
.
appealPersonId
=
null
;
this
.
appealPersonId
=
null
;
this
.
appealPerson
=
""
;
this
.
appealPerson
=
""
;
this
.
processTime
=
null
;
this
.
processPerson
=
""
;
}
}
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformAttendAppealQuery.java
View file @
dfeb39e9
...
@@ -526,6 +526,18 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
...
@@ -526,6 +526,18 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 申诉人姓名排除列表 */
/** 申诉人姓名排除列表 */
private
List
<
String
>
appealPersonNotList
;
private
List
<
String
>
appealPersonNotList
;
/** 开始 处理时间 */
private
String
processTimeStart
;
/** 结束 处理时间 */
private
String
processTimeEnd
;
/** 处理人员 */
private
List
<
String
>
processPersonList
;
/** 处理人员排除列表 */
private
List
<
String
>
processPersonNotList
;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
PerformAttendAppealQuery
>
orConditionList
;
private
List
<
PerformAttendAppealQuery
>
orConditionList
;
...
@@ -3336,6 +3348,70 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
...
@@ -3336,6 +3348,70 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
this
.
salaNameNotList
=
salaNameNotList
;
this
.
salaNameNotList
=
salaNameNotList
;
}
}
/**
* 获取 开始 处理时间
* @return processTimeStart
*/
public
String
getProcessTimeStart
(){
return
this
.
processTimeStart
;
}
/**
* 设置 开始 处理时间
* @param processTimeStart
*/
public
void
setProcessTimeStart
(
String
processTimeStart
){
this
.
processTimeStart
=
processTimeStart
;
}
/**
* 获取 结束 处理时间
* @return processTimeEnd
*/
public
String
getProcessTimeEnd
(){
return
this
.
processTimeEnd
;
}
/**
* 设置 结束 处理时间
* @param processTimeEnd
*/
public
void
setProcessTimeEnd
(
String
processTimeEnd
){
this
.
processTimeEnd
=
processTimeEnd
;
}
/**
* 获取 处理人员
* @return processPersonList
*/
public
List
<
String
>
getProcessPersonList
(){
return
this
.
processPersonList
;
}
/**
* 设置 处理人员
* @param processPersonList
*/
public
void
setProcessPersonList
(
List
<
String
>
processPersonList
){
this
.
processPersonList
=
processPersonList
;
}
/**
* 获取 处理人员
* @return processPersonNotList
*/
public
List
<
String
>
getProcessPersonNotList
(){
return
this
.
processPersonNotList
;
}
/**
* 设置 处理人员
* @param processPersonNotList
*/
public
void
setProcessPersonNotList
(
List
<
String
>
processPersonNotList
){
this
.
processPersonNotList
=
processPersonNotList
;
}
/**
/**
* 设置 序号,主键,自增长
* 设置 序号,主键,自增长
* @param id
* @param id
...
@@ -4945,6 +5021,23 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
...
@@ -4945,6 +5021,23 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
return
this
;
return
this
;
}
}
/**
* 设置 处理人员
* @param processPerson
*/
public
PerformAttendAppealQuery
processPerson
(
String
processPerson
){
setProcessPerson
(
processPerson
);
return
this
;
}
/**
* 设置 处理人员
* @param processPersonList
*/
public
PerformAttendAppealQuery
processPersonList
(
List
<
String
>
processPersonList
){
this
.
processPersonList
=
processPersonList
;
return
this
;
}
/**
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
* @return orConditionList
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
View file @
dfeb39e9
...
@@ -110,6 +110,8 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -110,6 +110,8 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
}
}
appealEntity
.
setProcessStatus
(
ProcessStatusEnum
.
已处理
.
getValue
());
appealEntity
.
setProcessStatus
(
ProcessStatusEnum
.
已处理
.
getValue
());
appealEntity
.
setProcessTime
(
new
Date
());
appealEntity
.
setProcessPerson
(
context
.
getUser
().
getRealName
());
appealEntity
.
setAppealDesc
(
appeal
.
getAppealDesc
());
appealEntity
.
setAppealDesc
(
appeal
.
getAppealDesc
());
appealEntity
.
setAppealResult
(
appeal
.
getAppealResult
());
appealEntity
.
setAppealResult
(
appeal
.
getAppealResult
());
appealEntity
.
setAppealTime
(
new
Date
());
appealEntity
.
setAppealTime
(
new
Date
());
...
...
attendance-performance-manager/src/main/resources/sqlmap/module/perform/PerformAttendAppealMapper.xml
View file @
dfeb39e9
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/resources/sqlmap/module/perform/PerformAttendAppealMapperExt.xml
View file @
dfeb39e9
...
@@ -82,6 +82,8 @@
...
@@ -82,6 +82,8 @@
<result
property=
"salaName"
column=
"salaName"
/>
<result
property=
"salaName"
column=
"salaName"
/>
<result
property=
"appealPersonId"
column=
"appealPersonId"
/>
<result
property=
"appealPersonId"
column=
"appealPersonId"
/>
<result
property=
"appealPerson"
column=
"appealPerson"
/>
<result
property=
"appealPerson"
column=
"appealPerson"
/>
<result
property=
"processTime"
column=
"processTime"
/>
<result
property=
"processPerson"
column=
"processPerson"
/>
<result
property=
"checkStatus"
column=
"checkStatus"
/>
<result
property=
"checkStatus"
column=
"checkStatus"
/>
</resultMap>
</resultMap>
<!-- 获取列表 -->
<!-- 获取列表 -->
...
@@ -1538,5 +1540,40 @@
...
@@ -1538,5 +1540,40 @@
#{item}
#{item}
</foreach>
</foreach>
</if>
</if>
<if
test=
"conditionParamRef.containsKey('processTime')"
>
<if
test=
"conditionParamRef.processTime != null "
>
${_conditionType_} a.processTime = #{${_conditionParam_}.processTime}
</if>
<if
test=
"conditionParamRef.processTime == null"
>
${_conditionType_} a.processTime is null
</if>
</if>
<if
test=
"conditionParamRef.containsKey('processTimeStart') and conditionParamRef.processTimeStart != null and conditionParamRef.processTimeStart!=''"
>
${_conditionType_} a.processTime
<![CDATA[ >= ]]>
STR_TO_DATE(left(concat(#{${_conditionParam_}.processTimeStart},' 00:00:00'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"conditionParamRef.containsKey('processTimeEnd') and conditionParamRef.processTimeEnd != null and conditionParamRef.processTimeEnd!=''"
>
${_conditionType_} a.processTime
<![CDATA[ <= ]]>
STR_TO_DATE(left(concat(#{${_conditionParam_}.processTimeEnd},' 23:59:59'),19),'%Y-%m-%d %k:%i:%s')
</if>
<if
test=
"conditionParamRef.containsKey('processPerson')"
>
<if
test=
"conditionParamRef.processPerson != null and conditionParamRef.processPerson != ''"
>
${_conditionType_} a.processPerson like #{${_conditionParam_}.processPerson}
</if>
<if
test=
"conditionParamRef.processPerson == null"
>
${_conditionType_} a.processPerson is null
</if>
</if>
<if
test=
"conditionParamRef.containsKey('processPersonList') and conditionParamRef.processPersonList.size() > 0"
>
${_conditionType_} a.processPerson in
<foreach
collection=
"conditionParamRef.processPersonList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
</foreach>
</if>
<if
test=
"conditionParamRef.containsKey('processPersonNotList') and conditionParamRef.processPersonNotList.size() > 0"
>
${_conditionType_} a.processPerson not in
<foreach
collection=
"conditionParamRef.processPersonNotList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
</foreach>
</if>
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
db/add.sql
View file @
dfeb39e9
...
@@ -1324,5 +1324,7 @@ PRIMARY KEY (`id`)
...
@@ -1324,5 +1324,7 @@ PRIMARY KEY (`id`)
ALTER
TABLE
`mortals_xhx_perform_attend_appeal`
ADD
COLUMN
`appealPersonId`
bigint
(
20
)
COMMENT
'申诉人id'
AFTER
`performType`
,
ALTER
TABLE
`mortals_xhx_perform_attend_appeal`
ADD
COLUMN
`appealPersonId`
bigint
(
20
)
COMMENT
'申诉人id'
AFTER
`performType`
,
ADD
COLUMN
`appealPerson`
varchar
(
64
)
COMMENT
'申诉人姓名'
AFTER
`appealPersonId`
,
ADD
COLUMN
`appealPerson`
varchar
(
64
)
COMMENT
'申诉人姓名'
AFTER
`appealPersonId`
,
ADD
COLUMN
`processTime`
datetime
COMMENT
'处理时间'
AFTER
`processStatus`
,
ADD
COLUMN
`processPerson`
varchar
(
128
)
COMMENT
'处理人员'
AFTER
`processTime`
,
ADD
KEY
`appealPerson`
(
`appealPerson`
)
USING
BTREE
;
ADD
KEY
`appealPerson`
(
`appealPerson`
)
USING
BTREE
;
doc/考勤绩效管理系统.docx
View file @
dfeb39e9
No preview for this file type
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