验证多步骤任务必须有标识卡才能提交
This commit is contained in:
lgh 2022-08-13 11:04:44 +08:00
parent ddf6078774
commit 1616215534

View File

@ -144,6 +144,9 @@ public class CurrTaskController extends BaseController {
@ApiOperation(value = "订单加工-创建多个个分步骤加工任务至任务队列")
public R<String> createAutoTask(@Validated @RequestBody AutoCurrTaskParam autoCurrTaskParam){
List<TaskCreateParam> detParams = autoCurrTaskParam.getTaskCreateParamList();
if (detParams.size()==0){
return failed("请添加至少一个标识卡!");
}
Boolean apmsCreateProcessSheet=false;
String sheetNo=null;
int i=1;