| | |
| | | <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> |
| | | |
| | |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 4 |
| | | -- and settle = 97 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | <select id="selectComplete10" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 10 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | <select id="selectComplete9" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 9 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | |
| | | <select id="selectComplete1" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 1 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | |
| | | <select id="selectComplete99" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 99 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | |
| | |
| | | and move_status = 1 |
| | | order by update_time |
| | | </select> |
| | | |
| | | <select id="AllStatusSatisfyOrder" resultType="String"> |
| | | select order_no |
| | | from man_order |
| | | where move_status = #{moveStatus} |
| | | </select> |
| | | |
| | | <update id="updateOrderStatus"> |
| | | update man_order |
| | | set move_status = 1 |
| | | where 1=1 |
| | | and order_no = #{orderNo} |
| | | </update> |
| | | |
| | | </mapper> |