自动执法计划接口

This commit is contained in:
luolianxin 2025-06-13 17:38:17 +08:00
parent 6b67657f80
commit bcd4f41104
3 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,6 @@ public class AutoEnforcementPlanController {
return autoEnforcementPlanService.findAutoEnforcementPlanById(planId) return autoEnforcementPlanService.findAutoEnforcementPlanById(planId)
.map(e -> ((Result<AutoEnforcementPlan>) Ok.of(e))) .map(e -> ((Result<AutoEnforcementPlan>) Ok.of(e)))
.orElse(Fail.of("自动执法计划不存在")); .orElse(Fail.of("自动执法计划不存在"));
}
/** /**

View File

@ -32,6 +32,8 @@ public class AutoEnforcementPlan extends BaseModel {
@GeneratedValue(generator = Constants.Genernators.gen_ulid) @GeneratedValue(generator = Constants.Genernators.gen_ulid)
@Comment("唯一IDULID") @Comment("唯一IDULID")
private String planId; private String planId;
/** /**
* 任务名称 * 任务名称
*/ */

View File

@ -40,7 +40,6 @@ public class AutoEnforcementPlanService {
this.enterpriseRepo = enterpriseRepo; this.enterpriseRepo = enterpriseRepo;
this.enforcementInfoService = enforcementInfoService; this.enforcementInfoService = enforcementInfoService;
} }
/** /**
* 保存自动执法计划 * 保存自动执法计划
* *