|
@@ -45,7 +45,7 @@ public class MaintenanceOptionController {
|
|
|
.in("mt_company_id", 10086L, req.getMtCompanyId())
|
|
|
.in(req.getType() != null, "type", type(req))
|
|
|
.eq(req.getLiftCategory() != null, "lift_category", req.getLiftCategory())
|
|
|
- .eq( "status",2)
|
|
|
+ .eq("status", 2)
|
|
|
.orderByAsc("id"));
|
|
|
if (page.getRecords().isEmpty()) {
|
|
|
return RestResponse.success();
|
|
@@ -95,6 +95,8 @@ public class MaintenanceOptionController {
|
|
|
if (option.getLiftCategory() == 3) {
|
|
|
option.setSort(-1);
|
|
|
}
|
|
|
+ //当前维保项版本是2
|
|
|
+ option.setStatus(2);
|
|
|
return RestResponse.success(optionService.save(option));
|
|
|
}
|
|
|
|