|
|
@ -118,6 +118,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="orderNo != null">and workorder_code_sap like concat like ('%',#{orderNo})</if>
|
|
|
|
<if test="orderNo != null">and workorder_code_sap like concat like ('%',#{orderNo})</if>
|
|
|
|
order by product_date desc
|
|
|
|
order by product_date desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getProductWorkOrder" resultType="com.op.quality.domain.QcCheckTaskIncome">
|
|
|
|
|
|
|
|
select work_order orderNo,
|
|
|
|
|
|
|
|
product_name materialName,
|
|
|
|
|
|
|
|
product_code materialCode,
|
|
|
|
|
|
|
|
batch_number incomeBatchNo,
|
|
|
|
|
|
|
|
plan_quantity quality,
|
|
|
|
|
|
|
|
status,
|
|
|
|
|
|
|
|
create_time incomeTime
|
|
|
|
|
|
|
|
from wms_product_put
|
|
|
|
|
|
|
|
where 1=1
|
|
|
|
|
|
|
|
<if test="orderNo != null">and work_order like concat like ('%',#{orderNo})</if>
|
|
|
|
|
|
|
|
order by create_time desc
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertQcCheckUnqualified" parameterType="QcCheckUnqualified">
|
|
|
|
<insert id="insertQcCheckUnqualified" parameterType="QcCheckUnqualified">
|
|
|
|
insert into qc_check_unqualified
|
|
|
|
insert into qc_check_unqualified
|
|
|
|