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