Commit 810a9359 authored by lisong's avatar lisong

修改bug

parent 3a66f957
...@@ -421,7 +421,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD ...@@ -421,7 +421,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
public List<CategoryOtherInfo> checkCode(Map<String, Object> obj) { public List<CategoryOtherInfo> checkCode(Map<String, Object> obj) {
List<CategoryOtherInfo> codeList; List<CategoryOtherInfo> codeList;
if ("save".equals(obj.get("type"))) { if ("save".equals(obj.get("type"))) {
codeList = categoryOtherInfoMapper.selectList(new QueryWrapper<CategoryOtherInfo>().eq("CODE96333", obj.get("CODE96333"))); codeList = categoryOtherInfoMapper.selectList(new QueryWrapper<CategoryOtherInfo>().eq("CODE96333", obj.get("CODE96333")).eq("CLAIM_STATUS", EquipmentCategoryEnum.YRL.getName()));
} else { } else {
codeList = categoryOtherInfoMapper.selectList(new QueryWrapper<CategoryOtherInfo>().ne("RECORD", obj.get("id")).eq("CODE96333", obj.get("CODE96333")).eq("CLAIM_STATUS", EquipmentCategoryEnum.YRL.getName())); codeList = categoryOtherInfoMapper.selectList(new QueryWrapper<CategoryOtherInfo>().ne("RECORD", obj.get("id")).eq("CODE96333", obj.get("CODE96333")).eq("CLAIM_STATUS", EquipmentCategoryEnum.YRL.getName()));
} }
......
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