|
|
@ -493,7 +493,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
shift_code shiftCode,
|
|
|
|
shift_code shiftCode,
|
|
|
|
sum(quantity_feedback) quantityFeedback,
|
|
|
|
sum(quantity_feedback) quantityFeedback,
|
|
|
|
sum(work_time) workTime,
|
|
|
|
sum(work_time) workTime,
|
|
|
|
sum(use_man) useMan,
|
|
|
|
use_man useMan,
|
|
|
|
upload_status uploadStatus,
|
|
|
|
upload_status uploadStatus,
|
|
|
|
upload_time uploadTime,
|
|
|
|
upload_time uploadTime,
|
|
|
|
upload_msg uploadMsg,
|
|
|
|
upload_msg uploadMsg,
|
|
|
@ -507,7 +507,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="machineName != null and machineName != ''"> and machine_name like concat('%', #{machineName}, '%')</if>
|
|
|
|
<if test="machineName != null and machineName != ''"> and machine_name like concat('%', #{machineName}, '%')</if>
|
|
|
|
<if test="uploadStatus != null and uploadStatus != ''"> and upload_status = #{uploadStatus}</if>
|
|
|
|
<if test="uploadStatus != null and uploadStatus != ''"> and upload_status = #{uploadStatus}</if>
|
|
|
|
group by workorder_code, product_code,product_name,machine_code,machine_name,shift_code
|
|
|
|
group by workorder_code, product_code,product_name,machine_code,machine_name,shift_code
|
|
|
|
,upload_status,unit
|
|
|
|
,upload_status,unit,use_man
|
|
|
|
,upload_time,upload_msg
|
|
|
|
,upload_time,upload_msg
|
|
|
|
) mrw
|
|
|
|
) mrw
|
|
|
|
left join pro_order_workorder pow on mrw.workorderCode = pow.workorder_code
|
|
|
|
left join pro_order_workorder pow on mrw.workorderCode = pow.workorder_code
|
|
|
|