| | |
| | | fc.print_status, |
| | | ogd.process, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')) AS glassNumber, |
| | | od.order_number |
| | | od.order_number, |
| | | od.width, |
| | | od.height |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on ogd.order_id = fc.order_id and ogd.order_number = fc.order_number and |
| | |
| | | fc.print_status, |
| | | ogd.process, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')) AS glassNumber, |
| | | od.order_number |
| | | od.order_number, |
| | | ogd.child_width as width, |
| | | ogd.child_height as height |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on ogd.order_id = fc.order_id and ogd.order_number = fc.order_number and |
| | |
| | | group by a.order_number) as c |
| | | order by c.`long` desc |
| | | </select> |
| | | |
| | | <!-- 复选框修改排版状态--> |
| | | <update id="revokeComposing"> |
| | | update flow_card as fc |
| | | set fc.layout_status=0 |
| | | where fc.process_id = #{processId} |
| | | </update> |
| | | |
| | | <select id="selectProjectNo"> |
| | | SELECT COUNT(*) |
| | | FROM flow_card |
| | | WHERE process_id= #{processId} and project_no IS not NULL; |
| | | </select> |
| | | </mapper> |