|
|
@ -17,6 +17,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="qualityUnqualifiedNum" column="quality_unqualified_num" /> |
|
|
|
<result property="deliveryInspectionTime" column="delivery_inspection_time" /> |
|
|
|
<result property="qualityEmployee" column="quality_employee" /> |
|
|
|
<result property="warehouseCode" column="warehouse_code" /> |
|
|
|
<result property="warehouseName" column="warehouse_name" /> |
|
|
|
<result property="remark" column="remark" /> |
|
|
|
<result property="createBy" column="create_by" /> |
|
|
|
<result property="createTime" column="create_time" /> |
|
|
@ -25,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectQualityOrderVo"> |
|
|
|
select quality_order_id, quality_order_code, in_storage_code, related_order_code, quality_status, quality_order_type, quality_storage_status, this_arrived_num, quality_qualified_num, quality_unqualified_num, delivery_inspection_time, quality_employee, remark, create_by, create_time, update_by, update_time from quality_order |
|
|
|
select quality_order_id, quality_order_code, in_storage_code, related_order_code, quality_status, quality_order_type, quality_storage_status, this_arrived_num, quality_qualified_num, quality_unqualified_num, warehouse_code, warehouse_name,delivery_inspection_time, quality_employee, remark, create_by, create_time, update_by, update_time from quality_order |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectQualityOrderList" parameterType="QualityOrder" resultMap="QualityOrderResult"> |
|
|
@ -61,6 +63,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="qualityUnqualifiedNum != null">quality_unqualified_num,</if> |
|
|
|
<if test="deliveryInspectionTime != null">delivery_inspection_time,</if> |
|
|
|
<if test="qualityEmployee != null">quality_employee,</if> |
|
|
|
<if test="warehouseCode != null">warehouse_code,</if> |
|
|
|
<if test="warehouseName != null">warehouse_name,</if> |
|
|
|
<if test="remark != null">remark,</if> |
|
|
|
<if test="createBy != null">create_by,</if> |
|
|
|
<if test="createTime != null">create_time,</if> |
|
|
@ -79,6 +83,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="qualityUnqualifiedNum != null">#{qualityUnqualifiedNum},</if> |
|
|
|
<if test="deliveryInspectionTime != null">#{deliveryInspectionTime},</if> |
|
|
|
<if test="qualityEmployee != null">#{qualityEmployee},</if> |
|
|
|
<if test="warehouseCode != null">#{warehouseCode},</if> |
|
|
|
<if test="warehouseName != null">#{warehouseName},</if> |
|
|
|
<if test="remark != null">#{remark},</if> |
|
|
|
<if test="createBy != null">#{createBy},</if> |
|
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
@ -101,6 +107,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="qualityUnqualifiedNum != null">quality_unqualified_num = #{qualityUnqualifiedNum},</if> |
|
|
|
<if test="deliveryInspectionTime != null">delivery_inspection_time = #{deliveryInspectionTime},</if> |
|
|
|
<if test="qualityEmployee != null">quality_employee = #{qualityEmployee},</if> |
|
|
|
<if test="warehouseCode != null">warehouse_code = #{warehouseCode},</if> |
|
|
|
<if test="warehouseName != null">warehouse_name = #{warehouseName},</if> |
|
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
|
<if test="createBy != null">create_by = #{createBy},</if> |
|
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
|