|
@@ -141,12 +141,12 @@ public class FlowableController extends BaseController
|
|
|
//发送盖章待办
|
|
|
remoteSystemService.sendNotice(zfiCoreId, id,
|
|
|
"核心企业开立审批融信编号为" + zfiNumber + "的资料待盖章,审批发起人为" + userName,
|
|
|
- "00",null,"03","0", use.toString(),null);
|
|
|
+ "00",null,"03","0", use.toString(),null, null, null);
|
|
|
//向发起人发起最终结果
|
|
|
//发送人
|
|
|
remoteSystemService.sendNotice(zfiCoreId, id,
|
|
|
"核心企业开立融信编号为" + zfiNumber + "的资料审批已通过",
|
|
|
- "01","01",null,"0", userId.toString(), null);
|
|
|
+ "01","01",null,"0", userId.toString(), null, null, null);
|
|
|
//核心企业确权审批
|
|
|
}else if("1000000007".equals(menuId)){
|
|
|
//融信主键
|
|
@@ -173,7 +173,7 @@ public class FlowableController extends BaseController
|
|
|
Long use = list.get(0).getSucrUserId();
|
|
|
remoteSystemService.sendNotice(zfiCoreId, id,
|
|
|
"确权审批融信编号为" + zfiNumber + "的资料待盖章,审批发起人为" + userName,
|
|
|
- "00",null,"03","0", use.toString(),null);
|
|
|
+ "00",null,"03","0", use.toString(),null, null, null);
|
|
|
}
|
|
|
//融资企业融信申请审批通过
|
|
|
else if("1000000002".equals(menuId)){
|
|
@@ -201,7 +201,7 @@ public class FlowableController extends BaseController
|
|
|
String userName = sysUser.getNickName();
|
|
|
//TODO 发起人最终结果【通过】消息通知
|
|
|
String title = "【审批通过】由"+ userName +"于"+ createTime +"发起的:融信"+ number +"资料审核已通过,请进行下一步业务操作;";
|
|
|
- remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"", null, null);
|
|
|
//调用平台审批接口
|
|
|
Map map = new HashMap();
|
|
|
//实体类转map
|
|
@@ -270,7 +270,7 @@ public class FlowableController extends BaseController
|
|
|
user = list.get(0).getSucrUserId();
|
|
|
}
|
|
|
String title = "【合同签署】由【" + companyName +"】发起的融信【" + zfiNumber + "】资料待签署合同";
|
|
|
- remoteSystemService.sendNotice(company,zfiId,title,"00","","03","1",user.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(company,zfiId,title,"00","","03","1",user.toString(),"", null, null);
|
|
|
}
|
|
|
//TODO 发起人最终结果【通过】消息通知
|
|
|
//查询发起人,融资企业Id
|
|
@@ -287,7 +287,7 @@ public class FlowableController extends BaseController
|
|
|
SysUser sysUser = sysUserService.getById(user);
|
|
|
String userName = sysUser.getNickName();
|
|
|
String title = "【审批通过】由"+ userName +"于"+ createTime +"发起的:融信"+ number +"资料审核已通过,请进行下一步业务操作;";
|
|
|
- remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"", null, null);
|
|
|
}//融资企业补充资料审批通过
|
|
|
else if("1000000003".equals(menuId)){
|
|
|
LambdaQueryWrapper<ZcFinanceInf> wrapper = new LambdaQueryWrapper<>();
|
|
@@ -353,7 +353,7 @@ public class FlowableController extends BaseController
|
|
|
String supplierName = supplierCompany.getScyName();
|
|
|
//标题
|
|
|
String title = "【合同签署】由【"+supplierName+"】发起的融信【"+zfiNumber+"】资料待签署合同";
|
|
|
- remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"00","","03","0",supplierUserId.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"00","","03","0",supplierUserId.toString(),"", null, null);
|
|
|
|
|
|
}
|
|
|
} //平台审批通过
|
|
@@ -417,7 +417,7 @@ public class FlowableController extends BaseController
|
|
|
else if ("2".equals(zfiCreateType)){
|
|
|
//标题
|
|
|
String title = "【合同签署】由【"+supplierName+"】发起的融信【"+zfiNumber+"】资料待签署合同";
|
|
|
- remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"00","","03","0",supplierUserId.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"00","","03","0",supplierUserId.toString(),"", null, null);
|
|
|
}
|
|
|
//更新融信表状态
|
|
|
wrapper.eq(ZcFinanceInf::getZfiId,zfiId);
|
|
@@ -425,7 +425,7 @@ public class FlowableController extends BaseController
|
|
|
// TODO 不管什么类型都给 融资企业经办人 最终结果【通过】消息通知
|
|
|
//标题
|
|
|
String title = "【审批通过】您提交于【"+coreName +"】的融信【"+zfiNumber+"】已审批通过,请进行下一步业务操作";
|
|
|
- remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"01","02","","0",supplierUserId.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"01","02","","0",supplierUserId.toString(),"", null, null);
|
|
|
if ("2".equals(zfiCreateType)){
|
|
|
Map map = new HashMap();
|
|
|
if (inf != null) {
|
|
@@ -455,7 +455,7 @@ public class FlowableController extends BaseController
|
|
|
zcFinanceInfService.update(zcfInf,lambdaQueryWrapper);
|
|
|
//待办标题
|
|
|
String tittle = "【融资企业签收】由【"+sysCompany.getScyName() +"】发起的融信编号为【"+ id+"】的资料待签署";
|
|
|
- remoteSystemService.sendNotice(companyId,id,tittle,"00","","03","0",userId,"");
|
|
|
+ remoteSystemService.sendNotice(companyId,id,tittle,"00","","03","0",userId,"", null, null);
|
|
|
//TODo 给融资企业生成盖章待办
|
|
|
}
|
|
|
//融资审批通过
|
|
@@ -560,10 +560,10 @@ public class FlowableController extends BaseController
|
|
|
SysUser sysUser = sysUserService.getById(user);
|
|
|
String userName = sysUser.getNickName();
|
|
|
String title = "【审批拒绝】由"+ userName +"于"+ createTime +"发起的:融信"+ number +"审批被拒绝,拒绝的理由为:"+ reason;
|
|
|
- remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"", null, null);
|
|
|
//TODO 发起人生成待办
|
|
|
title = "【内部审批】融信【"+number+"】资料待审批,审批发起人【" + userName +"】";
|
|
|
- remoteSystemService.sendNotice(company,zfiId,title,"00","","01","0",user.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(company,zfiId,title,"00","","01","0",user.toString(),"", null, null);
|
|
|
}//融资企业融信开立拒绝
|
|
|
else if("1000000001".equals(menuId)){
|
|
|
LambdaQueryWrapper<ZcFinanceInf> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
@@ -599,7 +599,7 @@ public class FlowableController extends BaseController
|
|
|
List list = new ArrayList();
|
|
|
list.add(user);
|
|
|
String title = "【审批拒绝】由"+ userName +"于"+ createTime +"发起的:融信"+ number +"审批被拒绝,拒绝的理由为:"+reason;
|
|
|
- remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(company,zfiId,title,"01","01","","0",user.toString(),"", null, null);
|
|
|
}//融资企业补充资料审批拒绝
|
|
|
else if("1000000003".equals(menuId)){
|
|
|
LambdaQueryWrapper<ZcFinanceInf> wrapper = new LambdaQueryWrapper<>();
|
|
@@ -662,7 +662,7 @@ public class FlowableController extends BaseController
|
|
|
String coreName = coreCompany.getScyName();
|
|
|
//标题
|
|
|
String title = "【审批拒绝】您提交于【"+coreName +"】的融信【"+zfiNumber+"】审批被拒绝,拒绝的理由为:【审批意见】";
|
|
|
- remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"01","02","","0",supplierUserId.toString(),"");
|
|
|
+ remoteSystemService.sendNotice(zfiSupplierId, zfiId,title,"01","02","","0",supplierUserId.toString(),"", null, null);
|
|
|
}//融资企业签收审批拒绝
|
|
|
else if("1000000005".equals(menuId)){
|
|
|
LambdaQueryWrapper<SysUserCompanyRel> userQueryWrapper = new LambdaQueryWrapper<>();
|
|
@@ -680,7 +680,7 @@ public class FlowableController extends BaseController
|
|
|
zcFinanceInfService.update(zcFinanceInf,lambdaQueryWrapper);
|
|
|
//待办标题
|
|
|
String tittle = "融资企业签收由"+sysCompany.getScyName() +"发起的:融信编号为:"+ id+"的资料代签收";
|
|
|
- remoteSystemService.sendNotice(companyId,id,tittle,"00",null,"03","0",userId,null);
|
|
|
+ remoteSystemService.sendNotice(companyId,id,tittle,"00",null,"03","0",userId,null, null, null);
|
|
|
//TODO 给融资企业经办人签收待办
|
|
|
}//融资审批
|
|
|
else if("1000000006".equals(menuId)){
|