|
|
@ -245,14 +245,13 @@ public class FinPaymentrecordService extends MybatisBaseService<FinPaymentrecord |
|
|
|
//给外采或排产申请人系统消息提醒
|
|
|
|
AppScmMessageFlowableQuery query = new AppScmMessageFlowableQuery(); |
|
|
|
ArrayList<String> recipientSidList = new ArrayList<>(); |
|
|
|
String remarks = finPaymentrecord.getRemarks(); |
|
|
|
remarks = remarks.substring(0, 2); |
|
|
|
if ("外采".equals(remarks)){ |
|
|
|
String costTypeKey = finPaymentrecord.getCostTypeKey(); |
|
|
|
if ("002".equals(costTypeKey)){ |
|
|
|
BaseOutsourcingApplicationDetailsVo baseOutsourcingApplicationDetailsVo = baseOutsourcingApplicationFeign.fetchBySid(finPaymentrecord.getApplySid()).getData(); |
|
|
|
String createBySid = baseOutsourcingApplicationDetailsVo.getCreateBySid(); |
|
|
|
recipientSidList.add(createBySid); |
|
|
|
Map<String, Object> appMap = new HashMap<>(); |
|
|
|
appMap.put("sid", ""); |
|
|
|
appMap.put("sid", finPaymentrecord.getSid()); |
|
|
|
query.setRecipientSidList(recipientSidList); |
|
|
|
query.setAppMap(appMap); |
|
|
|
query.setMsgTitle("付款确认通知"); |
|
|
@ -263,12 +262,12 @@ public class FinPaymentrecordService extends MybatisBaseService<FinPaymentrecord |
|
|
|
query.setModuleSid("98ff0724-5df4-4fc7-ab6d-3996e7706acd"); |
|
|
|
query.setName("财务管理"); |
|
|
|
messageFeign.sendMessage(query); |
|
|
|
}else if ("排产".equals(remarks)){ |
|
|
|
}else if ("005".equals(costTypeKey)){ |
|
|
|
BusVehicleApplyDetailsVo busVehicleApplyDetailsVo = busVehicleApplyFeign.fetchSid(finPaymentrecord.getApplySid()).getData(); |
|
|
|
String createBySid = busVehicleApplyDetailsVo.getCreateBySid(); |
|
|
|
recipientSidList.add(createBySid); |
|
|
|
Map<String, Object> appMap = new HashMap<>(); |
|
|
|
appMap.put("sid", ""); |
|
|
|
appMap.put("sid", finPaymentrecord.getSid()); |
|
|
|
query.setRecipientSidList(recipientSidList); |
|
|
|
query.setAppMap(appMap); |
|
|
|
query.setMsgTitle("付款确认通知"); |
|
|
|