Commit bc24b35a authored by chenzhao's avatar chenzhao

修改bug

parent b0ac33cf
...@@ -763,6 +763,10 @@ if (excelDtoList != null && excelDtoList.size() > 0) { ...@@ -763,6 +763,10 @@ if (excelDtoList != null && excelDtoList.size() > 0) {
List<WaterResourceDto> excelDtoList = ExcelUtil.readFirstSheetExcel(multipartFile, WaterResourceDto.class, 1); List<WaterResourceDto> excelDtoList = ExcelUtil.readFirstSheetExcel(multipartFile, WaterResourceDto.class, 1);
excelDtoList.forEach(item -> { excelDtoList.forEach(item -> {
/*Bug 2950 消防水源,缺失设施分类、设施定义等必填字段可以上传成功 陈召 2021-10-09 */
if (item.getEquipName() == null || item.getEquipName().equals(" ")) {
throw new RuntimeException("设备定义名称为必填字段,填写后重新上传");
}
//BUG 2953 导入模板没有设备编码生成 2021-09-18 陈召开始 //BUG 2953 导入模板没有设备编码生成 2021-09-18 陈召开始
item.setEquipCode(QRCodeUtil.generateQRCode()); item.setEquipCode(QRCodeUtil.generateQRCode());
//BUG 2953 导入模板没有设备编码生成 2021-09-18 陈召结束 //BUG 2953 导入模板没有设备编码生成 2021-09-18 陈召结束
......
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