|
|
@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="processBadClassification" column="process_bad_classification" /> |
|
|
|
<result property="processBadGrade" column="process_bad_grade" /> |
|
|
|
<result property="processBadNum" column="process_bad_num" /> |
|
|
|
<result property="processBadPhotourl" column="process_bad_photourl" /> |
|
|
|
<result property="remark" column="remark" /> |
|
|
|
<result property="createBy" column="create_by" /> |
|
|
|
<result property="createTime" column="create_time" /> |
|
|
@ -21,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectQualityManufacturingUnqualifiedClassVo"> |
|
|
|
select manufacturing_unqualified_class_id, manufacturing_checkout_code, manufacturing_process_code, manufacturing_process_name, process_bad_classification, process_bad_grade, process_bad_num, remark, create_by, create_time, update_by, update_time, material_no from quality_manufacturing_unqualified_class |
|
|
|
select manufacturing_unqualified_class_id, manufacturing_checkout_code, manufacturing_process_code, manufacturing_process_name, process_bad_classification, process_bad_grade, process_bad_num, remark, create_by, create_time, update_by, update_time, material_no, process_bad_photourl from quality_manufacturing_unqualified_class |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectQualityManufacturingUnqualifiedClassList" parameterType="QualityManufacturingUnqualifiedClass" resultMap="QualityManufacturingUnqualifiedClassResult"> |
|
|
@ -45,6 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="processBadClassification != null">process_bad_classification,</if> |
|
|
|
<if test="processBadGrade != null">process_bad_grade,</if> |
|
|
|
<if test="processBadNum != null">process_bad_num,</if> |
|
|
|
<if test="processBadPhotourl != null">process_bad_photourl,</if> |
|
|
|
<if test="remark != null">remark,</if> |
|
|
|
<if test="createBy != null">create_by,</if> |
|
|
|
<if test="createTime != null">create_time,</if> |
|
|
@ -59,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="processBadClassification != null">#{processBadClassification},</if> |
|
|
|
<if test="processBadGrade != null">#{processBadGrade},</if> |
|
|
|
<if test="processBadNum != null">#{processBadNum},</if> |
|
|
|
<if test="processBadPhotourl != null">#{processBadPhotourl},</if> |
|
|
|
<if test="remark != null">#{remark},</if> |
|
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
@ -77,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="processBadClassification != null">process_bad_classification = #{processBadClassification},</if> |
|
|
|
<if test="processBadGrade != null">process_bad_grade = #{processBadGrade},</if> |
|
|
|
<if test="processBadNum != null">process_bad_num = #{processBadNum},</if> |
|
|
|
<if test="processBadPhotourl != null">process_bad_photourl = #{processBadPhotourl},</if> |
|
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
|
<if test="createBy != null">create_by = #{createBy},</if> |
|
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
|