Browse Source

新车规则添加功能修复

wanghao 1 month ago
parent
commit
b17848ae7e

+ 1 - 0
tenant/organization/src/main/java/com/jzg/organization/controller/NewCarJudgeRulesController.java

@@ -59,6 +59,7 @@ public class NewCarJudgeRulesController extends BaseController {
     @Operation(summary = "添加新旧车规则")
     @PostMapping("addNewCar")
     public HttpResult addNewCar(@RequestBody PtlNewCarJudgeRules newCarJudgeRules){
+        newCarJudgeRules.setSystemCode(getUserSystemCode());
         return newCarJudgeRulesService.addNewCar(newCarJudgeRules) ? HttpResult.ok("添加新旧车规则成功") : HttpResult.error("添加新旧车规则失败");
     }