手持机
This commit is contained in:
@@ -136,8 +136,8 @@ public class ToWmsServiceImpl implements IToWmsService {
|
||||
|
||||
BasProduct basProduct = basProducts.get(0);
|
||||
|
||||
//todo 根据包装方式 主要包装方式 描述 长 宽 高 包装材积
|
||||
int size = getSize(basProduct);
|
||||
|
||||
int size = Convert.toInt(basProduct.getSpare10());
|
||||
|
||||
//超大托盘不处理 直接返回
|
||||
if (size == 5) {
|
||||
@@ -284,16 +284,7 @@ public class ToWmsServiceImpl implements IToWmsService {
|
||||
/**
|
||||
* 根据包装方式 主要包装方式 描述 长 宽 高 包装材积获取大小
|
||||
*/
|
||||
private int getSize(BasProduct basProduct) {
|
||||
String remark = basProduct.getRemark();
|
||||
String packageType = basProduct.getSpare34();
|
||||
String mainPackageType = basProduct.getSpare35();
|
||||
String length = basProduct.getSpare36();
|
||||
String width = basProduct.getSpare37();
|
||||
String height = basProduct.getSpare38();
|
||||
String volume = basProduct.getSpare39();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public AjaxResult selectMydoJobByEntranceId(RequestEnter requestEnter) {
|
||||
@@ -311,7 +302,7 @@ public class ToWmsServiceImpl implements IToWmsService {
|
||||
String productId = mydoJobDetail.getProductId();
|
||||
BasProduct basProduct = basProductService.selectBasProductByProductId(productId);
|
||||
|
||||
int size = getSize(basProduct);
|
||||
int size = Convert.toInt(basProduct.getSpare10());
|
||||
//超大托盘不处理 直接返回
|
||||
if (size == 5) {
|
||||
return new AjaxResult(3, "超大托盘");
|
||||
@@ -475,7 +466,7 @@ public class ToWmsServiceImpl implements IToWmsService {
|
||||
BasProduct basProduct = basProducts.get(0);
|
||||
|
||||
//根据包装方式 主要包装方式 描述 长 宽 高 包装材积
|
||||
int size = getSize(basProduct);
|
||||
int size = Convert.toInt(basProduct.getSpare10());
|
||||
|
||||
//超大托盘不处理 直接返回
|
||||
if (size == 5) {
|
||||
|
||||
Reference in New Issue
Block a user