| | |
| | | <result column="memo" property="memo" /> |
| | | <result column="move_status" property="moveStatus" /> |
| | | <result column="pakin_pakout_status" property="pakinPakoutStatus" /> |
| | | <result column="kp_cstmr_name" property="kpCstmrName" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | and id = #{orderId} |
| | | </update> |
| | | |
| | | <update id="updateSettleStep"> |
| | | update man_order |
| | | set settle = #{settle} |
| | | ,update_time = getdate() |
| | | ,step = #{step} |
| | | ,memo = #{memo} |
| | | ,remark = #{remark} |
| | | <if test="userId != null"> |
| | | ,update_by = #{userId} |
| | | </if> |
| | | where 1=1 |
| | | and id = #{orderId} |
| | | </update> |
| | | |
| | | <select id="selectComplete" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | select top 100 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 4 |
| | |
| | | </select> |
| | | |
| | | <select id="selectComplete99" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | select top 100 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 99 |
| | |
| | | </select> |
| | | |
| | | <select id="selectComplete8" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | select top 100 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 8 |