Commit 619982ab authored by huyuchen's avatar huyuchen

劳务费导入修改

parent 6f9bf12e
...@@ -165,6 +165,13 @@ public class TSalaryStandard extends BaseEntity { ...@@ -165,6 +165,13 @@ public class TSalaryStandard extends BaseEntity {
@ExcelAttribute(name = "最终审核时间", isDate = true) @ExcelAttribute(name = "最终审核时间", isDate = true)
@ExcelProperty("最终审核时间") @ExcelProperty("最终审核时间")
private Date auditTime; private Date auditTime;
/**
* 审核意见
*/
@ExcelAttribute(name = "审核意见", maxLength = 500)
@Length(max = 500, message = "审核意见不能超过500个字符")
@ExcelProperty("审核意见")
private String auditRemark;
/** /**
* 省 * 省
*/ */
......
...@@ -269,7 +269,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -269,7 +269,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
tApprovalRecord.setApprovalResult(CommonConstants.ONE_STRING); tApprovalRecord.setApprovalResult(CommonConstants.ONE_STRING);
} }
if (Common.isNotNull(auditRemark)) { if (Common.isNotNull(auditRemark)) {
tSalaryStandard.setRemark(auditRemark); tSalaryStandard.setAuditRemark(auditRemark);
tApprovalRecord.setApprovalOpinion(auditRemark); tApprovalRecord.setApprovalOpinion(auditRemark);
} }
tSalaryStandard.setAuditUser(user.getId()); tSalaryStandard.setAuditUser(user.getId());
...@@ -280,6 +280,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -280,6 +280,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
tApprovalRecord.setApprovalMan(user.getId()); tApprovalRecord.setApprovalMan(user.getId());
tApprovalRecord.setApprovalManName(user.getNickname()); tApprovalRecord.setApprovalManName(user.getNickname());
tApprovalRecord.setApprovalTime(DateUtil.getCurrentDateTime()); tApprovalRecord.setApprovalTime(DateUtil.getCurrentDateTime());
tApprovalRecord.setNodeId("审核");
approvalRecordService.save(tApprovalRecord); approvalRecordService.save(tApprovalRecord);
} }
return R.ok(); return R.ok();
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
<result property="deleteFlag" column="DELETE_FLAG"/> <result property="deleteFlag" column="DELETE_FLAG"/>
<result property="auditUser" column="AUDIT_USER"/> <result property="auditUser" column="AUDIT_USER"/>
<result property="auditTime" column="AUDIT_TIME"/> <result property="auditTime" column="AUDIT_TIME"/>
<result property="auditRemark" column="AUDIT_REMARK"/>
<result property="province" column="PROVINCE"/> <result property="province" column="PROVINCE"/>
<result property="city" column="CITY"/> <result property="city" column="CITY"/>
<result property="town" column="TOWN"/> <result property="town" column="TOWN"/>
...@@ -82,6 +83,7 @@ ...@@ -82,6 +83,7 @@
a.DELETE_FLAG, a.DELETE_FLAG,
a.AUDIT_USER, a.AUDIT_USER,
a.AUDIT_TIME, a.AUDIT_TIME,
a.AUDIT_REMARK,
a.PROVINCE, a.PROVINCE,
a.CITY, a.CITY,
a.TOWN, a.TOWN,
...@@ -159,6 +161,9 @@ ...@@ -159,6 +161,9 @@
<if test="tSalaryStandard.auditTime != null"> <if test="tSalaryStandard.auditTime != null">
AND a.AUDIT_TIME = #{tSalaryStandard.auditTime} AND a.AUDIT_TIME = #{tSalaryStandard.auditTime}
</if> </if>
<if test="tSalaryStandard.auditReamrk != null and tSalaryStandard.auditReamrk.trim() != ''">
AND a.AUDIT_REAMRK = #{tSalaryStandard.auditReamrk}
</if>
<if test="tSalaryStandard.province != null"> <if test="tSalaryStandard.province != null">
AND a.PROVINCE = #{tSalaryStandard.province} AND a.PROVINCE = #{tSalaryStandard.province}
</if> </if>
......
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