SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002363s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.083843s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.032093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12613661 LIMIT 5 [ RunTime:0.065796s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.021940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613661 ORDER BY `minOrder` ASC [ RunTime:0.077199s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.022330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12613661 ORDER BY `unit` DESC [ RunTime:0.041608s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.017459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12613661 LIMIT 2 [ RunTime:0.035344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613661 ORDER BY `minOrder` ASC [ RunTime:0.044228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151315 LIMIT 5 [ RunTime:0.050815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151315 ORDER BY `minOrder` ASC [ RunTime:0.024406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17151315 ORDER BY `unit` DESC [ RunTime:0.132792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17151315 LIMIT 2 [ RunTime:0.026801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17151315 ORDER BY `minOrder` ASC [ RunTime:0.021751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14419990 LIMIT 5 [ RunTime:0.097696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14419990 ORDER BY `minOrder` ASC [ RunTime:0.105036s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14419990 ORDER BY `unit` DESC [ RunTime:0.054105s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14419990 LIMIT 2 [ RunTime:0.036327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14419990 ORDER BY `minOrder` ASC [ RunTime:0.042299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12565097 LIMIT 5 [ RunTime:0.074245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12565097 ORDER BY `minOrder` ASC [ RunTime:0.061337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12565097 ORDER BY `unit` DESC [ RunTime:0.071389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12565097 LIMIT 2 [ RunTime:0.124125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12565097 ORDER BY `minOrder` ASC [ RunTime:0.027956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11449159 LIMIT 5 [ RunTime:0.025306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11449159 ORDER BY `minOrder` ASC [ RunTime:0.027473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11449159 ORDER BY `unit` DESC [ RunTime:0.079081s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11449159 LIMIT 2 [ RunTime:0.044896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11449159 ORDER BY `minOrder` ASC [ RunTime:0.030686s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042380s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60364107 LIMIT 5 [ RunTime:0.042794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60364107 ORDER BY `minOrder` ASC [ RunTime:0.041453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60364107 ORDER BY `unit` DESC [ RunTime:0.082137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60364107 LIMIT 2 [ RunTime:0.068502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60364107 ORDER BY `minOrder` ASC [ RunTime:0.032951s ]
select * from pdf where partno='910090022' and brandshort='Molex' limit 1 [ RunTime:0.015296s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '910090022' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.037826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63081118 LIMIT 5 [ RunTime:0.014676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63081118 ORDER BY `minOrder` ASC [ RunTime:0.012255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63081118 ORDER BY `unit` DESC [ RunTime:0.003804s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63081118 LIMIT 2 [ RunTime:0.023038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63081118 ORDER BY `minOrder` ASC [ RunTime:0.029727s ]
select * from pdf where partno='91009' and brandshort='Helukabel USA' limit 1 [ RunTime:0.011195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91009' OR `brand` LIKE 'Helukabel USA%' ) ) LIMIT 1 [ RunTime:0.011992s ]
SELECT `id` FROM `stock` WHERE `id` <> 63081118 AND `partno` = '91009' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%helukabel usa%' ) [ RunTime:0.031926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14419990 [ RunTime:0.013373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60476247 LIMIT 5 [ RunTime:0.023622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476247 ORDER BY `minOrder` ASC [ RunTime:0.014877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60476247 ORDER BY `unit` DESC [ RunTime:0.029137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60476247 LIMIT 2 [ RunTime:0.073925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476247 ORDER BY `minOrder` ASC [ RunTime:0.006864s ]
select * from pdf where partno='910097' and brandshort='Weidmüller' limit 1 [ RunTime:0.023115s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '910097' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.030353s ]
SELECT `id` FROM `stock` WHERE `id` <> 60476247 AND `partno` = '910097' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.016622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60476197 LIMIT 5 [ RunTime:0.044080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476197 ORDER BY `minOrder` ASC [ RunTime:0.030808s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60476197 ORDER BY `unit` DESC [ RunTime:0.027484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60476197 LIMIT 2 [ RunTime:0.023431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476197 ORDER BY `minOrder` ASC [ RunTime:0.018291s ]
select * from pdf where partno='910098' and brandshort='Weidmüller' limit 1 [ RunTime:0.011710s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '910098' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.017522s ]
SELECT `id` FROM `stock` WHERE `id` <> 60476197 AND `partno` = '910098' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.043724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11449159 [ RunTime:0.020646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60476186 LIMIT 5 [ RunTime:0.062367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476186 ORDER BY `minOrder` ASC [ RunTime:0.020623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60476186 ORDER BY `unit` DESC [ RunTime:0.028182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60476186 LIMIT 2 [ RunTime:0.022916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476186 ORDER BY `minOrder` ASC [ RunTime:0.024733s ]
select * from pdf where partno='910095' and brandshort='Weidmüller' limit 1 [ RunTime:0.050882s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '910095' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.075658s ]
SELECT `id` FROM `stock` WHERE `id` <> 60476186 AND `partno` = '910095' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.044110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12565097 [ RunTime:0.062405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60476185 LIMIT 5 [ RunTime:0.016407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476185 ORDER BY `minOrder` ASC [ RunTime:0.035967s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60476185 ORDER BY `unit` DESC [ RunTime:0.019289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60476185 LIMIT 2 [ RunTime:0.026119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60476185 ORDER BY `minOrder` ASC [ RunTime:0.028661s ]
select * from pdf where partno='910096' and brandshort='Weidmüller' limit 1 [ RunTime:0.035996s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '910096' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.022971s ]
SELECT `id` FROM `stock` WHERE `id` <> 60476185 AND `partno` = '910096' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.028865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58331635 LIMIT 5 [ RunTime:0.038293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331635 ORDER BY `minOrder` ASC [ RunTime:0.073025s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58331635 ORDER BY `unit` DESC [ RunTime:0.052979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58331635 LIMIT 2 [ RunTime:0.021757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58331635 ORDER BY `minOrder` ASC [ RunTime:0.020967s ]
select * from pdf where partno='910099' and brandshort='Weidmüller' limit 1 [ RunTime:0.041858s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '910099' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.114856s ]
SELECT `id` FROM `stock` WHERE `id` <> 58331635 AND `partno` = '910099' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.067308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17151315 [ RunTime:0.065451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32369045 LIMIT 5 [ RunTime:0.057979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32369045 ORDER BY `minOrder` ASC [ RunTime:0.047679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32369045 ORDER BY `unit` DESC [ RunTime:0.012311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32369045 LIMIT 2 [ RunTime:0.017390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32369045 ORDER BY `minOrder` ASC [ RunTime:0.009898s ]
select * from pdf where partno='9100971' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.059864s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9100971' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.057828s ]
SELECT `id` FROM `stock` WHERE `id` <> 32369045 AND `partno` = '9100971' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.041497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32367850 LIMIT 5 [ RunTime:0.057194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32367850 ORDER BY `minOrder` ASC [ RunTime:0.068757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32367850 ORDER BY `unit` DESC [ RunTime:0.051548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32367850 LIMIT 2 [ RunTime:0.046586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32367850 ORDER BY `minOrder` ASC [ RunTime:0.020902s ]
select * from pdf where partno='9100946' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.023149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9100946' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.122790s ]
SELECT `id` FROM `stock` WHERE `id` <> 32367850 AND `partno` = '9100946' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.055522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32358243 LIMIT 5 [ RunTime:0.184782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32358243 ORDER BY `minOrder` ASC [ RunTime:0.073699s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32358243 ORDER BY `unit` DESC [ RunTime:0.042016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32358243 LIMIT 2 [ RunTime:0.156667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32358243 ORDER BY `minOrder` ASC [ RunTime:0.036791s ]
select * from pdf where partno='9100945' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.044117s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9100945' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.037878s ]
SELECT `id` FROM `stock` WHERE `id` <> 32358243 AND `partno` = '9100945' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.068992s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32350879 LIMIT 5 [ RunTime:0.068342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32350879 ORDER BY `minOrder` ASC [ RunTime:0.047632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32350879 ORDER BY `unit` DESC [ RunTime:0.013120s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32350879 LIMIT 2 [ RunTime:0.050530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32350879 ORDER BY `minOrder` ASC [ RunTime:0.011657s ]
select * from pdf where partno='9100900' and brandshort='Murrelektronik, Inc' limit 1 [ RunTime:0.082036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9100900' OR `brand` LIKE 'Murrelektronik, Inc%' ) ) LIMIT 1 [ RunTime:0.059046s ]
SELECT `id` FROM `stock` WHERE `id` <> 32350879 AND `partno` = '9100900' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%murrelektronik, inc%' ) [ RunTime:0.020361s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022924s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010800s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017151s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040768s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060840s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008379s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014089s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91009%' OR `brand` LIKE '91009%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017003s ]