|
|
@@ -574,8 +574,8 @@ public class MESDataServiceImpl implements MESDataService {
|
|
|
if(!StringUtil.hasText(map.get("type"))){
|
|
|
return "传参异常,类型【type】不能为空!";
|
|
|
}
|
|
|
- if(!"彩盒".equals(map.get("type").toString()) && !"外箱".equals(map.get("type").toString()) ){
|
|
|
- return "传参异常,类型:"+map.get("type")+",只能是彩盒或者外箱!";
|
|
|
+ if(!"彩盒".equals(map.get("type").toString()) && !"外箱".equals(map.get("type").toString()) && !"中箱".equals(map.get("type").toString()) ){
|
|
|
+ return "传参异常,类型:"+map.get("type")+",只能是彩盒或中箱或外箱!";
|
|
|
}
|
|
|
if(!StringUtil.hasText(map.get("detail"))){
|
|
|
return "传参异常,需装栈板明细【detail】不能为空!";
|