[ SQL ] SHOW COLUMNS FROM `cmf_portal_product` [ RunTime:0.000976s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_product` `p` LEFT JOIN `cmf_portal_brand_product` `b` ON `p`.`product_no`=`b`.`product_no` LEFT JOIN `cmf_portal_brand` `pb` ON `pb`.`brand_no`=`b`.`brand_no` LEFT JOIN `cmf_portal_category_product` `c` ON `p`.`product_no`=`c`.`product_no` LEFT JOIN `cmf_portal_category` `cp` ON `c`.`category_no`=`cp`.`category_no` WHERE `cp`.`id` IN ('217','218','219','220','221','222','223','224','225','226','227','228','229','230','231','232','233','234','235','236','237','238','239','240','241','242','243','244','245','246','247','248','249','250','251','252','253','254','255','256','257','258','259','260','261','262','263','264','265','266','267','268','269','270','271','272','273','274','275','276','277','278','279','280','281','282','283','284','285','286','287','288','289','290','291','292','293','294','295','296','297','298','299','300','301','302','303','304','305','306') AND `p`.`delete_time` = '0' [ RunTime:0.047854s ]
[ SQL ] SELECT distinct(p.id) ppid,p.id as pid,p.*,pb.logo band_logo FROM `cmf_portal_product` `p` LEFT JOIN `cmf_portal_brand_product` `b` ON `p`.`product_no`=`b`.`product_no` LEFT JOIN `cmf_portal_brand` `pb` ON `pb`.`brand_no`=`b`.`brand_no` LEFT JOIN `cmf_portal_category_product` `c` ON `p`.`product_no`=`c`.`product_no` LEFT JOIN `cmf_portal_category` `cp` ON `c`.`category_no`=`cp`.`category_no` WHERE `cp`.`id` IN ('217','218','219','220','221','222','223','224','225','226','227','228','229','230','231','232','233','234','235','236','237','238','239','240','241','242','243','244','245','246','247','248','249','250','251','252','253','254','255','256','257','258','259','260','261','262','263','264','265','266','267','268','269','270','271','272','273','274','275','276','277','278','279','280','281','282','283','284','285','286','287','288','289','290','291','292','293','294','295','296','297','298','299','300','301','302','303','304','305','306') AND `p`.`delete_time` = '0' AND `p`.`delete_time` = '0' AND `p`.`status` = '1' LIMIT 48,24 [ RunTime:0.025392s ]