where (mes_saleswarehouseing_b2.dr = '0') and (mes_transcripts_h.dr = '0') and (mes_saleswarehouseing_h.dr = '0') and (mes_saleswarehouseing_h.FORDERTYPE = '1') and (mes_SalesWarehouseing_h.ccustomerid='${客户}') and (mes_SalesWarehouseing_h.ddeliverdate>='${开始日期}') and (mes_SalesWarehouseing_h.ddeliverdate<='${结束日期}') 以下是改写前的固定条件 and (mes_SalesWarehouseing_h.ccustomerid='00016610000000003I9S') and (mes_SalesWarehouseing_h.ddeliverdate>='2020-01-01') and (mes_SalesWarehouseing_h.ddeliverdate<='2020-11-30') |