|
|
@ -24,7 +24,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="inspector" column="inspector" />
|
|
|
|
<result property="inspector" column="inspector" />
|
|
|
|
<result property="shift" column="shift" />
|
|
|
|
<result property="shift" column="shift" />
|
|
|
|
<result property="team" column="team" />
|
|
|
|
<result property="team" column="team" />
|
|
|
|
<result property="inspectionTime" column="inspection_time" />
|
|
|
|
<result property="inspectionStartTime" column="inspection_start_time" />
|
|
|
|
|
|
|
|
<result property="inspectionEndTimeTime" column="inspection_end_time" />
|
|
|
|
|
|
|
|
|
|
|
|
<result property="productionOrder" column="production_order" />
|
|
|
|
<result property="productionOrder" column="production_order" />
|
|
|
|
<result property="batchNo" column="batch_no" />
|
|
|
|
<result property="batchNo" column="batch_no" />
|
|
|
|
<result property="barcode" column="barcode" />
|
|
|
|
<result property="barcode" column="barcode" />
|
|
|
@ -34,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectQcInspectionMainVo">
|
|
|
|
<sql id="selectQcInspectionMainVo">
|
|
|
|
select inspection_id, tenant_id,
|
|
|
|
select inspection_id, tenant_id,
|
|
|
|
plan_detail_id,
|
|
|
|
plan_detail_id,inspection_end_time,inspection_start_time,
|
|
|
|
inspection_no, template_id, material_code, material_type, material_name, process_name, station_name, inspection_qty, qualified_qty, unqualified_qty, result, workshop, inspection_type, status, inspector, shift, team, inspection_time, production_order, batch_no, barcode, supplier_name, remark, create_dept, create_by, create_time, update_by, update_time, del_flag
|
|
|
|
inspection_no, template_id, material_code, material_type, material_name, process_name, station_name, inspection_qty, qualified_qty, unqualified_qty, result, workshop, inspection_type, status, inspector, shift, team, inspection_time, production_order, batch_no, barcode, supplier_name, remark, create_dept, create_by, create_time, update_by, update_time, del_flag
|
|
|
|
from qc_inspection_main
|
|
|
|
from qc_inspection_main
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
@ -61,7 +63,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="inspector != null and inspector != ''"> and inspector = #{inspector}</if>
|
|
|
|
<if test="inspector != null and inspector != ''"> and inspector = #{inspector}</if>
|
|
|
|
<if test="shift != null and shift != ''"> and shift = #{shift}</if>
|
|
|
|
<if test="shift != null and shift != ''"> and shift = #{shift}</if>
|
|
|
|
<if test="team != null and team != ''"> and team = #{team}</if>
|
|
|
|
<if test="team != null and team != ''"> and team = #{team}</if>
|
|
|
|
<if test="inspectionTime != null "> and inspection_time = #{inspectionTime}</if>
|
|
|
|
<if test="inspectionStarTime != null "> and inspection_start_time = #{inspectionStarTime}</if>
|
|
|
|
|
|
|
|
<if test="inspectionEndTime != null "> and inspection_end_time = #{inspectionEndTime}</if>
|
|
|
|
<if test="productionOrder != null and productionOrder != ''"> and production_order = #{productionOrder}</if>
|
|
|
|
<if test="productionOrder != null and productionOrder != ''"> and production_order = #{productionOrder}</if>
|
|
|
|
<if test="batchNo != null and batchNo != ''"> and batch_no = #{batchNo}</if>
|
|
|
|
<if test="batchNo != null and batchNo != ''"> and batch_no = #{batchNo}</if>
|
|
|
|
<if test="barcode != null and barcode != ''"> and barcode = #{barcode}</if>
|
|
|
|
<if test="barcode != null and barcode != ''"> and barcode = #{barcode}</if>
|
|
|
|