|
|
@@ -334,6 +334,9 @@ public class QwSopTempController extends BaseController
|
|
|
@Log(title = "SOP模板天数调整", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/sortDay")
|
|
|
public AjaxResult sortDay(@RequestBody List<SortDayVo> list){
|
|
|
+ if (list == null || list.isEmpty()){
|
|
|
+ return AjaxResult.error("请先调整排序");
|
|
|
+ }
|
|
|
qwSopTempService.sortDay(list);
|
|
|
return toAjax(1);
|
|
|
}
|