@@ -56,6 +56,10 @@ where t1.`update_time`>=@c_time
...
@@ -56,6 +56,10 @@ where t1.`update_time`>=@c_time
sql+=" and not EXISTS ( select * from dc_average_warehouse as ta where t1.warehouse_code =ta.warehouse_code and t1.bailun_sku =ta.bailun_sku and (ta.update_time>'2021-03-12' ) ) ";
sql+=" and not EXISTS ( select * from dc_average_warehouse as ta where t1.warehouse_code =ta.warehouse_code and t1.bailun_sku =ta.bailun_sku and (ta.update_time>'2021-03-12' ) ) ";
}
}
sql+=" group by t1.bailun_sku,t1.warehouse_code ";
sql+=" group by t1.bailun_sku,t1.warehouse_code ";