|
@@ -927,6 +927,12 @@ public class FlowableController extends BaseController
|
|
|
userQueryWrapper.eq(SysUserCompanyRel::getSucrHandler,"1");
|
|
userQueryWrapper.eq(SysUserCompanyRel::getSucrHandler,"1");
|
|
|
List<SysUserCompanyRel> userList = iSysUserCompanyRelService.findSysUserCompanyRels(userQueryWrapper);
|
|
List<SysUserCompanyRel> userList = iSysUserCompanyRelService.findSysUserCompanyRels(userQueryWrapper);
|
|
|
String userId= String.valueOf(userList.get(0).getSucrUserId());
|
|
String userId= String.valueOf(userList.get(0).getSucrUserId());
|
|
|
|
|
+ //融信id查询融信创建(0:供应商申请, 1:核心企业开立, 2:供应商开立)
|
|
|
|
|
+ ZcFinanceInf inf = zcFinanceInfService.getById(id);
|
|
|
|
|
+ //融信编号
|
|
|
|
|
+ String zfiNumber = inf.getZfiNumber();
|
|
|
|
|
+ //融信创建(0:供应商申请, 1:核心企业开立, 2:供应商开立)
|
|
|
|
|
+ String zfiCreateType = inf.getZfiCreateType();
|
|
|
//查询企业名称
|
|
//查询企业名称
|
|
|
SysCompany sysCompany = sysCompanyService.getById(companyId);
|
|
SysCompany sysCompany = sysCompanyService.getById(companyId);
|
|
|
LambdaQueryWrapper<ZcFinanceInf> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<ZcFinanceInf> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
@@ -949,8 +955,16 @@ public class FlowableController extends BaseController
|
|
|
notice.setStatus("1");
|
|
notice.setStatus("1");
|
|
|
sysNoticeService.update(notice,noticeLambdaQueryWrapper);
|
|
sysNoticeService.update(notice,noticeLambdaQueryWrapper);
|
|
|
//待办标题
|
|
//待办标题
|
|
|
- String tittle = "融资企业签收由"+sysCompany.getScyName() +"发起的:融信编号为:"+ id+"的资料代签收";
|
|
|
|
|
- remoteSystemService.sendNotice(companyId,id,tittle,"00",null,"03","0",userId,null, null, null);
|
|
|
|
|
|
|
+ if("0".equals(zfiCreateType)) {
|
|
|
|
|
+ String tittle = "融资企业签收由" + sysCompany.getScyName() + "发起的:融信编号为:" + zfiNumber + "的资料代签收";
|
|
|
|
|
+ remoteSystemService.sendNotice(companyId, id, tittle, "00", null, "03", "0", userId, null, "01", "/credit/applyCreditEdit/"+id);
|
|
|
|
|
+ }else if("1".equals(zfiCreateType)) {
|
|
|
|
|
+ String tittle = "融资企业签收由" + sysCompany.getScyName() + "发起的:融信编号为:" + zfiNumber + "的资料代签收";
|
|
|
|
|
+ remoteSystemService.sendNotice(companyId, id, tittle, "00", null, "03", "0", userId, null, "01", "/credit/creditUpdate/"+id);
|
|
|
|
|
+ }else if("2".equals(zfiCreateType)){
|
|
|
|
|
+ String tittle = "融资企业签收由" + sysCompany.getScyName() + "发起的:融信编号为:" + zfiNumber + "的资料代签收";
|
|
|
|
|
+ remoteSystemService.sendNotice(companyId, id, tittle, "00", null, "03", "0", userId, null, "01", "/credit/financeOpenUpdate/"+id);
|
|
|
|
|
+ }
|
|
|
//TODO 给融资企业经办人签收待办
|
|
//TODO 给融资企业经办人签收待办
|
|
|
}//融资审批
|
|
}//融资审批
|
|
|
else if("1000000006".equals(menuId)){
|
|
else if("1000000006".equals(menuId)){
|