Commit 0bc835f9 authored by huyuchen's avatar huyuchen

档案完整监控

parent 18f58d7a
...@@ -78,7 +78,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable { ...@@ -78,7 +78,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable {
* 信息是否完整 * 信息是否完整
*/ */
@Length(max = 1, message = "信息是否完整 不能超过1 个字符") @Length(max = 1, message = "信息是否完整 不能超过1 个字符")
@ExcelAttribute(name = "信息是否完整", maxLength = 1, readConverterExp = "0=否,1=是") @ExcelAttribute(name = "信息是否完整", maxLength = 1, readConverterExp = "0=是,1=否")
@Schema(description = "信息是否完整") @Schema(description = "信息是否完整")
@ExcelProperty("信息是否完整") @ExcelProperty("信息是否完整")
private String isComplete; private String isComplete;
...@@ -112,7 +112,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable { ...@@ -112,7 +112,7 @@ public class TCompleteMonitorVo extends RowIndex implements Serializable {
* 6月及后入职信息是否完整 * 6月及后入职信息是否完整
*/ */
@Length(max = 1, message = "6月及后入职信息是否完整 不能超过1 个字符") @Length(max = 1, message = "6月及后入职信息是否完整 不能超过1 个字符")
@ExcelAttribute(name = "6月及后入职信息是否完整", maxLength = 1, readConverterExp = "0=否,1=是") @ExcelAttribute(name = "6月及后入职信息是否完整", maxLength = 1, readConverterExp = "0=是,1=否")
@Schema(description = "6月及后入职信息是否完整") @Schema(description = "6月及后入职信息是否完整")
@ExcelProperty("6月及后入职信息是否完整") @ExcelProperty("6月及后入职信息是否完整")
private String afterIsComplete; private String afterIsComplete;
......
...@@ -60,7 +60,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap ...@@ -60,7 +60,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TCompleteMonitorSearchVo searchVo){ public void listExport(HttpServletResponse response, TCompleteMonitorSearchVo searchVo){
String fileName = "档案完整度监控批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "档案完整度监控列表" + DateUtil.getThisTime() + ".xlsx";
//获取要导出的列表 //获取要导出的列表
List<TCompleteMonitorVo> list = new ArrayList<>(); List<TCompleteMonitorVo> list = new ArrayList<>();
long count = baseMapper.getExportCount(searchVo); long count = baseMapper.getExportCount(searchVo);
...@@ -87,7 +87,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap ...@@ -87,7 +87,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
} }
} }
if (Common.isNotNull(list)){ if (Common.isNotNull(list)){
WriteSheet writeSheet = EasyExcel.writerSheet("档案完整度监控"+index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("档案完整度监控列表"+index).build();
excelWriter.write(list,writeSheet); excelWriter.write(list,writeSheet);
index++; index++;
} }
...@@ -97,7 +97,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap ...@@ -97,7 +97,7 @@ public class TCompleteMonitorServiceImpl extends ServiceImpl<TCompleteMonitorMap
} }
} }
}else { }else {
WriteSheet writeSheet = EasyExcel.writerSheet("档案完整度监控"+index).build(); WriteSheet writeSheet = EasyExcel.writerSheet("档案完整度监控列表"+index).build();
excelWriter.write(list,writeSheet); excelWriter.write(list,writeSheet);
} }
if (Common.isNotNull(list)){ if (Common.isNotNull(list)){
......
...@@ -26,7 +26,7 @@ mybatis-plus: ...@@ -26,7 +26,7 @@ mybatis-plus:
logic-not-delete-value: 0 logic-not-delete-value: 0
configuration: configuration:
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# spring security 配置 # spring security 配置
security: security:
......
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