成品入库

master
陈恒杰 1 year ago
parent 3bd96dea12
commit db09747042

@ -97,8 +97,8 @@ public class WmsProductPut extends BaseEntity {
private String batchNumber; private String batchNumber;
/** 预留字段2 */ /** 预留字段2 */
@Excel(name = "预留字段2") @Excel(name = "生产日期")
private String attr2; private String productDate;
/** 预留字段3 */ /** 预留字段3 */
@Excel(name = "预留字段3") @Excel(name = "预留字段3")
@ -272,13 +272,16 @@ public class WmsProductPut extends BaseEntity {
public String getBatchNumber() { public String getBatchNumber() {
return batchNumber; return batchNumber;
} }
public void setAttr2(String attr2) {
this.attr2 = attr2;
public String getProductDate() {
return productDate;
} }
public String getAttr2() { public void setProductDate(String productDate) {
return attr2; this.productDate = productDate;
} }
public void setAttr3(String attr3) { public void setAttr3(String attr3) {
this.attr3 = attr3; this.attr3 = attr3;
} }
@ -338,40 +341,36 @@ public class WmsProductPut extends BaseEntity {
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return "WmsProductPut{" +
.append("id", getId()) "id='" + id + '\'' +
.append("workOrder", getWorkOrder()) ", workOrder='" + workOrder + '\'' +
.append("factoryCode", getFactoryCode()) ", factoryCode='" + factoryCode + '\'' +
.append("productOrder", getProductOrder()) ", productOrder='" + productOrder + '\'' +
.append("whCode", getWhCode()) ", whCode='" + whCode + '\'' +
.append("waCode", getWaCode()) ", waCode='" + waCode + '\'' +
.append("wlCode", getWlCode()) ", wlCode='" + wlCode + '\'' +
.append("productName", getProductName()) ", productName='" + productName + '\'' +
.append("productCode", getProductCode()) ", productCode='" + productCode + '\'' +
.append("productSort", getProductSort()) ", productSort='" + productSort + '\'' +
.append("specification", getSpecification()) ", specification='" + specification + '\'' +
.append("unitOfMeasure", getUnitOfMeasure()) ", unitOfMeasure='" + unitOfMeasure + '\'' +
.append("planQuantity", getPlanQuantity()) ", planQuantity=" + planQuantity +
.append("putQuantity", getPutQuantity()) ", putQuantity=" + putQuantity +
.append("status", getStatus()) ", status='" + status + '\'' +
.append("sapStatus", getSapStatus()) ", sapStatus='" + sapStatus + '\'' +
.append("sapProof", getSapProof()) ", sapProof='" + sapProof + '\'' +
.append("sapMessage", getSapMessage()) ", sapMessage='" + sapMessage + '\'' +
.append("putDate", getPutDate()) ", putDate=" + putDate +
.append("batchNumber", getBatchNumber()) ", batchNumber='" + batchNumber + '\'' +
.append("attr2", getAttr2()) ", product_date='" + productDate + '\'' +
.append("attr3", getAttr3()) ", attr3='" + attr3 + '\'' +
.append("attr4", getAttr4()) ", attr4='" + attr4 + '\'' +
.append("attr5", getAttr5()) ", attr5='" + attr5 + '\'' +
.append("attr6", getAttr6()) ", attr6='" + attr6 + '\'' +
.append("attr7", getAttr7()) ", attr7='" + attr7 + '\'' +
.append("attr8", getAttr8()) ", attr8='" + attr8 + '\'' +
.append("attr9", getAttr9()) ", attr9='" + attr9 + '\'' +
.append("attr10", getAttr10()) ", attr10='" + attr10 + '\'' +
.append("createBy", getCreateBy()) '}';
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
} }
} }

