Commit dfce221b authored by 王果's avatar 王果

21464 【web端】监管业务>移装告知,新增区内移装时,选择设备列表根据区县进行了过滤,导致无法选择到所有待移装的设备,应该使用市进行过滤

parent 3a38f893
......@@ -1431,10 +1431,10 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
throw new BadRequest("请先选择使用单位等信息!");
}
if (!ValidationUtil.isEmpty(map.get("transferType")) && ValidationUtil.equals(map.get("transferType"), "区内移装")) {
if (ValidationUtil.isEmpty(map.get("county"))) {
throw new BadRequest("请先选择施工区域等信息!");
if (ValidationUtil.isEmpty(map.get("city"))) {
throw new BadRequest("请先选择施施工区域-市!");
} else {
map.put(USE_PLACE_CODE, String.valueOf(map.get("county")).split("_")[0]);
map.put(USE_PLACE_CODE, String.valueOf(map.get("city")).split("_")[0]);
}
}
map.put("USE_UNIT_CREDIT_CODE", String.valueOf(map.get("useUnitCreditCode")).split("_")[0]);
......
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