|
|
@ -12,6 +12,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="materialCode" column="material_code" />
|
|
|
|
<result property="materialCode" column="material_code" />
|
|
|
|
<result property="materialName" column="material_name" />
|
|
|
|
<result property="materialName" column="material_name" />
|
|
|
|
<result property="quality" column="quality" />
|
|
|
|
<result property="quality" column="quality" />
|
|
|
|
|
|
|
|
<result property="sampleQuality" column="sample_quality" />
|
|
|
|
|
|
|
|
<result property="noOkQuality" column="noOk_quality" />
|
|
|
|
<result property="unit" column="unit" />
|
|
|
|
<result property="unit" column="unit" />
|
|
|
|
<result property="supplierCode" column="supplier_code" />
|
|
|
|
<result property="supplierCode" column="supplier_code" />
|
|
|
|
<result property="supplierName" column="supplier_name" />
|
|
|
|
<result property="supplierName" column="supplier_name" />
|
|
|
@ -41,7 +43,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
quality, unit, supplier_code, supplier_name, income_time, 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,
|
|
|
|
check_man_code, check_man_name, check_time, check_result, status, attr1,
|
|
|
|
attr2, attr3, attr4, create_by, create_time, update_by, update_time,
|
|
|
|
attr2, attr3, attr4, create_by, create_time, update_by, update_time,
|
|
|
|
factory_code, del_flag , check_type
|
|
|
|
factory_code, del_flag , check_type,sample_quality,noOk_quality,
|
|
|
|
|
|
|
|
aNoOkquality,bNoOkquality,cNoOkquality
|
|
|
|
from qc_check_task
|
|
|
|
from qc_check_task
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
@ -50,7 +53,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
qct.order_no, qct.material_code, qct.material_name, qct.quality, qct.unit,
|
|
|
|
qct.order_no, qct.material_code, qct.material_name, qct.quality, qct.unit,
|
|
|
|
qct.supplier_code, qct.supplier_name, qct.income_time, qct.check_loc, qct.check_status,
|
|
|
|
qct.supplier_code, qct.supplier_name, qct.income_time, qct.check_loc, qct.check_status,
|
|
|
|
qct.check_man_code, qct.check_man_name,qct.check_time, qct.check_result, qct.status,
|
|
|
|
qct.check_man_code, qct.check_man_name,qct.check_time, qct.check_result, qct.status,
|
|
|
|
qct.create_by,qct.create_time, qct.update_by, qct.update_time,qct.check_type,
|
|
|
|
qct.create_by,qct.create_time, qct.update_by, qct.update_time,
|
|
|
|
|
|
|
|
qct.check_type,qct.sample_quality,qct.noOk_quality,
|
|
|
|
|
|
|
|
qct.aNoOkquality,qct.bNoOkquality,qct.cNoOkquality
|
|
|
|
q.type_code
|
|
|
|
q.type_code
|
|
|
|
from qc_check_task qct
|
|
|
|
from qc_check_task qct
|
|
|
|
left join qc_check_type q on q.id = qct.check_type
|
|
|
|
left join qc_check_type q on q.id = qct.check_type
|
|
|
@ -113,6 +118,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="materialCode != null">material_code,</if>
|
|
|
|
<if test="materialCode != null">material_code,</if>
|
|
|
|
<if test="materialName != null">material_name,</if>
|
|
|
|
<if test="materialName != null">material_name,</if>
|
|
|
|
<if test="quality != null">quality,</if>
|
|
|
|
<if test="quality != null">quality,</if>
|
|
|
|
|
|
|
|
<if test="sampleQuality != null">sample_quality,</if>
|
|
|
|
|
|
|
|
<if test="noOkQuality != null">noOk_quality,</if>
|
|
|
|
|
|
|
|
<if test="aNoOkquality != null">aNoOkquality,</if>
|
|
|
|
|
|
|
|
<if test="bNoOkquality != null">bNoOkquality,</if>
|
|
|
|
|
|
|
|
<if test="cNoOkquality != null">cNoOkquality,</if>
|
|
|
|
<if test="unit != null">unit,</if>
|
|
|
|
<if test="unit != null">unit,</if>
|
|
|
|
<if test="supplierCode != null">supplier_code,</if>
|
|
|
|
<if test="supplierCode != null">supplier_code,</if>
|
|
|
|
<if test="supplierName != null">supplier_name,</if>
|
|
|
|
<if test="supplierName != null">supplier_name,</if>
|
|
|
@ -144,6 +154,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="materialCode != null">#{materialCode},</if>
|
|
|
|
<if test="materialCode != null">#{materialCode},</if>
|
|
|
|
<if test="materialName != null">#{materialName},</if>
|
|
|
|
<if test="materialName != null">#{materialName},</if>
|
|
|
|
<if test="quality != null">#{quality},</if>
|
|
|
|
<if test="quality != null">#{quality},</if>
|
|
|
|
|
|
|
|
<if test="sampleQuality != null">#{sampleQuality},</if>
|
|
|
|
|
|
|
|
<if test="noOkQuality != null">#{noOkQuality},</if>
|
|
|
|
|
|
|
|
<if test="aNoOkquality != null">#{aNoOkquality},</if>
|
|
|
|
|
|
|
|
<if test="bNoOkquality != null">#{bNoOkquality},</if>
|
|
|
|
|
|
|
|
<if test="cNoOkquality != null">#{cNoOkquality},</if>
|
|
|
|
<if test="unit != null">#{unit},</if>
|
|
|
|
<if test="unit != null">#{unit},</if>
|
|
|
|
<if test="supplierCode != null">#{supplierCode},</if>
|
|
|
|
<if test="supplierCode != null">#{supplierCode},</if>
|
|
|
|
<if test="supplierName != null">#{supplierName},</if>
|
|
|
|
<if test="supplierName != null">#{supplierName},</if>
|
|
|
@ -178,6 +193,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="materialCode != null">material_code = #{materialCode},</if>
|
|
|
|
<if test="materialCode != null">material_code = #{materialCode},</if>
|
|
|
|
<if test="materialName != null">material_name = #{materialName},</if>
|
|
|
|
<if test="materialName != null">material_name = #{materialName},</if>
|
|
|
|
<if test="quality != null">quality = #{quality},</if>
|
|
|
|
<if test="quality != null">quality = #{quality},</if>
|
|
|
|
|
|
|
|
<if test="sampleQuality != null">sample_quality = #{sampleQuality},</if>
|
|
|
|
|
|
|
|
<if test="noOkQuality != null">noOk_quality = #{noOkQuality},</if>
|
|
|
|
|
|
|
|
<if test="aNoOkquality != null">aNoOkquality = #{aNoOkquality},</if>
|
|
|
|
|
|
|
|
<if test="bNoOkquality != null"> bNoOkquality = #{bNoOkquality},</if>
|
|
|
|
|
|
|
|
<if test="cNoOkquality != null">cNoOkquality = #{cNoOkquality},</if>
|
|
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
|
|
<if test="supplierCode != null">supplier_code = #{supplierCode},</if>
|
|
|
|
<if test="supplierCode != null">supplier_code = #{supplierCode},</if>
|
|
|
|
<if test="supplierName != null">supplier_name = #{supplierName},</if>
|
|
|
|
<if test="supplierName != null">supplier_name = #{supplierName},</if>
|
|
|
|