Commit 6b07ac14 authored by tianbo's avatar tianbo

监管业务生产监管码修改

parent f602cc19
...@@ -496,17 +496,10 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD ...@@ -496,17 +496,10 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
isNotXiXian = "null".equals(String.valueOf(map.get("isXiXian"))) ? "0" : "1"; isNotXiXian = "null".equals(String.valueOf(map.get("isXiXian"))) ? "0" : "1";
//生成码 //生成码
EquipmentCategoryServiceImpl categoryService = (EquipmentCategoryServiceImpl) AopContext.currentProxy(); EquipmentCategoryServiceImpl categoryService = (EquipmentCategoryServiceImpl) AopContext.currentProxy();
Map<String, String> codeMap = categoryService.creatCode(isNotXiXian, city, county, equipCategory, "null", "null"); Map<String, String> codeMap = creatCode(isNotXiXian, city, county, equipCategory, "null", "null");
if (ObjectUtils.isEmpty(codeMap)) { if (ObjectUtils.isEmpty(codeMap)) {
throw new BadRequest("该请求参数未生成监管码或96333码,请核对参数"); throw new BadRequest("该请求参数未生成监管码或96333码,请核对参数");
} }
// String equState = EquipmentCategoryEnum.CSZT.getCode();
// SupervisoryCodeInfo supervisoryCodeInfo = new SupervisoryCodeInfo();
// supervisoryCodeInfo.setCode96333(codeMap.get("code96333"));
// supervisoryCodeInfo.setSupervisoryCode(codeMap.get("superviseCode"));
// supervisoryCodeInfo.setStatus(equState);
// supervisoryCodeInfoMapper.insert(supervisoryCodeInfo);
return codeMap; return codeMap;
} }
......
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