-
转换前:select count(*) as counts from product where find_in_set(:class_id, class_id) and deleted=0 ;
-
三角篮 BA-41501
查看详情 POST TIME:2019-06-21 -
三角篮 BA-41523
查看详情 POST TIME:2019-06-21 -
方晾衣器 BA-41509
查看详情 POST TIME:2019-06-21 -
晾衣器 BA-41510
查看详情 POST TIME:2019-06-21 -
浴缸扶手 BA-41527
查看详情 POST TIME:2019-06-21 -
浴缸扶手 BA-41528
查看详情 POST TIME:2019-06-21 -
皂液器 BA-41535
查看详情 POST TIME:2019-06-21 -
皂液器 BA-41536
查看详情 POST TIME:2019-06-21 -
纸巾架 BA-41504
查看详情 POST TIME:2019-06-20
转换后:select count(*) as counts from product where find_in_set(38, class_id) and deleted=0 ;
转换前:select id,rid,class_id,path,title 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 9;
转换后:select id,rid,class_id,path,title as title,images,images_s,orders,addtime from product where find_in_set(38, class_id) and deleted=0 order by orders desc,id DESC , mdtime desc limit 9;
转换前:select id,product_id,images,images_s,images_name from product_photo where product_id in (1123,1122,1121,1120,1119,1118,1117,1116,912) and deleted=0 order by orders,id;
转换后:select id,product_id,images,images_s,images_name from product_photo where product_id in (1123,1122,1121,1120,1119,1118,1117,1116,912) and deleted=0 order by orders,id;