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

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

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

@ -15,9 +15,29 @@ import cn.estsh.i3plus.pojo.wms.bean.WmsTransType;
* @Modify: * @Modify:
**/ **/
public class WmsHqlPack { 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 * @param wmsLocatePart
* @return * @return
*/ */
@ -34,6 +54,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wmsLocate * @param wmsLocate
* @return * @return
*/ */
@ -52,6 +73,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wareHouse * @param wareHouse
* @return * @return
*/ */
@ -81,6 +103,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wmsObject * @param wmsObject
* @return * @return
*/ */
@ -101,6 +124,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wmsField * @param wmsField
* @return * @return
*/ */
@ -115,6 +139,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wmsTransType * @param wmsTransType
* @return * @return
*/ */
@ -131,6 +156,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wmsTrans * @param wmsTrans
* @return * @return
*/ */
@ -147,6 +173,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wareHouse * @param wareHouse
* @return * @return
*/ */
@ -159,8 +186,10 @@ public class WmsHqlPack {
return result.toString(); return result.toString();
} }
/** /**
* *
*
* @param wmsZones * @param wmsZones
* @return * @return
*/ */
@ -177,6 +206,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param basCustomer * @param basCustomer
* @return * @return
*/ */
@ -193,6 +223,7 @@ public class WmsHqlPack {
/** /**
* *
*
* @param wmsShippingFlag * @param wmsShippingFlag
* @return * @return
*/ */

Loading…
Cancel
Save