wms成品部分代码修改24
parent
59c433642a
commit
2e38a77da3
@ -0,0 +1,469 @@
|
||||
package com.op.wms.domain;
|
||||
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 成品销售退货对象
|
||||
*/
|
||||
public class WmsRuturnPutEmbryo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
private String id;
|
||||
/**
|
||||
* 工厂编码
|
||||
*/
|
||||
@Excel(name = "工厂编码")
|
||||
private String factoryCode;
|
||||
/**
|
||||
*退货单
|
||||
*/
|
||||
@Excel(name = "退货单")
|
||||
private String productOrder;
|
||||
|
||||
/**
|
||||
*仓库编码
|
||||
*/
|
||||
@Excel(name = "仓库编码")
|
||||
private String whCode;
|
||||
|
||||
/**
|
||||
*库区编码
|
||||
*/
|
||||
@Excel(name = "库区编码")
|
||||
private String waCode;
|
||||
|
||||
/**
|
||||
*库位编码
|
||||
*/
|
||||
@Excel(name = "库位编码")
|
||||
private String wlCode;
|
||||
|
||||
/**
|
||||
*产品名称
|
||||
*/
|
||||
@Excel(name = "产品名称")
|
||||
private String productName;
|
||||
|
||||
|
||||
/**
|
||||
*产品编码
|
||||
*/
|
||||
@Excel(name = "产品编码")
|
||||
private String productCode;
|
||||
/**
|
||||
*产品分类
|
||||
*/
|
||||
@Excel(name = "产品分类")
|
||||
private String productSort;
|
||||
/**
|
||||
*规格型号
|
||||
*/
|
||||
@Excel(name = "规格型号")
|
||||
private String speciFication;
|
||||
/**
|
||||
*单位
|
||||
*/
|
||||
@Excel(name = "单位")
|
||||
private String unitOfMeasure;
|
||||
/**
|
||||
*计划入库数量
|
||||
*/
|
||||
@Excel(name = "计划入库数量")
|
||||
private BigDecimal planQuantity;
|
||||
/**
|
||||
*入库数量
|
||||
*/
|
||||
@Excel(name = "入库数量")
|
||||
private BigDecimal putQuantity;
|
||||
/**
|
||||
*入库状态
|
||||
*/
|
||||
@Excel(name = "入库状态")
|
||||
private String status;
|
||||
/**
|
||||
*过账SAP状态
|
||||
*/
|
||||
@Excel(name = "过账SAP状态")
|
||||
private String sapStatus;
|
||||
/**
|
||||
*过账SAP凭证
|
||||
*/
|
||||
@Excel(name = "过账SAP凭证")
|
||||
private String sapProof;
|
||||
/**
|
||||
*过账sap返回信息
|
||||
*/
|
||||
@Excel(name = "过账sap返回信息")
|
||||
private String sapMessage;
|
||||
/**
|
||||
*入库时间
|
||||
*/
|
||||
@Excel(name = "入库时间")
|
||||
private Date putDate;
|
||||
/**
|
||||
*预留字段1
|
||||
*/
|
||||
@Excel(name = "预留字段1")
|
||||
private String attr1;
|
||||
|
||||
/**
|
||||
*预留字段2
|
||||
*/
|
||||
@Excel(name = "预留字段2")
|
||||
private String attr2;
|
||||
|
||||
|
||||
/**
|
||||
*预留字段3
|
||||
*/
|
||||
@Excel(name = "预留字段3")
|
||||
private String attr3;
|
||||
|
||||
/**
|
||||
*预留字段4
|
||||
*/
|
||||
@Excel(name = "预留字段4")
|
||||
private String attr4;
|
||||
/**
|
||||
*预留字段5
|
||||
*/
|
||||
@Excel(name = "预留字段5")
|
||||
private String attr5;
|
||||
/**
|
||||
*预留字段6
|
||||
*/
|
||||
@Excel(name = "预留字段6")
|
||||
private String attr6;
|
||||
/**
|
||||
*预留字段7
|
||||
*/
|
||||
@Excel(name = "预留字段7")
|
||||
private String attr7;
|
||||
/**
|
||||
*预留字段8
|
||||
*/
|
||||
@Excel(name = "预留字段8")
|
||||
private String attr8;
|
||||
|
||||
/**
|
||||
*预留字段9
|
||||
*/
|
||||
@Excel(name = "预留字段9")
|
||||
private String attr9;
|
||||
/**
|
||||
*预留字段10
|
||||
*/
|
||||
@Excel(name = "预留字段10")
|
||||
private String attr10;
|
||||
/**
|
||||
*创建人
|
||||
*/
|
||||
@Excel(name = "创建人")
|
||||
private String createBy;
|
||||
/**
|
||||
*创建时间
|
||||
*/
|
||||
@Excel(name = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
*修改人
|
||||
*/
|
||||
@Excel(name = "修改人")
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
*修改时间
|
||||
*/
|
||||
@Excel(name = "修改时间")
|
||||
private Date updateTime;
|
||||
List<WmsProductPut> wmsProductPut;
|
||||
private String activeFlag;
|
||||
|
||||
public String getActiveFlag() {
|
||||
return activeFlag;
|
||||
}
|
||||
|
||||
public void setActiveFlag(String activeFlag) {
|
||||
this.activeFlag = activeFlag;
|
||||
}
|
||||
|
||||
public List<WmsProductPut> getWmsProductPut() {
|
||||
return wmsProductPut;
|
||||
}
|
||||
|
||||
public void setWmsProductPut(List<WmsProductPut> wmsProductPut) {
|
||||
this.wmsProductPut = wmsProductPut;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getFactoryCode() {
|
||||
return factoryCode;
|
||||
}
|
||||
|
||||
public void setFactoryCode(String factoryCode) {
|
||||
this.factoryCode = factoryCode;
|
||||
}
|
||||
|
||||
public String getProductOrder() {
|
||||
return productOrder;
|
||||
}
|
||||
|
||||
public void setProductOrder(String productOrder) {
|
||||
this.productOrder = productOrder;
|
||||
}
|
||||
|
||||
public String getWhCode() {
|
||||
return whCode;
|
||||
}
|
||||
|
||||
public void setWhCode(String whCode) {
|
||||
this.whCode = whCode;
|
||||
}
|
||||
|
||||
public String getWaCode() {
|
||||
return waCode;
|
||||
}
|
||||
|
||||
public void setWaCode(String waCode) {
|
||||
this.waCode = waCode;
|
||||
}
|
||||
|
||||
public String getWlCode() {
|
||||
return wlCode;
|
||||
}
|
||||
|
||||
public void setWlCode(String wlCode) {
|
||||
this.wlCode = wlCode;
|
||||
}
|
||||
|
||||
public String getProductName() {
|
||||
return productName;
|
||||
}
|
||||
|
||||
public void setProductName(String productName) {
|
||||
this.productName = productName;
|
||||
}
|
||||
|
||||
public String getProductCode() {
|
||||
return productCode;
|
||||
}
|
||||
|
||||
public void setProductCode(String productCode) {
|
||||
this.productCode = productCode;
|
||||
}
|
||||
|
||||
public String getProductSort() {
|
||||
return productSort;
|
||||
}
|
||||
|
||||
public void setProductSort(String productSort) {
|
||||
this.productSort = productSort;
|
||||
}
|
||||
|
||||
public String getSpeciFication() {
|
||||
return speciFication;
|
||||
}
|
||||
|
||||
public void setSpeciFication(String speciFication) {
|
||||
this.speciFication = speciFication;
|
||||
}
|
||||
|
||||
public String getUnitOfMeasure() {
|
||||
return unitOfMeasure;
|
||||
}
|
||||
|
||||
public void setUnitOfMeasure(String unitOfMeasure) {
|
||||
this.unitOfMeasure = unitOfMeasure;
|
||||
}
|
||||
|
||||
public BigDecimal getPlanQuantity() {
|
||||
return planQuantity;
|
||||
}
|
||||
|
||||
public void setPlanQuantity(BigDecimal planQuantity) {
|
||||
this.planQuantity = planQuantity;
|
||||
}
|
||||
|
||||
public BigDecimal getPutQuantity() {
|
||||
return putQuantity;
|
||||
}
|
||||
|
||||
public void setPutQuantity(BigDecimal putQuantity) {
|
||||
this.putQuantity = putQuantity;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getSapStatus() {
|
||||
return sapStatus;
|
||||
}
|
||||
|
||||
public void setSapStatus(String sapStatus) {
|
||||
this.sapStatus = sapStatus;
|
||||
}
|
||||
|
||||
public String getSapProof() {
|
||||
return sapProof;
|
||||
}
|
||||
|
||||
public void setSapProof(String sapProof) {
|
||||
this.sapProof = sapProof;
|
||||
}
|
||||
|
||||
public String getSapMessage() {
|
||||
return sapMessage;
|
||||
}
|
||||
|
||||
public void setSapMessage(String sapMessage) {
|
||||
this.sapMessage = sapMessage;
|
||||
}
|
||||
|
||||
public Date getPutDate() {
|
||||
return putDate;
|
||||
}
|
||||
|
||||
public void setPutDate(Date putDate) {
|
||||
this.putDate = putDate;
|
||||
}
|
||||
|
||||
public String getAttr1() {
|
||||
return attr1;
|
||||
}
|
||||
|
||||
public void setAttr1(String attr1) {
|
||||
this.attr1 = attr1;
|
||||
}
|
||||
|
||||
public String getAttr2() {
|
||||
return attr2;
|
||||
}
|
||||
|
||||
public void setAttr2(String attr2) {
|
||||
this.attr2 = attr2;
|
||||
}
|
||||
|
||||
public String getAttr3() {
|
||||
return attr3;
|
||||
}
|
||||
|
||||
public void setAttr3(String attr3) {
|
||||
this.attr3 = attr3;
|
||||
}
|
||||
|
||||
public String getAttr4() {
|
||||
return attr4;
|
||||
}
|
||||
|
||||
public void setAttr4(String attr4) {
|
||||
this.attr4 = attr4;
|
||||
}
|
||||
|
||||
public String getAttr5() {
|
||||
return attr5;
|
||||
}
|
||||
|
||||
public void setAttr5(String attr5) {
|
||||
this.attr5 = attr5;
|
||||
}
|
||||
|
||||
public String getAttr6() {
|
||||
return attr6;
|
||||
}
|
||||
|
||||
public void setAttr6(String attr6) {
|
||||
this.attr6 = attr6;
|
||||
}
|
||||
|
||||
public String getAttr7() {
|
||||
return attr7;
|
||||
}
|
||||
|
||||
public void setAttr7(String attr7) {
|
||||
this.attr7 = attr7;
|
||||
}
|
||||
|
||||
public String getAttr8() {
|
||||
return attr8;
|
||||
}
|
||||
|
||||
public void setAttr8(String attr8) {
|
||||
this.attr8 = attr8;
|
||||
}
|
||||
|
||||
public String getAttr9() {
|
||||
return attr9;
|
||||
}
|
||||
|
||||
public void setAttr9(String attr9) {
|
||||
this.attr9 = attr9;
|
||||
}
|
||||
|
||||
public String getAttr10() {
|
||||
return attr10;
|
||||
}
|
||||
|
||||
public void setAttr10(String attr10) {
|
||||
this.attr10 = attr10;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.op.wms.mapper;
|
||||
|
||||
import com.op.wms.domain.WmsRuturnPutEmbryo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface WmsRuturnPutEmbryoMapper {
|
||||
|
||||
|
||||
List<WmsRuturnPutEmbryo> selectWmsRuturnPutEmbryo(WmsRuturnPutEmbryo wmsRuturnPutEmbryo);
|
||||
|
||||
void updateWmsRuturnPutEmbryo(WmsRuturnPutEmbryo wmsRuturnPutEmbryo1);
|
||||
|
||||
WmsRuturnPutEmbryo selectWmsRuturnPutEmbryoByid(WmsRuturnPutEmbryo wmsRuturnPutEmbryo1);
|
||||
|
||||
void insertWmsRuturnPutEmbryoMapperRecords(WmsRuturnPutEmbryo wmsProductPutRecords);
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.op.wms.mapper.WmsRuturnPutEmbryoMapper">
|
||||
|
||||
<resultMap type="WmsRuturnPutEmbryo" id="WmsRuturnPutEmbryoResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="factoryCode" column="factoryCode"/>
|
||||
<result property="productOrder" column="productOrder"/>
|
||||
<result property="whCode" column="whCode"/>
|
||||
<result property="waCode" column="waCode"/>
|
||||
<result property="wlCode" column="wlCode"/>
|
||||
<result property="productName" column="productName"/>
|
||||
<result property="productCode" column="productCode"/>
|
||||
<result property="productSort" column="productSort"/>
|
||||
<result property="speciFication" column="speciFication"/>
|
||||
<result property="unitOfMeasure" column="unitOfMeasure"/>
|
||||
<result property="planQuantity" column="planQuantity"/>
|
||||
<result property="putQuantity" column="putQuantity"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="sapStatus" column="sapStatus"/>
|
||||
<result property="sapProof" column="sapProof"/>
|
||||
<result property="sapMessage" column="sapMessage"/>
|
||||
<result property="putDate" column="putDate"/>
|
||||
<result property="attr1" column="attr1"/>
|
||||
<result property="attr2" column="attr2"/>
|
||||
<result property="attr3" column="attr3"/>
|
||||
<result property="attr4" column="attr4"/>
|
||||
<result property="attr5" column="attr5"/>
|
||||
<result property="attr6" column="attr6"/>
|
||||
<result property="attr7" column="attr7"/>
|
||||
<result property="attr8" column="create_time"/>
|
||||
<result property="attr9" column="attr9"/>
|
||||
<result property="attr10" column="attr10"/>
|
||||
<result property="createBy" column="createBy"/>
|
||||
<result property="createTime" column="createTime"/>
|
||||
<result property="updateBy" column="updateBy"/>
|
||||
<result property="updateTime" column="updateTime"/>
|
||||
|
||||
</resultMap>
|
||||
|
||||
<select id="selectWmsRuturnPutEmbryo" resultMap="WmsRuturnPutEmbryoResult">
|
||||
SELECT
|
||||
wms_ruturn_put_embryo.id ,
|
||||
wms_ruturn_put_embryo.factory_code As factoryCode,
|
||||
wms_ruturn_put_embryo.product_order As productOrder ,
|
||||
wms_ruturn_put_embryo.wh_code As whCode,
|
||||
wms_ruturn_put_embryo.wa_code As waCode,
|
||||
wms_ruturn_put_embryo.wl_code As wlCode,
|
||||
wms_ruturn_put_embryo.product_name As productName,
|
||||
wms_ruturn_put_embryo.product_code As productCode,
|
||||
wms_ruturn_put_embryo.product_sort As productSort,
|
||||
wms_ruturn_put_embryo.specification As speciFication,
|
||||
wms_ruturn_put_embryo.unit_of_measure As unitOfMeasure,
|
||||
wms_ruturn_put_embryo.plan_quantity As planQuantity,
|
||||
COALESCE(wms_ruturn_put_embryo.put_quantity, 0) AS putQuantity,
|
||||
wms_ruturn_put_embryo.status As status,
|
||||
wms_ruturn_put_embryo.SAP_status As sapStatus,
|
||||
wms_ruturn_put_embryo.SAP_proof As sapProof,
|
||||
wms_ruturn_put_embryo.SAP_message As sapMessage,
|
||||
wms_ruturn_put_embryo.put_date As putDate,
|
||||
wms_ruturn_put_embryo.attr1 ,
|
||||
wms_ruturn_put_embryo.attr2 ,
|
||||
wms_ruturn_put_embryo.attr3 ,
|
||||
wms_ruturn_put_embryo.attr4 ,
|
||||
wms_ruturn_put_embryo.attr5 ,
|
||||
wms_ruturn_put_embryo.attr6 ,
|
||||
wms_ruturn_put_embryo.attr7,
|
||||
wms_ruturn_put_embryo.attr8,
|
||||
wms_ruturn_put_embryo.attr9,
|
||||
wms_ruturn_put_embryo.attr10,
|
||||
wms_ruturn_put_embryo.create_by As createBy,
|
||||
wms_ruturn_put_embryo.create_time As createTime,
|
||||
wms_ruturn_put_embryo.update_by As updateBy,
|
||||
wms_ruturn_put_embryo.update_time As updateTime
|
||||
FROM
|
||||
wms_ruturn_put_embryo
|
||||
where
|
||||
active_flag='1' and product_order=#{productOrder}
|
||||
</select>
|
||||
<select id="selectWmsRuturnPutEmbryoByid" resultMap="WmsRuturnPutEmbryoResult">
|
||||
SELECT
|
||||
wms_ruturn_put_embryo.id ,
|
||||
wms_ruturn_put_embryo.factory_code As factoryCode,
|
||||
wms_ruturn_put_embryo.product_order As productOrder ,
|
||||
wms_ruturn_put_embryo.wh_code As whCode,
|
||||
wms_ruturn_put_embryo.wa_code As waCode,
|
||||
wms_ruturn_put_embryo.wl_code As wlCode,
|
||||
wms_ruturn_put_embryo.product_name As productName,
|
||||
wms_ruturn_put_embryo.product_code As productCode,
|
||||
wms_ruturn_put_embryo.product_sort As productSort,
|
||||
wms_ruturn_put_embryo.specification As speciFication,
|
||||
wms_ruturn_put_embryo.unit_of_measure As unitOfMeasure,
|
||||
wms_ruturn_put_embryo.plan_quantity As planQuantity,
|
||||
COALESCE(wms_ruturn_put_embryo.put_quantity, 0) AS putQuantity,
|
||||
wms_ruturn_put_embryo.status As status,
|
||||
wms_ruturn_put_embryo.SAP_status As sapStatus,
|
||||
wms_ruturn_put_embryo.SAP_proof As sapProof,
|
||||
wms_ruturn_put_embryo.SAP_message As sapMessage,
|
||||
wms_ruturn_put_embryo.put_date As putDate,
|
||||
wms_ruturn_put_embryo.attr1 ,
|
||||
wms_ruturn_put_embryo.attr2 ,
|
||||
wms_ruturn_put_embryo.attr3 ,
|
||||
wms_ruturn_put_embryo.attr4 ,
|
||||
wms_ruturn_put_embryo.attr5 ,
|
||||
wms_ruturn_put_embryo.attr6 ,
|
||||
wms_ruturn_put_embryo.attr7,
|
||||
wms_ruturn_put_embryo.attr8,
|
||||
wms_ruturn_put_embryo.attr9,
|
||||
wms_ruturn_put_embryo.attr10,
|
||||
wms_ruturn_put_embryo.create_by As createBy,
|
||||
wms_ruturn_put_embryo.create_time As createTime,
|
||||
wms_ruturn_put_embryo.update_by As updateBy,
|
||||
wms_ruturn_put_embryo.update_time As updateTime
|
||||
FROM
|
||||
wms_ruturn_put_embryo
|
||||
where
|
||||
active_flag='1' and id=#{id}
|
||||
</select>
|
||||
<update id="updateWmsRuturnPutEmbryo" >
|
||||
update wms_ruturn_put_embryo
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="whCode != null">wh_code = #{whCode},</if>
|
||||
<if test="waCode != null">wa_code = #{waCode},</if>
|
||||
<if test="wlCode != null">wl_code = #{wlCode},</if>
|
||||
<if test="productOrder != null">product_order = #{productOrder},</if>
|
||||
<if test="productCode != null">product_code = #{productCode},</if>
|
||||
<if test="productName != null">product_name = #{productName},</if>
|
||||
<if test="planQuantity != null">plan_quantity = #{planQuantity},</if>
|
||||
<if test="putQuantity != null">put_quantity = #{putQuantity},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="attr1 != null">attr1 = #{attr1},</if>
|
||||
<if test="attr2 != null">attr2 = #{attr2},</if>
|
||||
<if test="attr3 != null">attr3 = #{attr3},</if>
|
||||
<if test="attr4 != null">attr4 = #{attr4},</if>
|
||||
<if test="attr5 != null">attr5 = #{attr5},</if>
|
||||
<if test="attr6 != null">attr6 = #{attr6},</if>
|
||||
<if test="attr7 != null">attr7 = #{attr7},</if>
|
||||
<if test="attr8 != null">attr8 = #{attr8},</if>
|
||||
<if test="attr9 != null">attr9 = #{attr9},</if>
|
||||
<if test="attr10 != null">attr10 = #{attr10},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
|
||||
</trim>
|
||||
where id=#{id}
|
||||
</update>
|
||||
<insert id="insertWmsRuturnPutEmbryoMapperRecords">
|
||||
insert into wms_ruturn_put_embryo_record
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">id,</if>
|
||||
<if test="factoryCode != null">factory_code,</if>
|
||||
<if test="productOrder != null">product_order,</if>
|
||||
<if test="whCode != null">wh_code,</if>
|
||||
<if test="waCode != null">wa_code,</if>
|
||||
<if test="wlCode != null">wl_code,</if>
|
||||
<if test="productName != null">product_name,</if>
|
||||
<if test="productCode != null">product_code,</if>
|
||||
<if test="productSort != null">product_sort,</if>
|
||||
<if test="specification != null">specification,</if>
|
||||
<if test="unitOfMeasure != null">unit_of_measure,</if>
|
||||
<if test="planQuantity != null">plan_quantity,</if>
|
||||
<if test="putQuantity != null">put_quantity,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="SAPStatus != null">SAP_status,</if>
|
||||
<if test="SAPProof != null">SAP_proof,</if>
|
||||
<if test="SAPMessage != null">SAP_message,</if>
|
||||
<if test="putDate != null">put_date,</if>
|
||||
<if test="attr1 != null">attr1,</if>
|
||||
<if test="attr2 != null">attr2,</if>
|
||||
<if test="attr3 != null">attr3,</if>
|
||||
<if test="attr4 != null">attr4,</if>
|
||||
<if test="attr5 != null">attr5,</if>
|
||||
<if test="attr6 != null">attr6,</if>
|
||||
<if test="attr7 != null">attr7,</if>
|
||||
<if test="attr8 != null">attr8,</if>
|
||||
<if test="attr9 != null">attr9,</if>
|
||||
<if test="attr10 != null">attr10,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="activeFlag != null">active_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="VALUES (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">#{id},</if>
|
||||
<if test="factoryCode != null">#{factoryCode},</if>
|
||||
<if test="productOrder != null">#{productOrder},</if>
|
||||
<if test="whCode != null">#{whCode},</if>
|
||||
<if test="waCode != null">#{waCode},</if>
|
||||
<if test="wlCode != null">#{wlCode},</if>
|
||||
<if test="productName != null">#{productName},</if>
|
||||
<if test="productCode != null">#{productCode},</if>
|
||||
<if test="productSort != null">#{productSort},</if>
|
||||
<if test="specification != null">#{specification},</if>
|
||||
<if test="unitOfMeasure != null">#{unitOfMeasure},</if>
|
||||
<if test="planQuantity != null">#{planQuantity},</if>
|
||||
<if test="putQuantity != null">#{putQuantity},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="SAPStatus != null">#{SAPStatus},</if>
|
||||
<if test="SAPProof != null">#{SAPProof},</if>
|
||||
<if test="SAPMessage != null">#{SAPMessage},</if>
|
||||
<if test="putDate != null">#{putDate},</if>
|
||||
<if test="attr1 != null">#{attr1},</if>
|
||||
<if test="attr2 != null">#{attr2},</if>
|
||||
<if test="attr3 != null">#{attr3},</if>
|
||||
<if test="attr4 != null">#{attr4},</if>
|
||||
<if test="attr5 != null">#{attr5},</if>
|
||||
<if test="attr6 != null">#{attr6},</if>
|
||||
<if test="attr7 != null">#{attr7},</if>
|
||||
<if test="attr8 != null">#{attr8},</if>
|
||||
<if test="attr9 != null">#{attr9},</if>
|
||||
<if test="attr10 != null">#{attr10},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="activeFlag != null">#{activeFlag},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
</mapper>
|
Loading…
Reference in New Issue