Commit 316ce184 by liuyang

2024-04-25 设备管理设备编码重复提示优化

parent 2d9316af
......@@ -209,6 +209,6 @@ public class ServiceHPSB003 extends ServiceEPBase {
map.put("deviceCodeStr",hpsb001.getDeviceCode());
map.put(HPSB003.FIELD_DELETE_FLAG,hpsb001.getDeleteFlag());
List<HPSB003> hpsb003List = this.dao.query(HPSB003.QUERY,map);
AssertUtils.isNotEmpty(hpsb003List, String.format("设备编码[%s]已存在,添加失败", hpsb001.getDeviceCode()));
AssertUtils.isNotEmpty(hpsb003List, String.format("设备编码[%s]已存在,添加失败", hpsb001.getDeviceCode()));
}
}
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