fix:出库任务被占用,提示优化
This commit is contained in:
@@ -3113,7 +3113,8 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
||||
+ "' and row_num = '" + jsonRow.getString("row_num") + "' and is_used = '1' and is_delete = '0' and lock_type not in ('1','6','3')").getResultJSONArray(0);
|
||||
|
||||
if (ObjectUtil.isNotEmpty(structArr)) {
|
||||
throw new BadRequestException("有其他任务正在执行中,请稍后在试!");
|
||||
JSONObject jsonObject = structArr.getJSONObject(0);
|
||||
throw new BadRequestException("当前排存在单据号为【"+jsonObject.getString("inv_code")+"】的仓位【"+jsonObject.getString("struct_code")+"】正在执行任务,请稍后在试!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user