| | |
| | | iuh.off_grade_ascription, |
| | | iuh.unqualified_desc, |
| | | iuh.inventory_quantity_id, |
| | | iuh.oa_state, |
| | | iuh.request_id, |
| | | iuh.file_url, |
| | | iuh.headline |
| | | from |
| | | ins_unqualified_handler iuh |
| | |
| | | iuh.classification, |
| | | iuh.off_grade_ascription, |
| | | iuh.unqualified_desc, |
| | | iuh.inventory_quantity_id, |
| | | iuh.request_id, |
| | | iuh.oa_state, |
| | | iuh.file_url |
| | | iuh.inventory_quantity_id |
| | | from |
| | | ins_unqualified_handler iuh |
| | | inner join |
| | |
| | | on |
| | | iuh.inventory_quantity_id = iiq.id)tempA |
| | | where tempA.handler_id = #{id} |
| | | </select> |
| | | <select id="getOaFlow" resultType="com.ruoyi.inspect.pojo.CommonOa"> |
| | | select co.id, |
| | | co.node_name, |
| | | co.operation, |
| | | co.approver, |
| | | co.approval_date, |
| | | co.approval_time, |
| | | co.approval_opinion, |
| | | co.workflow_id |
| | | from common_oa co |
| | | left join ins_unqualified_handler iuh on iuh.request_id = co.workflow_id |
| | | where iuh.id = #{id} |
| | | and operation != '抄送' |
| | | group by co.node_name |
| | | </select> |
| | | </mapper> |