| | |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="memo" property="memo" /> |
| | | <result column="move_status" property="moveStatus" /> |
| | | <result column="pakin_pakout_status" property="pakinPakoutStatus" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | <select id="selectComplete9" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order_pakout |
| | | where 1=1 |
| | | and settle = 9 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | <select id="selectComplete10" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order_pakout |
| | | where 1=1 |
| | | and settle = 10 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | |
| | | <select id="selectComplete8" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | |
| | | </select> |
| | | |
| | | <insert id="addToLogTable"> |
| | | INSERT INTO man_order_log SELECT * FROM man_order WHERE id = #{id} |
| | | INSERT INTO man_order_log_pakout SELECT * FROM man_order_pakout WHERE id = #{id} |
| | | </insert> |
| | | |
| | | <select id="selectorderNoL" resultMap="BaseResultMap"> |
| | |
| | | order by update_time |
| | | </select> |
| | | |
| | | <select id="AllStatusSatisfyOrder" resultType="String"> |
| | | select order_no |
| | | from man_order_pakout |
| | | where move_status = #{moveStatus} |
| | | </select> |
| | | |
| | | <update id="updateOrderStatus"> |
| | | update man_order_pakout |
| | | set move_status = 1 |
| | | where 1=1 |
| | | and order_no = #{orderNo} |
| | | </update> |
| | | |
| | | </mapper> |