自动执法计划接口
This commit is contained in:
parent
6b67657f80
commit
bcd4f41104
|
|
@ -51,7 +51,6 @@ public class AutoEnforcementPlanController {
|
|||
return autoEnforcementPlanService.findAutoEnforcementPlanById(planId)
|
||||
.map(e -> ((Result<AutoEnforcementPlan>) Ok.of(e)))
|
||||
.orElse(Fail.of("自动执法计划不存在"));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ public class AutoEnforcementPlan extends BaseModel {
|
|||
@GeneratedValue(generator = Constants.Genernators.gen_ulid)
|
||||
@Comment("唯一ID(ULID)")
|
||||
private String planId;
|
||||
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ public class AutoEnforcementPlanService {
|
|||
this.enterpriseRepo = enterpriseRepo;
|
||||
this.enforcementInfoService = enforcementInfoService;
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存自动执法计划
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue