Selaa lähdekoodia

交易记录添加权限

hym 3 vuotta sitten
vanhempi
commit
6f94d87751

+ 2 - 1
zoniot-pay/zoniot-pay-web/src/main/java/com/zcxk/rmcp/pay/controller/pay/PayControlRuleController.java

@@ -87,9 +87,10 @@ public class PayControlRuleController {
     @ApiOperation(value = "查询阀控规则",notes = "查询阀控规则")
     public AjaxMessage<List<PayControlRule>> findList(
             @ApiParam(value = "阀控规则名称",required = false) @RequestBody(required = false) String name
+            ,@ApiParam(value = "机构id", required = false) @RequestParam(required = false) Integer companyId
     ){
         try {
-                List<PayControlRule> payControlRules = payControlRuleService.findList(name);
+                List<PayControlRule> payControlRules = payControlRuleService.findList(name,companyId);
                 return new AjaxMessage<>(ResultStatus.OK,payControlRules);
         }
         catch (Exception ex){