fix:十二分制-奖惩规则

This commit is contained in:
wangff
2025-11-05 15:40:31 +08:00
parent 75a0ad4676
commit 85a411bc9a
13 changed files with 28 additions and 10 deletions

View File

@@ -58,6 +58,7 @@ public class TpRuleController {
@ApiOperation("惩处规则分页查询")
@GetMapping("/penaltyPage")
public ResponseResult<PageInfo<TpPenaltyRuleListVO>> penaltyRulePage(TpRuleQueryRequest request) {
request.setType(0);
return ResponseResult.success(tpRuleService.penaltyRulePage(request));
}
@@ -83,6 +84,7 @@ public class TpRuleController {
@ApiOperation("加分规则分页查询")
@GetMapping("/rewardPage")
public ResponseResult<PageInfo<TpRewardRuleDetailVO>> rewardRulePage(TpRuleQueryRequest request) {
request.setType(1);
return ResponseResult.success(tpRuleService.rewardRulePage(request));
}