Commit b1ccdafd authored by tianyiming's avatar tianyiming

注销、报废生成申请单编号前缀修改

parent 9d61e0bd
...@@ -1210,7 +1210,7 @@ public class CommonServiceImpl implements ICommonService { ...@@ -1210,7 +1210,7 @@ public class CommonServiceImpl implements ICommonService {
JSONObject jsonObject = (JSONObject) JSONObject.toJSON(jgEquipTransferDto); JSONObject jsonObject = (JSONObject) JSONObject.toJSON(jgEquipTransferDto);
jsonObject.put("businessCode", type); jsonObject.put("businessCode", type);
return jgEquipTransferServiceImpl.saveTransfer(submitType, jsonObject, reginParams); return jgEquipTransferServiceImpl.saveTransfer(submitType, jsonObject, reginParams);
} else if (type.contains(ApplicationFormTypeEnum.YZBF.getBusinessCode()) || type.contains(ApplicationFormTypeEnum.ZXBF.getBusinessCode())) { } else if (type.contains(ApplicationFormTypeEnum.ZX.getBusinessCode()) || type.contains(ApplicationFormTypeEnum.BF.getBusinessCode())) {
noticeObj.put("cancelType", type.equals("BF_ZX") ? "1" : "2"); noticeObj.put("cancelType", type.equals("BF_ZX") ? "1" : "2");
noticeObj.put("receiveOrgCreditCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1"))); noticeObj.put("receiveOrgCreditCode", !ObjectUtils.isEmpty(basicObj.get("receiveOrgCreditCode")) ? String.valueOf(basicObj.get("receiveOrgCreditCode")) : String.valueOf(basicObj.get("receiveOrgCreditCode1")));
provideMap.put(SBZX_PAGE_ID, noticeObj); provideMap.put(SBZX_PAGE_ID, noticeObj);
......
...@@ -189,11 +189,11 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc ...@@ -189,11 +189,11 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
model.setReceiveOrgName(receiveOrg[1]); model.setReceiveOrgName(receiveOrg[1]);
// 字段转换 // 字段转换
convertField(model); convertField(model);
// 获取告知单号 TODO 待修改 bug // 获取告知单号 调整之前YZBF为ZX,
ResponseModel<List<String>> listResponseModel = tzsServiceFeignClient.applicationFormCode(ApplicationFormTypeEnum.getCode.get(String.valueOf(noticeParams.get("businessCode"))), 1); ResponseModel<List<String>> listResponseModel = tzsServiceFeignClient.applicationFormCode(ApplicationFormTypeEnum.getCode.get(String.valueOf(noticeParams.get("businessCode"))), 1);
if (!ObjectUtils.isEmpty(listResponseModel) && listResponseModel.getStatus() != HttpStatus.OK.value()) { if (!ObjectUtils.isEmpty(listResponseModel) && listResponseModel.getStatus() != HttpStatus.OK.value()) {
log.error(" 获取告知单号失败"); log.error(" 获取告知单号失败");
throw new RuntimeException(); throw new BadRequest("获取告知单号失败");
} }
String instanceId = ""; String instanceId = "";
......
...@@ -30,8 +30,8 @@ public enum ApplicationFormTypeEnum { ...@@ -30,8 +30,8 @@ public enum ApplicationFormTypeEnum {
DWBG("DWBG", "DJ_DW"),//单位变更登记 DWBG("DWBG", "DJ_DW"),//单位变更登记
JY("JY", ""), JY("JY", ""),
JG("JG", ""),// 检验结果 JG("JG", ""),// 检验结果
YZBF("YZBF", "BF_YZ"),//电梯(设备)移装注销 ZX("ZX", "BF_YZ"),//电梯(设备)移装注销
ZXBF("ZXBF", "BF_ZX"),//电梯(设备)报废注销 BF("BF", "BF_ZX"),//电梯(设备)报废注销
GMBG("GMBG", "DJ_GM"),//更名变更 GMBG("GMBG", "DJ_GM"),//更名变更
SBQY("SBQY", "SB_QY"),//设备启用 SBQY("SBQY", "SB_QY"),//设备启用
SBTY("SBTY", "SB_TY");//设备启用 SBTY("SBTY", "SB_TY");//设备启用
......
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