VDA收货【生产快速入库】组件,任务编号1051

yun-zuoyi
曾贞一 6 years ago
parent 16bb46df55
commit 2b62357ab5

@ -3579,6 +3579,15 @@ public class WmsEnumUtil {
} }
return tmp; return tmp;
} }
public static PART_ASSOCIATE_TYPE codeOf(int value) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
return values()[i];
}
}
return null;
}
} }
/** /**
@ -3635,8 +3644,8 @@ public class WmsEnumUtil {
return tmp; return tmp;
} }
} }
/** /**
* *
*/ */

@ -162,6 +162,10 @@ public class WmsDocMovementMaster extends BaseBean {
@ApiParam("类型名称") @ApiParam("类型名称")
public String busiTypeName; public String busiTypeName;
@Transient
@ApiParam("物料编号")
public String partNo;
public int getOrderStatusVal() { public int getOrderStatusVal() {
return this.orderStatus == null ? 0 : this.orderStatus; return this.orderStatus == null ? 0 : this.orderStatus;
} }

@ -42,4 +42,9 @@ public class GenerateSnRule {
* *
*/ */
private Integer locateSource; private Integer locateSource;
/**
*
*/
private Integer isSn2d;
} }

@ -2376,9 +2376,9 @@ public class WmsHqlPack {
return result; return result;
} }
/** /**
* *
* *
@ -2388,24 +2388,44 @@ public class WmsHqlPack {
public static DdlPackBean packWmsRouting(WmsRouting wmsRouting) { public static DdlPackBean packWmsRouting(WmsRouting wmsRouting) {
DdlPackBean result = new DdlPackBean(); DdlPackBean result = new DdlPackBean();
DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingCode(), "routingCode", result); DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingCode(), "routingCode", result);
DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result); DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result);
getStringBuilderPack(wmsRouting, result); getStringBuilderPack(wmsRouting, result);
return result; return result;
} }
public static DdlPackBean packWmsRoutingRule(WmsRoutingRule wmsRoutingRule) { public static DdlPackBean packWmsRoutingRule(WmsRoutingRule wmsRoutingRule) {
DdlPackBean result = new DdlPackBean(); DdlPackBean result = new DdlPackBean();
DdlPreparedPack.getNumEqualPack(wmsRoutingRule.getRuleType(), "ruleType", result); DdlPreparedPack.getNumEqualPack(wmsRoutingRule.getRuleType(), "ruleType", result);
// DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result); // DdlPreparedPack.getStringEqualPack(wmsRouting.getRoutingName(), "routingName", result);
getStringBuilderPack(wmsRoutingRule, result); getStringBuilderPack(wmsRoutingRule, result);
return result; return result;
} }
/**
*
*
* @param wmsPartRelation
* @return
*/
public static DdlPackBean packHqlWmsPartRelation(WmsPartRelation wmsPartRelation) {
DdlPackBean result = new DdlPackBean();
DdlPreparedPack.getStringRightLikerPack(wmsPartRelation.getPartNo(), "partNo", result);
DdlPreparedPack.getStringLikerPack(wmsPartRelation.getPartName(), "partName", result);
DdlPreparedPack.getStringLikerPack(wmsPartRelation.getAssociateCode(), "associateCoded", result);
DdlPreparedPack.getStringLikerPack(wmsPartRelation.getAssociateNameAdd(), "associateNameAdd", result);
DdlPreparedPack.getNumEqualPack(wmsPartRelation.getAssociateType(), "associateType", result);
getStringBuilderPack(wmsPartRelation, result);
return result;
}
} }

Loading…
Cancel
Save