-
转换前:select count(*) as counts from product where find_in_set(:class_id, class_id) and deleted=0 ;
-
MH-CP03
查看详情 POST TIME:2025-06-03 -
MH-CZM05
查看详情 POST TIME:2025-06-03 -
MH-CZM03
查看详情 POST TIME:2025-06-03 -
MH-CZM01C
查看详情 POST TIME:2025-06-03 -
MH-CZM01B
查看详情 POST TIME:2025-06-03 -
MH-CZM01A
查看详情 POST TIME:2025-06-03 -
MH-CZM01
查看详情 POST TIME:2025-06-03 -
MH-CZ32A
查看详情 POST TIME:2025-06-03 -
MH-CZ32
查看详情 POST TIME:2025-06-03
转换后:select count(*) as counts from product where find_in_set(136, 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(136, 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 (100000161,100000160,100000157,100000156,100000155,100000154,100000153,100000152,100000151) and deleted=0 order by orders,id;
转换后:select id,product_id,images,images_s,images_name from product_photo where product_id in (100000161,100000160,100000157,100000156,100000155,100000154,100000153,100000152,100000151) and deleted=0 order by orders,id;