-
转换前:select count(*) as counts from product where find_in_set(:class_id, class_id) and deleted=0 ;
-
锁夹 PF-001
查看详情 POST TIME:2019-06-20 -
锁夹 PF-510
查看详情 POST TIME:2019-06-20 -
锁盒 PF-510B
查看详情 POST TIME:2019-06-20 -
长门夹 TP-10
查看详情 POST TIME:2019-06-20 -
长门夹 TP-20
查看详情 POST TIME:2019-06-20 -
有框玻璃门地锁配件锁夹 PF-002
查看详情 POST TIME:2019-06-20 -
地轴 FS-001
查看详情 POST TIME:2019-06-20 -
顶轴 FS-002
查看详情 POST TIME:2019-06-20 -
顶轴 FS-003
查看详情 POST TIME:2019-06-20
转换后:select count(*) as counts from product where find_in_set(3, 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,9;
转换后:select id,rid,class_id,path,title as title,images,images_s,orders,addtime from product where find_in_set(3, class_id) and deleted=0 order by orders desc,id DESC , mdtime desc limit 9,9;
转换前:select id,product_id,images,images_s,images_name from product_photo where product_id in (369,368,367,366,365,364,363,362,361) and deleted=0 order by orders,id;
转换后:select id,product_id,images,images_s,images_name from product_photo where product_id in (369,368,367,366,365,364,363,362,361) and deleted=0 order by orders,id;