|
|
|
@ -266,14 +266,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
mrw.unit,
|
|
|
|
|
mrw.quantity,
|
|
|
|
|
mrw.quantity_feedback quantityFeedback,
|
|
|
|
|
bpa.iei,
|
|
|
|
|
bpa.man_standar manStandar,
|
|
|
|
|
ISNULL(bpa.iei, '0') iei,
|
|
|
|
|
ISNULL(bpa.man_standar, '0') manStandar,
|
|
|
|
|
mrw.use_man useMan,
|
|
|
|
|
mrw.work_time workTime
|
|
|
|
|
from mes_report_work mrw
|
|
|
|
|
left join pro_order_workorder ow on ow.workorder_code = mrw.workorder_code
|
|
|
|
|
left join base_team_t tm on mrw.team_code = tm.Team_Code
|
|
|
|
|
left join base_product_attached bpa on bpa.product_code = mrw.product_code
|
|
|
|
|
left join base_product_attached bpa on bpa.product_code = right(mrw.product_code,11)
|
|
|
|
|
where CONVERT(varchar(10),ow.product_date, 23) = CONVERT(varchar(10), #{productDateStr}, 23)
|
|
|
|
|
and mrw.work_center = #{workCenter} and mrw.parent_order != '0'
|
|
|
|
|
order by ow.workorder_code
|
|
|
|
|