|
|
|
@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
<sql id="selectQcCheckTaskProduceVo">
|
|
|
|
|
select record_id, check_no, batch_no, order_no, material_code, material_name,
|
|
|
|
|
quality, unit, supplier_code, supplier_name, produce_date, check_loc, check_status,
|
|
|
|
|
quality, unit, supplier_code, supplier_name, income_time, check_loc, check_status,
|
|
|
|
|
check_man_code, check_man_name, check_time, check_result, status, attr1,
|
|
|
|
|
attr2, attr3, attr4, create_by, create_time, update_by, update_time,
|
|
|
|
|
factory_code, del_flag , check_type
|
|
|
|
@ -57,7 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
|
|
|
|
<if test="supplierCode != null and supplierCode != ''"> and supplier_code = #{supplierCode}</if>
|
|
|
|
|
<if test="supplierName != null and supplierName != ''"> and supplier_name like concat('%', #{supplierName}, '%')</if>
|
|
|
|
|
<if test="produceDate != null "> and produce_date = #{produceDate}</if>
|
|
|
|
|
<if test="produceDate != null "> and income_time = #{produceDate}</if>
|
|
|
|
|
<if test="checkLoc != null and checkLoc != ''"> and check_loc = #{checkLoc}</if>
|
|
|
|
|
<if test="checkStatus != null and checkStatus != ''"> and check_status = #{checkStatus}</if>
|
|
|
|
|
<if test="checkManCode != null and checkManCode != ''"> and check_man_code = #{checkManCode}</if>
|
|
|
|
@ -115,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="unit != null">unit,</if>
|
|
|
|
|
<if test="supplierCode != null">supplier_code,</if>
|
|
|
|
|
<if test="supplierName != null">supplier_name,</if>
|
|
|
|
|
<if test="produceDate != null">produce_date,</if>
|
|
|
|
|
<if test="produceDate != null">income_time,</if>
|
|
|
|
|
<if test="checkLoc != null">check_loc,</if>
|
|
|
|
|
<if test="checkStatus != null">check_status,</if>
|
|
|
|
|
<if test="checkManCode != null">check_man_code,</if>
|
|
|
|
@ -180,7 +180,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
|
|
<if test="supplierCode != null">supplier_code = #{supplierCode},</if>
|
|
|
|
|
<if test="supplierName != null">supplier_name = #{supplierName},</if>
|
|
|
|
|
<if test="produceDate != null">produce_date = #{produceDate},</if>
|
|
|
|
|
<if test="produceDate != null">income_time = #{produceDate},</if>
|
|
|
|
|
<if test="checkLoc != null">check_loc = #{checkLoc},</if>
|
|
|
|
|
<if test="checkStatus != null">check_status = #{checkStatus},</if>
|
|
|
|
|
<if test="checkManCode != null">check_man_code = #{checkManCode},</if>
|
|
|
|
|