Преглед на файлове

出账接口增加保险代理人参数

yanliming преди 5 години
родител
ревизия
380d66f739
променени са 1 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 4 2
      picc-admin-server/src/main/java/com/jpsoft/picc/modules/business/controller/InsurancePolicyController.java

+ 4 - 2
picc-admin-server/src/main/java/com/jpsoft/picc/modules/business/controller/InsurancePolicyController.java

@@ -531,11 +531,12 @@ public class InsurancePolicyController {
             @ApiImplicitParam(name="issuingBank",value = "出账银行",required = true,paramType = "query"),
             @ApiImplicitParam(name="singlNumber",value = "单号",required = true,paramType = "query"),
             @ApiImplicitParam(name="processStatus",value = "流程审核状态(正常/回退)",required = true,paramType = "query"),
-            @ApiImplicitParam(name="opinion",value = "意见",required = true,paramType = "query")
+            @ApiImplicitParam(name="opinion",value = "意见",required = true,paramType = "query"),
+            @ApiImplicitParam(name="agentId",value = "保险代理人ID",required = true,paramType = "query")
     })
     public MessageResult<Integer> transfer(String applicationId,String policyId,
                                            String accountBank,String issuingBank,String singlNumber,
-                                           String processStatus,String opinion, @RequestAttribute String subject){
+                                           String processStatus,String opinion,String agentId, @RequestAttribute String subject){
 
         //当前用户ID
         System.out.println(subject);
@@ -559,6 +560,7 @@ public class InsurancePolicyController {
         item.setIssuingBank(issuingBank);
         item.setSinglNumber(singlNumber);
         item.setTransferTime(new Date());
+        item.setAgentId(policyId);
 
         int affectCount = insurancePolicyService.update(item);