-
轉換前:select count(*) as counts from product where find_in_set(:class_id, class_id) and deleted=0 ;
MH-HC01
POST TIME:2023-04-23MH-HC01A
POST TIME:2023-04-23MH-HC03
POST TIME:2023-04-23MH-HC03A
POST TIME:2023-04-23MH-HC04
POST TIME:2023-04-23MH-HC05
POST TIME:2023-04-23
轉換后:select count(*) as counts from product where find_in_set(104, 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(104, 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 (100000028,100000027,100000026,100000025,100000024,100000023) and deleted=0 order by orders,id;
轉換后:select id,product_id,images,images_s,images_name from product_photo where product_id in (100000028,100000027,100000026,100000025,100000024,100000023) and deleted=0 order by orders,id;
首頁
上一頁
1
下一頁
尾頁
加載更多
共6記錄 第1頁 / 共1頁