| | |
| | | <result column="update_by" property="updateBy" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="memo" property="memo" /> |
| | | <result column="move_status" property="moveStatus" /> |
| | | |
| | | </resultMap> |
| | | |
| | |
| | | order by create_time asc |
| | | </select> |
| | | |
| | | <select id="selectComplete8" resultMap="BaseResultMap"> |
| | | select top 5 * |
| | | from man_order |
| | | where 1=1 |
| | | and settle = 8 |
| | | and status = 1 |
| | | order by create_time asc |
| | | </select> |
| | | |
| | | <insert id="addToLogTable"> |
| | | INSERT INTO man_order_log SELECT * FROM man_order WHERE id = #{id} |
| | | </insert> |
| | | |
| | | <select id="selectorderNoL" resultMap="BaseResultMap"> |
| | | select top 10 * |
| | | from man_order |
| | | where 1=1 |
| | | <if test="orderNo != null"> |
| | | and order_no = #{orderNo} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectOrderMoveStatus" resultMap="BaseResultMap"> |
| | | select top 1 * |
| | | from man_order |
| | | where 1=1 |
| | | and move_status = 2 |
| | | </select> |
| | | |
| | | <select id="selectOrderMoveStatusInitial" resultMap="BaseResultMap"> |
| | | select top 1 * |
| | | from man_order |
| | | where 1=1 |
| | | and move_status = 1 |
| | | order by update_time |
| | | </select> |
| | | |
| | | </mapper> |