自动化立体仓库 - WMS系统
dubin
2026-03-18 2a9f6d72baa207bc91c98d0a5cd2235be9816691
src/main/resources/mapper/OrderMapper.xml
@@ -40,6 +40,7 @@
        <result column="update_time" property="updateTime" />
        <result column="memo" property="memo" />
        <result column="move_status" property="moveStatus" />
        <result column="operate_type" property="operateType" />
        <result column="temp1" property="temp1" />
        <result column="temp2" property="temp2" />
@@ -57,6 +58,17 @@
        </if>
        where 1=1
        and id = #{orderId}
    </update>
    <update id="updateSettleAndGroupingFlag">
        update
            man_order
        set
            settle = #{settle},
            account_day = #{account_day} ,
            update_time = getdate()
        where
            1 = 1
          and id = #{orderId}
    </update>
    <select id="selectWork" resultMap="BaseResultMap">
@@ -113,5 +125,17 @@
        and move_status = 1
        order by update_time
    </select>
    <select id="selectNotGroupingList" resultMap="BaseResultMap">
        select
            *
        from
            man_order mo
                left join man_doc_type mdt on
                mo.doc_type = mdt.doc_id
        where
            mdt.pakin = 1
          and mo.account_day = 0
          and mo.settle = 1
    </select>
</mapper>