fix 合同通知跳转异常
This commit is contained in:
+4
-1
@@ -833,6 +833,7 @@ public class PayIncomeContractServiceImpl extends ServiceImpl<PayIncomeContractM
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",payIncomeContractNew.getId());
|
||||
json.put("contractNum",payIncomeContractNew.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE2);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
});
|
||||
@@ -984,6 +985,7 @@ public class PayIncomeContractServiceImpl extends ServiceImpl<PayIncomeContractM
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",payIncomeContractStatus.getId());
|
||||
json.put("contractNum",payIncomeContractStatus.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE2);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
});
|
||||
@@ -1012,6 +1014,7 @@ public class PayIncomeContractServiceImpl extends ServiceImpl<PayIncomeContractM
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",payIncomeContractStatus.getId());
|
||||
json.put("contractNum",payIncomeContractStatus.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE2);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
}
|
||||
@@ -1080,7 +1083,7 @@ public class PayIncomeContractServiceImpl extends ServiceImpl<PayIncomeContractM
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",payIncomeContractStatus.getId());
|
||||
json.put("contractNum",payIncomeContractStatus.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE);
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE2);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
}
|
||||
|
||||
+5
-2
@@ -190,6 +190,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",paySpendingContract.getId());
|
||||
json.put("contractNum",paySpendingContract.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE1);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
});
|
||||
@@ -216,6 +217,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",paySpendingContract.getId());
|
||||
json.put("contractNum",paySpendingContract.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE1);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
}
|
||||
@@ -688,7 +690,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",paySpendingContractStatus.getId());
|
||||
json.put("contractNum",paySpendingContractStatus.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE);
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE1);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
});
|
||||
@@ -717,7 +719,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",paySpendingContractStatus.getId());
|
||||
json.put("contractNum",paySpendingContractStatus.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE);
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE1);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
}
|
||||
@@ -765,6 +767,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("revenueId",paySpendingContractStatus.getId());
|
||||
json.put("contractNum",paySpendingContractStatus.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE1);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
}
|
||||
|
||||
+8
-2
@@ -155,7 +155,10 @@ public class PayMailContractController extends JeroController<PayMailContract, I
|
||||
sendMessageDTO.setTemplateParam(map);
|
||||
sendMessageDTO.setBusType("M_OPEN_TYPE14");
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("id", payIncomeContract.getId());
|
||||
//json.put("id", payIncomeContract.getId());
|
||||
json.put("revenueId",payIncomeContract.getId());
|
||||
json.put("contractNum",payIncomeContract.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE2);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
|
||||
@@ -226,7 +229,10 @@ public class PayMailContractController extends JeroController<PayMailContract, I
|
||||
sendMessageDTO.setTemplateParam(map);
|
||||
sendMessageDTO.setBusType("M_OPEN_TYPE14");
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("id", payIncomeContract.getId());
|
||||
//json.put("id", payIncomeContract.getId());
|
||||
json.put("revenueId",payIncomeContract.getId());
|
||||
json.put("contractNum",payIncomeContract.getContractNum());
|
||||
json.put("contractType",PayIncomeContractCommon.CONTRACT_TYPE2);
|
||||
sendMessageDTO.setBusId(json.toJSONString());
|
||||
sendMessageService.SendMessageService(sendMessageDTO);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user