Commit dfeb39e9 authored by 廖旭伟's avatar 廖旭伟

绩效申诉增加处理时间,处理人字段

parent fa027135
......@@ -265,6 +265,15 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
* 申诉人姓名
*/
private String appealPerson;
/**
* 处理时间
*/
private Date processTime;
/**
* 处理人员
*/
@Excel(name = "处理人员")
private String processPerson;
/**
* 绩效记录申诉附件信息信息
*/
......@@ -405,5 +414,9 @@ public class PerformAttendAppealEntity extends PerformAttendAppealVo {
this.appealPersonId = null;
this.appealPerson = "";
this.processTime = null;
this.processPerson = "";
}
}
\ No newline at end of file
......@@ -526,6 +526,18 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
/** 申诉人姓名排除列表 */
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) */
private List<PerformAttendAppealQuery> orConditionList;
......@@ -3336,6 +3348,70 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
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
......@@ -4945,6 +5021,23 @@ public class PerformAttendAppealQuery extends PerformAttendAppealEntity {
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)
* @return orConditionList
......
......@@ -110,6 +110,8 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
}
appealEntity.setProcessStatus(ProcessStatusEnum.已处理.getValue());
appealEntity.setProcessTime(new Date());
appealEntity.setProcessPerson(context.getUser().getRealName());
appealEntity.setAppealDesc(appeal.getAppealDesc());
appealEntity.setAppealResult(appeal.getAppealResult());
appealEntity.setAppealTime(new Date());
......
......@@ -82,6 +82,8 @@
<result property="salaName" column="salaName" />
<result property="appealPersonId" column="appealPersonId" />
<result property="appealPerson" column="appealPerson" />
<result property="processTime" column="processTime" />
<result property="processPerson" column="processPerson" />
<result property="checkStatus" column="checkStatus" />
</resultMap>
<!-- 获取列表 -->
......@@ -1538,5 +1540,40 @@
#{item}
</foreach>
</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>
</mapper>
\ No newline at end of file
......@@ -1324,5 +1324,7 @@ PRIMARY KEY (`id`)
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 `processTime` datetime COMMENT '处理时间' AFTER `processStatus`,
ADD COLUMN `processPerson` varchar(128) COMMENT '处理人员' AFTER `processTime`,
ADD KEY `appealPerson` (`appealPerson`) USING BTREE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment