自动化立体仓库 - WMS系统
pang.jiabao
2024-11-26 e6ec6cd0e0fab11bf79f052be352a66db2dd51d3
src/main/resources/mapper/OrderMapper.xml
@@ -39,6 +39,7 @@
        <result column="update_by" property="updateBy" />
        <result column="update_time" property="updateTime" />
        <result column="memo" property="memo" />
        <result column="move_status" property="moveStatus" />
    </resultMap>
@@ -84,4 +85,19 @@
        </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>