소스 검색

生成代办增加跳转参数

xuefy 4 년 전
부모
커밋
ad2e736dc5

+ 0 - 2
sc-service/src/main/java/com/huyi/service/credit/controller/OwnCreditController.java

@@ -7,7 +7,6 @@ import com.huyi.service.base.service.*;
 import com.huyi.service.common.financeLog.FinanceLog;
 import com.huyi.service.common.flowable.service.ApprovalService;
 import com.huyi.service.credit.service.OwnCreditService;
-import com.huyi.service.util.FlowableService;
 import com.keao.tianhu.starter.mybatis.plus.entity.QueryRequest;
 import com.tianhu.common.core.domain.R;
 import com.tianhu.common.core.utils.AmtUtil;
@@ -567,7 +566,6 @@ public class OwnCreditController extends BaseController {
         }
         //修改数据
         financeInfService.updateById(inf);
-        LambdaQueryWrapper<ZcFinanceInf> lambdaQueryWrapper = new LambdaQueryWrapper<>();
         ZcFinanceInf financeInf = financeInfService.getById(id);
         //核心开立
         if("1".equals(zfiCreateType)){

+ 6 - 6
sc-service/src/main/java/com/huyi/service/credit/controller/OwnMessageController.java

@@ -695,7 +695,7 @@ public class OwnMessageController extends BaseController {
                 financeInfService.updateById(finance);
                 //给融资企业经办人添加一条签收待办
                 String title = "【融资签收】您提交于"+openName+"的【"+zfiNumber+"】,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+"),融信待签收";
-                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","04","0",supplierHandler,"", null, null);
+                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","04","0",supplierHandler,"", "01", "/credit/signFor/"+zfiId);
 
                 /**融信操作日志*/
                 financeLog.addFinanceLog(zfiId, "融信开立【完成】,由《"+openName+"》提交于《"+receiverName+"》补全资料", tokenService.getLoginUser().getSysUser().getUserId(), FinanceLog.STATUS_ZERO);
@@ -715,7 +715,7 @@ public class OwnMessageController extends BaseController {
                 financeInfService.updateById(finance);
                 // 融资企业经办人生成一条去融资待办
                 String title = "【融资待办】"+openName+"签发的融信【"+zfiNumber+"】已生效,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+")";
-                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","05","0",supplierHandler,"", null, null);
+                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","05","0",supplierHandler,"", "01", "/credit/goFinance/"+zfiId);
                 // 核心企业经办人生成一条已生效消息
                 String  titleName = "【融信生效】您提交于"+receiverName+"的融信【"+zfiNumber+"】,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+")承诺还款日期:"+expireDateA+"融信已生效";
                 remoteSystemService.sendNotice(zfiCoreId,zfiId,titleName,"01","04","","0",coreHandler,"", null, null);
@@ -748,7 +748,7 @@ public class OwnMessageController extends BaseController {
                 }
                 //给融资企业经办人生成签收待办
                 String title = "【融资签收】您提交于"+openName+"的【"+zfiNumber+"】,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+"),融信待签收";
-                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","04","0",supplierHandler,"", null, null);
+                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","04","0",supplierHandler,"", "01", "/credit/signFor/"+zfiId);
 
                 /**融信操作日志*/
                 financeLog.addFinanceLog(zfiId, "融信确权【通过】,融信提交于《"+receiverName+"》签收", user.getUserId(), FinanceLog.STATUS_TWO);
@@ -770,7 +770,7 @@ public class OwnMessageController extends BaseController {
                 financeInfService.updateById(finance);
                 //给融资企业生成去融资待办
                 String title = "【融资待办】"+openName+"签发的融信【"+zfiNumber+"】已生效,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+")";
-                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","05","0",supplierHandler,"", null, null);
+                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","05","0",supplierHandler,"","01", "/credit/goFinance/"+zfiId);
 
                 /**融信操作日志*/
                 financeLog.addFinanceLog(zfiId, "融信签收【已签收】,融信生效", tokenService.getLoginUser().getSysUser().getUserId(), FinanceLog.STATUS_THREE);
@@ -796,7 +796,7 @@ public class OwnMessageController extends BaseController {
                 financeInfService.updateById(finance);
                 //给融资企业经办人生成一条去融资待办
                 String title = "【融资待办】"+openName+"签发的融信【"+zfiNumber+"】已生效,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+")";
-                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","05","0",supplierHandler,"", null, null);
+                remoteSystemService.sendNotice(zfiSupplierId,zfiId,title,"00","","05","0",supplierHandler,"", "01", "/credit/goFinance/"+zfiId);
                 //给融资企业经办人生成一条生效消息
                 String  titleName = "【融信生效】您提交于"+openName+"的融信【"+zfiNumber+"】,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+")承诺还款日期:"+expireDateA+"融信已生效";
                 remoteSystemService.sendNotice(zfiSupplierId,zfiId,titleName,"01","04","","0",supplierHandler,"", null, null);
@@ -817,7 +817,7 @@ public class OwnMessageController extends BaseController {
                 financeInfService.updateById(finance);
                 //给核心企业经办人生成一条确权待办
                 String  title = "【融信待确权】由"+receiverName+"提交的融信【"+zfiNumber+"】,融信金额【"+AmtUtil.moneyFormat(zfiAmount)+"】,(大写:"+zfiAmountBig+"),融信待确权";
-                remoteSystemService.sendNotice(zfiCoreId,zfiId,title,"00","","02","0",coreHandler,"", null, null);
+                remoteSystemService.sendNotice(zfiCoreId,zfiId,title,"00","","02","0",coreHandler,"", "01", "/credit/confirmationAudit/"+zfiId);
             }
 
         }