yun-zuoyi
gragon.xu 7 years ago
parent 9fea0afe19
commit 2b1bf288e1

@ -1,8 +1,6 @@
package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
@ -14,7 +12,7 @@ import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @Description :
* @Description :
* @Reference :
* @Author : dragon.xu
* @CreateDate : 2018-11-07 16:06
@ -65,7 +63,7 @@ public class WmsPart extends BaseBean {
@Column(name="ABC")
@ApiParam(value ="分类")
private String ABC;
private String abc;
@Column(name="BUY_UNIT")
@ApiParam(value ="采购单位")

@ -4,7 +4,7 @@ import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.wms.bean.WmsPart;
import org.springframework.stereotype.Repository;
/**
* @Description :
* @Description :Repository
* @Reference :
* @Author : dragon.xu
* @CreateDate : 2018-11-08 10:19

@ -15,9 +15,29 @@ import cn.estsh.i3plus.pojo.wms.bean.WmsTransType;
* @Modify:
**/
public class WmsHqlPack {
/**
*
*
* @param wmsPart
* @return
*/
public static String packHqlWmsPart(WmsPart wmsPart) {
StringBuffer result = new StringBuffer();
//库存地代码
HqlPack.getStringLikerPack(wmsPart.getPartNo(), "partNo", result);
//存储区代码
HqlPack.timeBuilder(wmsPart.getCreateDateTimeStart(), wmsPart.getCreateDateTimeEnd(), "createDateTime", result, true);
HqlPack.getStringLikerPack(wmsPart.getPartSpec(), "partSpec", result);
HqlPack.getStringLikerPack(wmsPart.getPartType(), "partType", result);
HqlPack.getStringLikerPack(wmsPart.getAbc(), "ABC", result);
HqlPack.getNumEqualPack(wmsPart.getIqc(), "iqc", result);
HqlPack.getStringLikerPack(wmsPart.getPartGroup(), "partGroup", result);
return result.toString();
}
/**
*
*
* @param wmsLocatePart
* @return
*/
@ -34,6 +54,7 @@ public class WmsHqlPack {
/**
*
*
* @param wmsLocate
* @return
*/
@ -52,6 +73,7 @@ public class WmsHqlPack {
/**
*
*
* @param wareHouse
* @return
*/
@ -81,6 +103,7 @@ public class WmsHqlPack {
/**
*
*
* @param wmsObject
* @return
*/
@ -101,6 +124,7 @@ public class WmsHqlPack {
/**
*
*
* @param wmsField
* @return
*/
@ -115,6 +139,7 @@ public class WmsHqlPack {
/**
*
*
* @param wmsTransType
* @return
*/
@ -131,6 +156,7 @@ public class WmsHqlPack {
/**
*
*
* @param wmsTrans
* @return
*/
@ -147,6 +173,7 @@ public class WmsHqlPack {
/**
*
*
* @param wareHouse
* @return
*/
@ -159,8 +186,10 @@ public class WmsHqlPack {
return result.toString();
}
/**
*
*
* @param wmsZones
* @return
*/
@ -177,6 +206,7 @@ public class WmsHqlPack {
/**
*
*
* @param basCustomer
* @return
*/
@ -193,6 +223,7 @@ public class WmsHqlPack {
/**
*
*
* @param wmsShippingFlag
* @return
*/

Loading…
Cancel
Save