|
|
|
<?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="insertWmsRuturnPutEmbryo">
|
|
|
|
insert into wms_ruturn_put_embryo
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<sql id="selectWmsRuturnPutEmbryoVo">
|
|
|
|
select id, factory_code, product_order, wh_code, wa_code, wl_code, product_name, product_code, product_sort, speciFication as speciFication, unit_of_measure, plan_quantity, put_quantity, status, SAP_status, SAP_proof, SAP_message, put_date, attr1, attr2, attr3, attr4, attr5, attr6, attr7, attr8, attr9, attr10, create_by, create_time, update_by, update_time from wms_ruturn_put_embryo
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectWmsRuturnPutEmbryoList" parameterType="WmsRuturnPutEmbryo" resultMap="WmsRuturnPutEmbryoResult">
|
|
|
|
<include refid="selectWmsRuturnPutEmbryoVo"/>
|
|
|
|
<where>
|
|
|
|
<if test="factoryCode != null and factoryCode != ''">
|
|
|
|
and factory_code = #{factoryCode}
|
|
|
|
</if>
|
|
|
|
<if test="productOrder != null and productOrder != ''">
|
|
|
|
and product_order = #{productOrder}
|
|
|
|
</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="productName != null and productName != ''">
|
|
|
|
and product_name like concat('%', #{productName}, '%')
|
|
|
|
</if>
|
|
|
|
<if test="productCode != null and productCode != ''">
|
|
|
|
and product_code = #{productCode}
|
|
|
|
</if>
|
|
|
|
<if test="productSort != null and productSort != ''">
|
|
|
|
and product_sort = #{productSort}
|
|
|
|
</if>
|
|
|
|
<if test="speciFication != null and speciFication != ''">
|
|
|
|
and specification = #{speciFication}
|
|
|
|
</if>
|
|
|
|
<if test="unitOfMeasure != null and unitOfMeasure != ''">
|
|
|
|
and unit_of_measure = #{unitOfMeasure}
|
|
|
|
</if>
|
|
|
|
<if test="planQuantity != null ">
|
|
|
|
and plan_quantity = #{planQuantity}
|
|
|
|
</if>
|
|
|
|
<if test="putQuantity != null ">
|
|
|
|
and put_quantity = #{putQuantity}
|
|
|
|
</if>
|
|
|
|
<if test="status != null and status != ''">
|
|
|
|
and status = #{status}
|
|
|
|
</if>
|
|
|
|
<if test="sapStatus != null and sapStatus != ''">
|
|
|
|
and SAP_status = #{sapStatus}
|
|
|
|
</if>
|
|
|
|
<if test="sapProof != null and sapProof != ''">
|
|
|
|
and SAP_proof = #{sapProof}
|
|
|
|
</if>
|
|
|
|
<if test="sapMessage != null and sapMessage != ''">
|
|
|
|
and SAP_message = #{sapMessage}
|
|
|
|
</if>
|
|
|
|
<if test="putDate != null ">
|
|
|
|
and put_date = #{putDate}
|
|
|
|
</if>
|
|
|
|
<if test="attr1 != null and attr1 != ''">
|
|
|
|
and attr1 = #{attr1}
|
|
|
|
</if>
|
|
|
|
<if test="attr2 != null and attr2 != ''">
|
|
|
|
and attr2 = #{attr2}
|
|
|
|
</if>
|
|
|
|
<if test="attr3 != null and attr3 != ''">
|
|
|
|
and attr3 = #{attr3}
|
|
|
|
</if>
|
|
|
|
<if test="attr4 != null and attr4 != ''">
|
|
|
|
and attr4 = #{attr4}
|
|
|
|
</if>
|
|
|
|
<if test="attr5 != null and attr5 != ''">
|
|
|
|
and attr5 = #{attr5}
|
|
|
|
</if>
|
|
|
|
<if test="attr6 != null and attr6 != ''">
|
|
|
|
and attr6 = #{attr6}
|
|
|
|
</if>
|
|
|
|
<if test="attr7 != null and attr7 != ''">
|
|
|
|
and attr7 = #{attr7}
|
|
|
|
</if>
|
|
|
|
<if test="attr8 != null and attr8 != ''">
|
|
|
|
and attr8 = #{attr8}
|
|
|
|
</if>
|
|
|
|
<if test="attr9 != null and attr9 != ''">
|
|
|
|
and attr9 = #{attr9}
|
|
|
|
</if>
|
|
|
|
<if test="attr10 != null and attr10 != ''">
|
|
|
|
and attr10 = #{attr10}
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</mapper>
|