Commit d216fe42 authored by huyuchen's avatar huyuchen

Merge remote-tracking branch 'origin/MVP1.5.5' into MVP1.5.5

parents 68c607d3 e82b235b
...@@ -251,6 +251,11 @@ public class EmployeeContractExportVO implements Serializable { ...@@ -251,6 +251,11 @@ public class EmployeeContractExportVO implements Serializable {
@ExcelProperty("创建人") @ExcelProperty("创建人")
private String createName; private String createName;
@ExcelAttribute(name = "审核人")
@ExcelProperty("审核人")
@Schema(description = "审核人")
private String auditUserName;
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("创建时间") @ExcelProperty("创建时间")
......
...@@ -1440,17 +1440,28 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr ...@@ -1440,17 +1440,28 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
contractInfo.setLimitEnd(CommonConstants.EXCEL_EXPORT_LIMIT); contractInfo.setLimitEnd(CommonConstants.EXCEL_EXPORT_LIMIT);
list = baseMapper.getTEmployeeContractExport(contractInfo); list = baseMapper.getTEmployeeContractExport(contractInfo);
if (Common.isNotNull(list)) { if (Common.isNotNull(list)) {
for(EmployeeContractExportVO ll:list){ for (EmployeeContractExportVO ll : list) {
if(ll.getAuditStatus().contains("审核不通过")) { if (ll.getRemark() != null) {
if (null != ll.getRemark()) { if (!ll.getRemark().contains("派增审核")) {
String[] a = ll.getRemark().split(":"); if (ll.getAuditStatus().contains("审核不通过") && null != ll.getRemark()) {
for(int t=CommonConstants.ZERO_INT;t<a.length;t++){ if (ll.getRemark().contains(":")) {
if(t==CommonConstants.ONE_INT) { String a = ll.getRemark().substring(0, ll.getRemark().indexOf(":", 1));
ll.setNoPassReason(a[CommonConstants.ZERO_INT]); String b = ll.getRemark().substring(ll.getRemark().indexOf(":", 1) + 1);
ll.setRemark(a[CommonConstants.ONE_INT]); ll.setNoPassReason(a);
ll.setRemark(b);
} }
} }
} }
if (ll.getRemark().contains("派增审核")) {
if (ll.getRemark().contains("-")) {
String c = ll.getRemark().substring(0, ll.getRemark().indexOf("-", 1));
String d = ll.getRemark().substring(ll.getRemark().indexOf("-", 1) + 1);
ll.setNoPassReason(c);
ll.setRemark(d);
}
}
} }
} }
writeSheet = EasyExcel.writerSheet("员工合同" + index).build(); writeSheet = EasyExcel.writerSheet("员工合同" + index).build();
......
...@@ -213,6 +213,7 @@ ...@@ -213,6 +213,7 @@
a.EMP_NO, a.EMP_NO,
a.EMP_NAME, a.EMP_NAME,
a.EMP_IDCARD, a.EMP_IDCARD,
a.AUDIT_USER_NAME,
a.CONTRACT_START, a.CONTRACT_START,
a.CONTRACT_END, a.CONTRACT_END,
a.FILE_PROVINCE, a.FILE_PROVINCE,
...@@ -476,6 +477,7 @@ ...@@ -476,6 +477,7 @@
a.EMP_IDCARD, a.EMP_IDCARD,
a.CONTRACT_START, a.CONTRACT_START,
a.CONTRACT_END, a.CONTRACT_END,
a.AUDIT_USER_NAME,
a1.AREA_NAME as "FILE_PROVINCE", a1.AREA_NAME as "FILE_PROVINCE",
a2.AREA_NAME as "FILE_CITY", a2.AREA_NAME as "FILE_CITY",
a3.AREA_NAME as "FILE_TOWN", a3.AREA_NAME as "FILE_TOWN",
......
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