chenlu
2025-08-04 6d390204f55d6bbb6f9eb7a97a9ebf48bfd2c2fd
north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -110,7 +110,7 @@
            sd.`order` as o
        left join mm.finished_goods_inventory as  fgi
        on o.order_id = fgi.order_id
        where  date(o.create_time)>=#{startDate} and date(o.create_time) <= #{endDate}
        where  date(o.create_time) between #{startDate} and  #{endDate}
          <if test="orderType!= null and orderType != ''">
               and o.create_order = #{orderType}
@@ -432,4 +432,8 @@
        where order_id = #{orderId}
    </select>
    <update id="updateOrderFile">
        update sd.order_file set file_name=#{fileName},file_data=#{dxfData},create_time=now() where order_id=#{orderId} and order_number=#{orderNumber}
    </update>
</mapper>