@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="sapMessage" column="SAP_message" /> <result property="sapMessage" column="SAP_message" />
<result property="putDate" column="put_date" /> <result property="putDate" column="put_date" />
<result property="batchNumber" column="batch_number" /> <result property="batchNumber" column="batch_number" />
<result property="attr2" column="attr2" /> <result property="productDate" column="product_date" />
<result property="attr3" column="attr3" /> <result property="attr3" column="attr3" />
<result property="attr4" column="attr4" /> <result property="attr4" column="attr4" />
<result property="attr5" column="attr5" /> <result property="attr5" column="attr5" />
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectWmsProductPutVo"> <sql id="selectWmsProductPutVo">
select id, work_order, factory_code, product_order, wh_code, wa_code, wl_code, product_name, product_code, product_sort, specification, unit_of_measure, plan_quantity, put_quantity, status, SAP_status, SAP_proof, SAP_message, put_date, batch_number, attr2, attr3, attr4, attr5, attr6, attr7, attr8, attr9, attr10, create_by, create_time, update_by, update_time from wms_product_put select id, work_order, factory_code, product_order, wh_code, wa_code, wl_code, product_name, product_code, product_sort, specification, unit_of_measure, plan_quantity, put_quantity, status, SAP_status, SAP_proof, SAP_message, put_date, batch_number, product_date, attr3, attr4, attr5, attr6, attr7, attr8, attr9, attr10, create_by, create_time, update_by, update_time from wms_product_put
</sql> </sql>
<select id="selectWmsProductPutList" parameterType="WmsProductPut" resultMap="WmsProductPutResult"> <select id="selectWmsProductPutList" parameterType="WmsProductPut" resultMap="WmsProductPutResult">
@ -66,7 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sapMessage != null and sapMessage != ''"> and SAP_message = #{sapMessage}</if> <if test="sapMessage != null and sapMessage != ''"> and SAP_message = #{sapMessage}</if>
<if test="putDate != null "> and put_date = #{putDate}</if> <if test="putDate != null "> and put_date = #{putDate}</if>
<if test="batchNumber != null and batchNumber != ''"> and batch_number = #{batchNumber}</if> <if test="batchNumber != null and batchNumber != ''"> and batch_number = #{batchNumber}</if>
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if> <if test="productDate != null and productDate != ''"> and product_date = #{productDate}</if>
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if> <if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
<if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if> <if test="attr4 != null and attr4 != ''"> and attr4 = #{attr4}</if>
<if test="attr5 != null and attr5 != ''"> and attr5 = #{attr5}</if> <if test="attr5 != null and attr5 != ''"> and attr5 = #{attr5}</if>
@ -86,7 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectWmsProductPutByWorkOrder" resultMap="WmsProductPutResult"> <select id="selectWmsProductPutByWorkOrder" resultMap="WmsProductPutResult">
SELECT SELECT
factory_code,product_order,wh_code,wa_code,wl_code,product_name,product_code,product_sort,specification, factory_code,product_order,wh_code,wa_code,wl_code,product_name,product_code,product_sort,specification,
unit_of_measure,plan_quantity,put_quantity,status,SAP_status,SAP_proof,SAP_message,put_date,batch_number,attr2, unit_of_measure,plan_quantity,put_quantity,status,SAP_status,SAP_proof,SAP_message,put_date,batch_number,product_date,
attr3,attr4,attr5,attr6,attr7,attr8,attr9,attr10,create_by,create_time, attr3,attr4,attr5,attr6,attr7,attr8,attr9,attr10,create_by,create_time,
update_by,update_time,id update_by,update_time,id
FROM FROM
@ -118,7 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sapMessage != null">SAP_message,</if> <if test="sapMessage != null">SAP_message,</if>
<if test="putDate != null">put_date,</if> <if test="putDate != null">put_date,</if>
<if test="batchNumber != null">batch_number,</if> <if test="batchNumber != null">batch_number,</if>
<if test="attr2 != null">attr2,</if> <if test="productDate != null">product_date,</if>
<if test="attr3 != null">attr3,</if> <if test="attr3 != null">attr3,</if>
<if test="attr4 != null">attr4,</if> <if test="attr4 != null">attr4,</if>
<if test="attr5 != null">attr5,</if> <if test="attr5 != null">attr5,</if>
@ -153,7 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sapMessage != null">#{sapMessage},</if> <if test="sapMessage != null">#{sapMessage},</if>
<if test="putDate != null">#{putDate},</if> <if test="putDate != null">#{putDate},</if>
<if test="batchNumber != null">#{batch_number},</if> <if test="batchNumber != null">#{batch_number},</if>
<if test="attr2 != null">#{attr2},</if> <if test="productDate != null">#{product_date},</if>
<if test="attr3 != null">#{attr3},</if> <if test="attr3 != null">#{attr3},</if>
<if test="attr4 != null">#{attr4},</if> <if test="attr4 != null">#{attr4},</if>
<if test="attr5 != null">#{attr5},</if> <if test="attr5 != null">#{attr5},</if>
@ -191,7 +191,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sapMessage != null">SAP_message = #{sapMessage},</if> <if test="sapMessage != null">SAP_message = #{sapMessage},</if>
<if test="putDate != null">put_date = #{putDate},</if> <if test="putDate != null">put_date = #{putDate},</if>
<if test="batchNumber != null">batch_number = #{batchNumber},</if> <if test="batchNumber != null">batch_number = #{batchNumber},</if>
<if test="attr2 != null">attr2 = #{attr2},</if> <if test="productDate != null">product_date = #{productDate},</if>
<if test="attr3 != null">attr3 = #{attr3},</if> <if test="attr3 != null">attr3 = #{attr3},</if>
<if test="attr4 != null">attr4 = #{attr4},</if> <if test="attr4 != null">attr4 = #{attr4},</if>
<if test="attr5 != null">attr5 = #{attr5},</if> <if test="attr5 != null">attr5 = #{attr5},</if>

Loading…
Cancel
Save