| | |
| | | fc.founder, |
| | | date(fc.splitFrame_time) as splitFrame_time, |
| | | ogd.process, |
| | | c.concatNumber |
| | | c.concatNumber, |
| | | ifnull(fc.termination_quantity,0) as termination_quantity |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and |
| | |
| | | ORDER BY od.height DESC, od.width DESC |
| | | </if> |
| | | </select> |
| | | |
| | | <update id="updateTerminationMp"> |
| | | update pp.flow_card fc set fc.termination_quantity=#{value} |
| | | where fc.process_id = #{processId} and fc.order_number=#{orderNumber} |
| | | </update> |
| | | |
| | | <select id="selectCompletedMp"> |
| | | SELECT max(reporting_work_num) FROM sd.`order_process_detail` |
| | | where process_id=#{processId} and order_number=#{orderNumber} and process=#{interceptProcess} |
| | | </select> |
| | | </mapper> |