-
轉換前:select count(*) as counts from product where find_in_set(:class_id, class_id) and deleted=0 ;
-
Brush holder BA-10304
DETAILS POST TIME:2019-06-20 -
Single towel bar BA-10305
DETAILS POST TIME:2019-06-20 -
Double towel bar BA-10306
DETAILS POST TIME:2019-06-20 -
Towel rack(with bar) BA-10307
DETAILS POST TIME:2019-06-20 -
Double robe hook BA-10401
DETAILS POST TIME:2019-06-20 -
Paper holder(with cover) BA-10402
DETAILS POST TIME:2019-06-20 -
Towel ring BA-10403
DETAILS POST TIME:2019-06-20 -
Brush holder BA-10404
DETAILS POST TIME:2019-06-20 -
BA-10405
DETAILS POST TIME:2019-06-20
轉換后:select count(*) as counts from product where find_in_set(36, class_id) and deleted=0 ;
轉換前:select id,rid,class_id,path,title_en as title,images,images_s,orders,addtime from product where find_in_set(:class_id, class_id) and deleted=0 order by orders desc,id DESC , mdtime desc limit 18,9;
轉換后:select id,rid,class_id,path,title_en as title,images,images_s,orders,addtime from product where find_in_set(36, class_id) and deleted=0 order by orders desc,id DESC , mdtime desc limit 18,9;
轉換前:select id,product_id,images,images_s,images_name from product_photo where product_id in (825,824,823,822,835,834,833,832,831) and deleted=0 order by orders,id;
轉換后:select id,product_id,images,images_s,images_name from product_photo where product_id in (825,824,823,822,835,834,833,832,831) and deleted=0 order by orders,id;