| | |
| | | </foreach> |
| | | </insert> |
| | | |
| | | </mapper> |
| | | <select id="getNotFinishWorkOrderErrors" resultType="string"> |
| | | SELECT |
| | | ot.error_name |
| | | FROM |
| | | t_work_order_error_type ot |
| | | INNER JOIN t_work_order wo ON wo.work_order_no = ot.work_order_no AND wo.work_order_no = #{workOrderNo} AND wo.status != 'AUDITING_SUCCESS' |
| | | </select> |
| | | |
| | | <insert id="addMany"> |
| | | INSERT INTO t_work_order_error_type (work_order_no, error_name, create_time, update_time, deleted) VALUES |
| | | <foreach collection="errorTypeList" item="errorType" separator=","> |
| | | (#{errorType.workOrderNo}, #{errorType.errorName}, #{errorType.createTime}, #{errorType.updateTime}, 0) |
| | | </foreach> |
| | | </insert> |
| | | |
| | | </mapper> |