| | |
| | | </resultMap> |
| | | |
| | | <update id="updateSettle"> |
| | | update man_receive set settle = #{settle} where 1=1 and order_no = #{orderNo} and host_id = #{hostId} |
| | | update man_order set settle = #{settle} where 1=1 and order_no = #{orderNo} and host_id = #{hostId} |
| | | </update> |
| | | <update id="updateStatus"> |
| | | UPDATE man_order set settle = 2, wave_no = null WHERE order_no = #{orderNo} |
| | |
| | | <update id="changeSettleTo12"> |
| | | UPDATE man_order set settle = 12 Where 1 = 1 and order_no = #{orderNo} |
| | | </update> |
| | | <update id="updateWrkSts"> |
| | | update man_order |
| | | set wrk_sts = #{wrkSts} |
| | | , update_by = #{userId} |
| | | , update_time = getdate() |
| | | where 1=1 |
| | | <if test="hostId != null and hostId != ''"> |
| | | and host_id = #{hostId} |
| | | </if> |
| | | <if test="wrkNo != null and wrkNo != ''"> |
| | | and wrk_no = #{wrkNo} |
| | | </if> |
| | | <if test="docNum != null and docNum != ''"> |
| | | and order_no = #{docNum} |
| | | </if> |
| | | </update> |
| | | |
| | | <select id="getPage" resultMap="BaseResultMap"> |
| | | select * from |