|
|
@ -23,12 +23,6 @@ import java.util.regex.Pattern; |
|
|
|
*/ |
|
|
|
public class TaskUtils { |
|
|
|
|
|
|
|
public static void isEmptyPoint(JSONObject point) { |
|
|
|
if (PointStatus.NOT_EMPTY.value().equals(point.getString("point_status"))) { |
|
|
|
throw new BadRequestException("[" + point.getString("point_code") + "] 上有货!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static void isNotEmptyPoint(JSONObject point) { |
|
|
|
if (PointStatus.EMPTY.value().equals(point.getString("point_status"))) { |
|
|
|
throw new BadRequestException("[" + point.getString("point_code") + "] 上无货!"); |
|
|
@ -243,7 +237,7 @@ public class TaskUtils { |
|
|
|
static String[] month = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "N", "D"}; |
|
|
|
|
|
|
|
/** |
|
|
|
* 生成喷码内容。 |
|
|
|
* 生成喷码内容,祥见 SVN 项目文档信息。 |
|
|
|
* |
|
|
|
* @param vd 组盘对象 |
|
|
|
* @param yjCode 压机编码 |
|
|
|