Merge remote-tracking branch 'origin/master'

master
陈恒杰 3 months ago
commit b294a02e60

@ -75,7 +75,7 @@
<if test="materialName != null and materialName != ''">and qct.material_name like concat('%',#{materialName}, '%')</if>
<if test="supplierCode != null and supplierCode != ''">and qct.supplier_code = #{supplierCode}</if>
<if test="supplierName != null and supplierName != ''">and qct.supplier_name like concat('%',#{supplierName}, '%')</if>
<if test="checkLoc != null and checkLoc != ''">and qct.check_loc = #{checkLoc}</if>
<if test="checkLoc != null and checkLoc != ''">and qct.check_loc like concat('%', #{checkLoc}, '%')</if>
<if test="checkStatus != null and checkStatus != ''">and qct.check_status = #{checkStatus}</if>
<if test="checkManCode != null and checkManCode != ''">and qct.check_man_code = #{checkManCode}</if>
<if test="checkManName != null and checkManName != ''">and qct.check_man_name like concat('%',#{checkManName}, '%')</if>

@ -60,8 +60,8 @@
left join qc_check_type q on q.id = qct.check_type
left join pro_order_workorder pow on pow.workorder_code = qct.order_no
<where>
<if test="checkNo != null and checkNo != ''">and qct.check_no = #{checkNo}</if>
<if test="incomeBatchNo != null and incomeBatchNo != ''">and qct.income_batch_no = #{incomeBatchNo}</if>
<if test="checkNo != null and checkNo != ''">and qct.check_no like concat('%', #{checkNo}, '%')</if>
<if test="incomeBatchNo != null and incomeBatchNo != ''">and qct.income_batch_no like concat('%', #{incomeBatchNo}, '%')</if>
<if test="orderNo != null and orderNo != ''">and qct.order_no = #{orderNo}</if>
<if test="workorderCodeSap != null and workorderCodeSap != ''">and pow.workorder_code_sap like concat('%',#{workorderCodeSap}, '%')</if>
<if test="materialCode != null and materialCode != ''">and qct.material_code like concat('%',#{materialCode}, '%') </if>

@ -152,7 +152,7 @@
<if test="reportRate != null and reportRate != ''">and bp.report_rate = #{reportRate}</if>
<if test="mvgr5 != null and mvgr5 != ''">and bp.mvgr5 like concat('%', #{mvgr5},'%') </if>
<if test="cpkType != null and cpkType != ''">and bpa.cpk_type =#{cpkType} </if>
and bp.del_flag = '0'
and bp.del_flag = '0' and bp.product_code not like '00000000%'
</where>
order by bp.product_code asc
</select>

Loading…
Cancel
Save