| | |
| | | left join reporting_work_detail as rwd on rw.reporting_work_id = rwd.reporting_work_id and rwd.technology_number=fc.technology_number |
| | | where fc.process_id = #{processIdStr} |
| | | and fc.technology_number = #{technologyStr} |
| | | and if(#{reportType}=1,o.order_type!='样品订单',o.order_id!='') |
| | | GROUP BY fc.process_id |
| | | </select> |
| | | |
| | |
| | | on patch.process_id = fc.process_id |
| | | and patch.order_sort = fc.order_number |
| | | and patch.technology_number = fc.technology_number |
| | | left join sd.`order` as o on o.order_id=od.order_id |
| | | |
| | | WHERE |
| | | fc.process_id = #{processIdStr} |
| | | AND fc.technology_number = #{technologyStr} |
| | | AND odpd.process = #{process} |
| | | and if(#{reportType}=1,o.order_type!='样品订单',o.order_id!='') |
| | | order by fc.order_number |
| | | </select> |
| | | |