${IF(or(LEN(sku)>0,LEN(yj)>0,LEN(ej)>0), " SELECT e.yjfl,e.ejfl,e.colthname,a.colthno,colthno1,colthno2, colthno3,xse_yg,year_time,create_user,create_time,category2 FROM forecast_sales_year a left join product_info_all e on a.colthno=e.colthno WHERE year_time='"+year+"' ${IF(LEN(sku1)=0,"\"\,\"\AND colthno in ('"+sku1+"')\"\)} ", " SELECT * FROM forecast_sales_year WHERE year_time='"+year+"'+3 ")} |