Commit b2cb026a authored by chenzhao's avatar chenzhao

修改bug

parent 844108e0
...@@ -975,6 +975,8 @@ public class ExcelServiceImpl { ...@@ -975,6 +975,8 @@ public class ExcelServiceImpl {
if (item.getEquipName() == null || item.getEquipName().equals(" ")) { if (item.getEquipName() == null || item.getEquipName().equals(" ")) {
throw new RuntimeException("设备定义名称为必填字段,填写后重新上传"); throw new RuntimeException("设备定义名称为必填字段,填写后重新上传");
} }
//水源的isdelete是反着的
item.setIsDelete(true);
// 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