Commit c60b8d5f authored by tianbo's avatar tianbo

生成96333码代码修改

parent 2da5cc37
......@@ -271,7 +271,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
if (EquipmentClassifityEnum.DT.getCode().equals(equipList)) {
if (!ObjectUtils.isEmpty(otherInfo) && ObjectUtils.isEmpty(otherInfo.getCode())) {
List<CategoryOtherInfo> codeList = categoryOtherInfoMapper.selectList(new QueryWrapper<CategoryOtherInfo>().eq("CODE96333", otherInfo.getCode()));
if (ObjectUtils.isEmpty(codeList)) {
if (ObjectUtils.isEmpty(otherInfo.getCode()) || ObjectUtils.isEmpty(codeList)) {
//生成生成96333电梯码前缀
Map<String, Object> elevatorMap = equipmentCategoryMapper.getAdministrativeDivision(EquipmentCategoryEnum.XZQHDT.getCode(), county);
String elevator = ObjectUtils.isEmpty(elevatorMap) ? equipmentCategoryMapper.getAdministrativeDivision(EquipmentCategoryEnum.XZQHDT.getCode(), city).get("code").toString() : elevatorMap.get("code").toString();
......
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