|
|
|
@ -0,0 +1,307 @@
|
|
|
|
|
<?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.quality.mapper.WmsRawOrderInMapper">
|
|
|
|
|
|
|
|
|
|
<resultMap type="WmsRawOrderIn" id="WmsRawOrderInResult">
|
|
|
|
|
<result property="rawOrderInId" column="raw_order_in_id" />
|
|
|
|
|
<result property="factoryCode" column="factory_code" />
|
|
|
|
|
<result property="whCode" column="wh_code" />
|
|
|
|
|
<result property="waCode" column="wa_code" />
|
|
|
|
|
<result property="wlCode" column="wl_code" />
|
|
|
|
|
<result property="orderInType" column="order_in_type" />
|
|
|
|
|
<result property="orderNo" column="order_no" />
|
|
|
|
|
<result property="dnNo" column="dn_no" />
|
|
|
|
|
<result property="poNo" column="po_no" />
|
|
|
|
|
<result property="poLine" column="po_line" />
|
|
|
|
|
<result property="poType" column="po_type" />
|
|
|
|
|
<result property="materialCode" column="material_code" />
|
|
|
|
|
<result property="materialDesc" column="material_desc" />
|
|
|
|
|
<result property="unit" column="unit" />
|
|
|
|
|
<result property="buyerGroup" column="buyer_group" />
|
|
|
|
|
<result property="supplyCode" column="supply_code" />
|
|
|
|
|
<result property="sapFactoryCode" column="sap_factory_code" />
|
|
|
|
|
<result property="sendSpot" column="send_spot" />
|
|
|
|
|
<result property="requestAmount" column="request_amount" />
|
|
|
|
|
<result property="receiptAmount" column="receipt_amount" />
|
|
|
|
|
<result property="shelvesAmount" column="shelves_amount" />
|
|
|
|
|
<result property="location" column="location" />
|
|
|
|
|
<result property="requestTime" column="request_time" />
|
|
|
|
|
<result property="qualityStatus" column="quality_status" />
|
|
|
|
|
<result property="orderStatus" column="order_status" />
|
|
|
|
|
<result property="receiptOperator" column="receipt_operator" />
|
|
|
|
|
<result property="receiptTime" column="receipt_time" />
|
|
|
|
|
<result property="shelvesOperator" column="shelves_operator" />
|
|
|
|
|
<result property="returnAmount" column="return_amount" />
|
|
|
|
|
<result property="returnName" column="return_name" />
|
|
|
|
|
<result property="returnTime" column="return_time" />
|
|
|
|
|
<result property="returnStatus" column="return_status" />
|
|
|
|
|
<result property="shelvesTime" column="shelves_time" />
|
|
|
|
|
<result property="returnMessage" column="return_message" />
|
|
|
|
|
<result property="accountingStatus" column="accounting_status" />
|
|
|
|
|
<result property="accountingTime" column="accounting_time" />
|
|
|
|
|
<result property="accountingMessage" column="accounting_message" />
|
|
|
|
|
<result property="userDefined1" column="user_defined1" />
|
|
|
|
|
<result property="userDefined2" column="user_defined2" />
|
|
|
|
|
<result property="userDefined3" column="user_defined3" />
|
|
|
|
|
<result property="userDefined4" column="user_defined4" />
|
|
|
|
|
<result property="userDefined5" column="user_defined5" />
|
|
|
|
|
<result property="userDefined6" column="user_defined6" />
|
|
|
|
|
<result property="userDefined7" column="user_defined7" />
|
|
|
|
|
<result property="userDefined8" column="user_defined8" />
|
|
|
|
|
<result property="userDefined9" column="user_defined9" />
|
|
|
|
|
<result property="userDefined10" column="user_defined10" />
|
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
|
<result property="gmtCreate" column="gmt_create" />
|
|
|
|
|
<result property="lastModifiedBy" column="last_modified_by" />
|
|
|
|
|
<result property="gmtModified" column="gmt_modified" />
|
|
|
|
|
<result property="activeFlag" column="active_flag" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectWmsRawOrderInVo">
|
|
|
|
|
select raw_order_in_id, factory_code, wh_code, wa_code, wl_code, order_in_type, order_no, dn_no, po_no, po_line, po_type, material_code, material_desc, unit, buyer_group, supply_code, sap_factory_code, send_spot, request_amount, receipt_amount, shelves_amount, location, request_time, quality_status, order_status, receipt_operator, receipt_time, shelves_operator, return_amount, return_name, return_time, return_status, shelves_time, return_message, accounting_status, accounting_time, accounting_message, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, user_defined7, user_defined8, user_defined9, user_defined10, create_by, gmt_create, last_modified_by, gmt_modified, active_flag from wms_raw_order_in
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectWmsRawOrderInList" parameterType="WmsRawOrderIn" resultMap="WmsRawOrderInResult">
|
|
|
|
|
<include refid="selectWmsRawOrderInVo"/>
|
|
|
|
|
<where>
|
|
|
|
|
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
|
|
|
|
|
<if test="whCode != null and whCode != ''"> and wh_code = #{whCode}</if>
|
|
|
|
|
<if test="waCode != null and waCode != ''"> and wa_code = #{waCode}</if>
|
|
|
|
|
<if test="wlCode != null and wlCode != ''"> and wl_code = #{wlCode}</if>
|
|
|
|
|
<if test="orderInType != null and orderInType != ''"> and order_in_type = #{orderInType}</if>
|
|
|
|
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
|
|
|
<if test="dnNo != null and dnNo != ''"> and dn_no = #{dnNo}</if>
|
|
|
|
|
<if test="poNo != null and poNo != ''"> and po_no = #{poNo}</if>
|
|
|
|
|
<if test="poLine != null and poLine != ''"> and po_line = #{poLine}</if>
|
|
|
|
|
<if test="poType != null and poType != ''"> and po_type = #{poType}</if>
|
|
|
|
|
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
|
|
|
|
|
<if test="materialDesc != null and materialDesc != ''"> and material_desc = #{materialDesc}</if>
|
|
|
|
|
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
|
|
|
|
<if test="buyerGroup != null and buyerGroup != ''"> and buyer_group = #{buyerGroup}</if>
|
|
|
|
|
<if test="supplyCode != null and supplyCode != ''"> and supply_code = #{supplyCode}</if>
|
|
|
|
|
<if test="sapFactoryCode != null and sapFactoryCode != ''"> and sap_factory_code = #{sapFactoryCode}</if>
|
|
|
|
|
<if test="sendSpot != null and sendSpot != ''"> and send_spot = #{sendSpot}</if>
|
|
|
|
|
<if test="requestAmount != null "> and request_amount = #{requestAmount}</if>
|
|
|
|
|
<if test="receiptAmount != null "> and receipt_amount = #{receiptAmount}</if>
|
|
|
|
|
<if test="shelvesAmount != null "> and shelves_amount = #{shelvesAmount}</if>
|
|
|
|
|
<if test="location != null and location != ''"> and location = #{location}</if>
|
|
|
|
|
<if test="requestTime != null "> and request_time = #{requestTime}</if>
|
|
|
|
|
<if test="qualityStatus != null and qualityStatus != ''"> and quality_status = #{qualityStatus}</if>
|
|
|
|
|
<if test="orderStatus != null and orderStatus != ''"> and order_status = #{orderStatus}</if>
|
|
|
|
|
<if test="receiptOperator != null and receiptOperator != ''"> and receipt_operator = #{receiptOperator}</if>
|
|
|
|
|
<if test="receiptTime != null "> and receipt_time = #{receiptTime}</if>
|
|
|
|
|
<if test="shelvesOperator != null and shelvesOperator != ''"> and shelves_operator = #{shelvesOperator}</if>
|
|
|
|
|
<if test="returnAmount != null "> and return_amount = #{returnAmount}</if>
|
|
|
|
|
<if test="returnName != null and returnName != ''"> and return_name like concat('%', #{returnName}, '%')</if>
|
|
|
|
|
<if test="returnTime != null "> and return_time = #{returnTime}</if>
|
|
|
|
|
<if test="returnStatus != null and returnStatus != ''"> and return_status = #{returnStatus}</if>
|
|
|
|
|
<if test="shelvesTime != null "> and shelves_time = #{shelvesTime}</if>
|
|
|
|
|
<if test="returnMessage != null and returnMessage != ''"> and return_message = #{returnMessage}</if>
|
|
|
|
|
<if test="accountingStatus != null and accountingStatus != ''"> and accounting_status = #{accountingStatus}</if>
|
|
|
|
|
<if test="accountingTime != null "> and accounting_time = #{accountingTime}</if>
|
|
|
|
|
<if test="accountingMessage != null and accountingMessage != ''"> and accounting_message = #{accountingMessage}</if>
|
|
|
|
|
<if test="userDefined1 != null and userDefined1 != ''"> and user_defined1 = #{userDefined1}</if>
|
|
|
|
|
<if test="userDefined2 != null and userDefined2 != ''"> and user_defined2 = #{userDefined2}</if>
|
|
|
|
|
<if test="userDefined3 != null and userDefined3 != ''"> and user_defined3 = #{userDefined3}</if>
|
|
|
|
|
<if test="userDefined4 != null and userDefined4 != ''"> and user_defined4 = #{userDefined4}</if>
|
|
|
|
|
<if test="userDefined5 != null and userDefined5 != ''"> and user_defined5 = #{userDefined5}</if>
|
|
|
|
|
<if test="userDefined6 != null and userDefined6 != ''"> and user_defined6 = #{userDefined6}</if>
|
|
|
|
|
<if test="userDefined7 != null and userDefined7 != ''"> and user_defined7 = #{userDefined7}</if>
|
|
|
|
|
<if test="userDefined8 != null and userDefined8 != ''"> and user_defined8 = #{userDefined8}</if>
|
|
|
|
|
<if test="userDefined9 != null and userDefined9 != ''"> and user_defined9 = #{userDefined9}</if>
|
|
|
|
|
<if test="userDefined10 != null and userDefined10 != ''"> and user_defined10 = #{userDefined10}</if>
|
|
|
|
|
<if test="gmtCreate != null "> and gmt_create = #{gmtCreate}</if>
|
|
|
|
|
<if test="lastModifiedBy != null and lastModifiedBy != ''"> and last_modified_by = #{lastModifiedBy}</if>
|
|
|
|
|
<if test="gmtModified != null "> and gmt_modified = #{gmtModified}</if>
|
|
|
|
|
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectWmsRawOrderInByRawOrderInId" parameterType="String" resultMap="WmsRawOrderInResult">
|
|
|
|
|
<include refid="selectWmsRawOrderInVo"/>
|
|
|
|
|
where raw_order_in_id = #{rawOrderInId}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<insert id="insertWmsRawOrderIn" parameterType="WmsRawOrderIn">
|
|
|
|
|
insert into wms_raw_order_in
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="rawOrderInId != null">raw_order_in_id,</if>
|
|
|
|
|
<if test="factoryCode != null">factory_code,</if>
|
|
|
|
|
<if test="whCode != null">wh_code,</if>
|
|
|
|
|
<if test="waCode != null">wa_code,</if>
|
|
|
|
|
<if test="wlCode != null">wl_code,</if>
|
|
|
|
|
<if test="orderInType != null">order_in_type,</if>
|
|
|
|
|
<if test="orderNo != null">order_no,</if>
|
|
|
|
|
<if test="dnNo != null">dn_no,</if>
|
|
|
|
|
<if test="poNo != null">po_no,</if>
|
|
|
|
|
<if test="poLine != null">po_line,</if>
|
|
|
|
|
<if test="poType != null">po_type,</if>
|
|
|
|
|
<if test="materialCode != null">material_code,</if>
|
|
|
|
|
<if test="materialDesc != null">material_desc,</if>
|
|
|
|
|
<if test="unit != null">unit,</if>
|
|
|
|
|
<if test="buyerGroup != null">buyer_group,</if>
|
|
|
|
|
<if test="supplyCode != null">supply_code,</if>
|
|
|
|
|
<if test="sapFactoryCode != null">sap_factory_code,</if>
|
|
|
|
|
<if test="sendSpot != null">send_spot,</if>
|
|
|
|
|
<if test="requestAmount != null">request_amount,</if>
|
|
|
|
|
<if test="receiptAmount != null">receipt_amount,</if>
|
|
|
|
|
<if test="shelvesAmount != null">shelves_amount,</if>
|
|
|
|
|
<if test="location != null">location,</if>
|
|
|
|
|
<if test="requestTime != null">request_time,</if>
|
|
|
|
|
<if test="qualityStatus != null">quality_status,</if>
|
|
|
|
|
<if test="orderStatus != null">order_status,</if>
|
|
|
|
|
<if test="receiptOperator != null">receipt_operator,</if>
|
|
|
|
|
<if test="receiptTime != null">receipt_time,</if>
|
|
|
|
|
<if test="shelvesOperator != null">shelves_operator,</if>
|
|
|
|
|
<if test="returnAmount != null">return_amount,</if>
|
|
|
|
|
<if test="returnName != null">return_name,</if>
|
|
|
|
|
<if test="returnTime != null">return_time,</if>
|
|
|
|
|
<if test="returnStatus != null">return_status,</if>
|
|
|
|
|
<if test="shelvesTime != null">shelves_time,</if>
|
|
|
|
|
<if test="returnMessage != null">return_message,</if>
|
|
|
|
|
<if test="accountingStatus != null">accounting_status,</if>
|
|
|
|
|
<if test="accountingTime != null">accounting_time,</if>
|
|
|
|
|
<if test="accountingMessage != null">accounting_message,</if>
|
|
|
|
|
<if test="userDefined1 != null">user_defined1,</if>
|
|
|
|
|
<if test="userDefined2 != null">user_defined2,</if>
|
|
|
|
|
<if test="userDefined3 != null">user_defined3,</if>
|
|
|
|
|
<if test="userDefined4 != null">user_defined4,</if>
|
|
|
|
|
<if test="userDefined5 != null">user_defined5,</if>
|
|
|
|
|
<if test="userDefined6 != null">user_defined6,</if>
|
|
|
|
|
<if test="userDefined7 != null">user_defined7,</if>
|
|
|
|
|
<if test="userDefined8 != null">user_defined8,</if>
|
|
|
|
|
<if test="userDefined9 != null">user_defined9,</if>
|
|
|
|
|
<if test="userDefined10 != null">user_defined10,</if>
|
|
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
|
|
<if test="gmtCreate != null">gmt_create,</if>
|
|
|
|
|
<if test="lastModifiedBy != null">last_modified_by,</if>
|
|
|
|
|
<if test="gmtModified != null">gmt_modified,</if>
|
|
|
|
|
<if test="activeFlag != null">active_flag,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="rawOrderInId != null">#{rawOrderInId},</if>
|
|
|
|
|
<if test="factoryCode != null">#{factoryCode},</if>
|
|
|
|
|
<if test="whCode != null">#{whCode},</if>
|
|
|
|
|
<if test="waCode != null">#{waCode},</if>
|
|
|
|
|
<if test="wlCode != null">#{wlCode},</if>
|
|
|
|
|
<if test="orderInType != null">#{orderInType},</if>
|
|
|
|
|
<if test="orderNo != null">#{orderNo},</if>
|
|
|
|
|
<if test="dnNo != null">#{dnNo},</if>
|
|
|
|
|
<if test="poNo != null">#{poNo},</if>
|
|
|
|
|
<if test="poLine != null">#{poLine},</if>
|
|
|
|
|
<if test="poType != null">#{poType},</if>
|
|
|
|
|
<if test="materialCode != null">#{materialCode},</if>
|
|
|
|
|
<if test="materialDesc != null">#{materialDesc},</if>
|
|
|
|
|
<if test="unit != null">#{unit},</if>
|
|
|
|
|
<if test="buyerGroup != null">#{buyerGroup},</if>
|
|
|
|
|
<if test="supplyCode != null">#{supplyCode},</if>
|
|
|
|
|
<if test="sapFactoryCode != null">#{sapFactoryCode},</if>
|
|
|
|
|
<if test="sendSpot != null">#{sendSpot},</if>
|
|
|
|
|
<if test="requestAmount != null">#{requestAmount},</if>
|
|
|
|
|
<if test="receiptAmount != null">#{receiptAmount},</if>
|
|
|
|
|
<if test="shelvesAmount != null">#{shelvesAmount},</if>
|
|
|
|
|
<if test="location != null">#{location},</if>
|
|
|
|
|
<if test="requestTime != null">#{requestTime},</if>
|
|
|
|
|
<if test="qualityStatus != null">#{qualityStatus},</if>
|
|
|
|
|
<if test="orderStatus != null">#{orderStatus},</if>
|
|
|
|
|
<if test="receiptOperator != null">#{receiptOperator},</if>
|
|
|
|
|
<if test="receiptTime != null">#{receiptTime},</if>
|
|
|
|
|
<if test="shelvesOperator != null">#{shelvesOperator},</if>
|
|
|
|
|
<if test="returnAmount != null">#{returnAmount},</if>
|
|
|
|
|
<if test="returnName != null">#{returnName},</if>
|
|
|
|
|
<if test="returnTime != null">#{returnTime},</if>
|
|
|
|
|
<if test="returnStatus != null">#{returnStatus},</if>
|
|
|
|
|
<if test="shelvesTime != null">#{shelvesTime},</if>
|
|
|
|
|
<if test="returnMessage != null">#{returnMessage},</if>
|
|
|
|
|
<if test="accountingStatus != null">#{accountingStatus},</if>
|
|
|
|
|
<if test="accountingTime != null">#{accountingTime},</if>
|
|
|
|
|
<if test="accountingMessage != null">#{accountingMessage},</if>
|
|
|
|
|
<if test="userDefined1 != null">#{userDefined1},</if>
|
|
|
|
|
<if test="userDefined2 != null">#{userDefined2},</if>
|
|
|
|
|
<if test="userDefined3 != null">#{userDefined3},</if>
|
|
|
|
|
<if test="userDefined4 != null">#{userDefined4},</if>
|
|
|
|
|
<if test="userDefined5 != null">#{userDefined5},</if>
|
|
|
|
|
<if test="userDefined6 != null">#{userDefined6},</if>
|
|
|
|
|
<if test="userDefined7 != null">#{userDefined7},</if>
|
|
|
|
|
<if test="userDefined8 != null">#{userDefined8},</if>
|
|
|
|
|
<if test="userDefined9 != null">#{userDefined9},</if>
|
|
|
|
|
<if test="userDefined10 != null">#{userDefined10},</if>
|
|
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
|
|
<if test="gmtCreate != null">#{gmtCreate},</if>
|
|
|
|
|
<if test="lastModifiedBy != null">#{lastModifiedBy},</if>
|
|
|
|
|
<if test="gmtModified != null">#{gmtModified},</if>
|
|
|
|
|
<if test="activeFlag != null">#{activeFlag},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<update id="updateWmsRawOrderIn" parameterType="WmsRawOrderIn">
|
|
|
|
|
update wms_raw_order_in
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
|
|
|
|
|
<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="orderInType != null">order_in_type = #{orderInType},</if>
|
|
|
|
|
<if test="orderNo != null">order_no = #{orderNo},</if>
|
|
|
|
|
<if test="dnNo != null">dn_no = #{dnNo},</if>
|
|
|
|
|
<if test="poNo != null">po_no = #{poNo},</if>
|
|
|
|
|
<if test="poLine != null">po_line = #{poLine},</if>
|
|
|
|
|
<if test="poType != null">po_type = #{poType},</if>
|
|
|
|
|
<if test="materialCode != null">material_code = #{materialCode},</if>
|
|
|
|
|
<if test="materialDesc != null">material_desc = #{materialDesc},</if>
|
|
|
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
|
|
<if test="buyerGroup != null">buyer_group = #{buyerGroup},</if>
|
|
|
|
|
<if test="supplyCode != null">supply_code = #{supplyCode},</if>
|
|
|
|
|
<if test="sapFactoryCode != null">sap_factory_code = #{sapFactoryCode},</if>
|
|
|
|
|
<if test="sendSpot != null">send_spot = #{sendSpot},</if>
|
|
|
|
|
<if test="requestAmount != null">request_amount = #{requestAmount},</if>
|
|
|
|
|
<if test="receiptAmount != null">receipt_amount = #{receiptAmount},</if>
|
|
|
|
|
<if test="shelvesAmount != null">shelves_amount = #{shelvesAmount},</if>
|
|
|
|
|
<if test="location != null">location = #{location},</if>
|
|
|
|
|
<if test="requestTime != null">request_time = #{requestTime},</if>
|
|
|
|
|
<if test="qualityStatus != null">quality_status = #{qualityStatus},</if>
|
|
|
|
|
<if test="orderStatus != null">order_status = #{orderStatus},</if>
|
|
|
|
|
<if test="receiptOperator != null">receipt_operator = #{receiptOperator},</if>
|
|
|
|
|
<if test="receiptTime != null">receipt_time = #{receiptTime},</if>
|
|
|
|
|
<if test="shelvesOperator != null">shelves_operator = #{shelvesOperator},</if>
|
|
|
|
|
<if test="returnAmount != null">return_amount = #{returnAmount},</if>
|
|
|
|
|
<if test="returnName != null">return_name = #{returnName},</if>
|
|
|
|
|
<if test="returnTime != null">return_time = #{returnTime},</if>
|
|
|
|
|
<if test="returnStatus != null">return_status = #{returnStatus},</if>
|
|
|
|
|
<if test="shelvesTime != null">shelves_time = #{shelvesTime},</if>
|
|
|
|
|
<if test="returnMessage != null">return_message = #{returnMessage},</if>
|
|
|
|
|
<if test="accountingStatus != null">accounting_status = #{accountingStatus},</if>
|
|
|
|
|
<if test="accountingTime != null">accounting_time = #{accountingTime},</if>
|
|
|
|
|
<if test="accountingMessage != null">accounting_message = #{accountingMessage},</if>
|
|
|
|
|
<if test="userDefined1 != null">user_defined1 = #{userDefined1},</if>
|
|
|
|
|
<if test="userDefined2 != null">user_defined2 = #{userDefined2},</if>
|
|
|
|
|
<if test="userDefined3 != null">user_defined3 = #{userDefined3},</if>
|
|
|
|
|
<if test="userDefined4 != null">user_defined4 = #{userDefined4},</if>
|
|
|
|
|
<if test="userDefined5 != null">user_defined5 = #{userDefined5},</if>
|
|
|
|
|
<if test="userDefined6 != null">user_defined6 = #{userDefined6},</if>
|
|
|
|
|
<if test="userDefined7 != null">user_defined7 = #{userDefined7},</if>
|
|
|
|
|
<if test="userDefined8 != null">user_defined8 = #{userDefined8},</if>
|
|
|
|
|
<if test="userDefined9 != null">user_defined9 = #{userDefined9},</if>
|
|
|
|
|
<if test="userDefined10 != null">user_defined10 = #{userDefined10},</if>
|
|
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
|
|
<if test="gmtCreate != null">gmt_create = #{gmtCreate},</if>
|
|
|
|
|
<if test="lastModifiedBy != null">last_modified_by = #{lastModifiedBy},</if>
|
|
|
|
|
<if test="gmtModified != null">gmt_modified = #{gmtModified},</if>
|
|
|
|
|
<if test="activeFlag != null">active_flag = #{activeFlag},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
where raw_order_in_id = #{rawOrderInId}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
<delete id="deleteWmsRawOrderInByRawOrderInId" parameterType="String">
|
|
|
|
|
delete from wms_raw_order_in where raw_order_in_id = #{rawOrderInId}
|
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
<delete id="deleteWmsRawOrderInByRawOrderInIds" parameterType="String">
|
|
|
|
|
delete from wms_raw_order_in where raw_order_in_id in
|
|
|
|
|
<foreach item="rawOrderInId" collection="array" open="(" separator="," close=")">
|
|
|
|
|
#{rawOrderInId}
|
|
|
|
|
</foreach>
|
|
|
|
|
</delete>
|
|
|
|
|
</mapper>
|