-
轉(zhuǎn)換前:select count(*) as counts from product where find_in_set(:class_id, class_id) and deleted=0 ;
-
角碼 PW-1004
查看詳情 POST TIME:2019-06-21 -
衣帽鉤 PW-1005
查看詳情 POST TIME:2019-06-21 -
貓眼 DV-001/DV-002/DV-003
查看詳情 POST TIME:2019-06-21
轉(zhuǎn)換后:select count(*) as counts from product where find_in_set(161, class_id) and deleted=0 ;
轉(zhuǎn)換前: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;
轉(zhuǎn)換后:select id,rid,class_id,path,title as title,images,images_s,orders,addtime from product where find_in_set(161, class_id) and deleted=0 order by orders desc,id DESC , mdtime desc limit 9,9;
轉(zhuǎn)換前:select id,product_id,images,images_s,images_name from product_photo where product_id in (1078,1077,999) and deleted=0 order by orders,id;
轉(zhuǎn)換后:select id,product_id,images,images_s,images_name from product_photo where product_id in (1078,1077,999) and deleted=0 order by orders,id;