自动化立体仓库 - WMS系统
1
zhang
4 天以前 51f6b1ae7c10506910a09c7926429e19949e8421
src/main/resources/mapper/OrderMapper.xml
@@ -64,9 +64,7 @@
        update man_order
        set settle = #{settle}
        ,update_time = getdate()
        <if test="plt != null">
            ,plt_type = #{plt}
        </if>
        ,plt_type = #{plt}
        ,in_time = #{inTime}
        where 1=1
        and id = #{orderId}
@@ -90,4 +88,13 @@
        </if>
    </select>
    <select id="selectThreeCode" parameterType="string" resultType="string">
        select top 50 three_code
        from three_code_view
        where 1=1
        <if test="threeCode != null">
           and three_code like '%' + #{threeCode} + '%'
        </if>
    </select>
</mapper>