SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001450s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015392s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16506108 LIMIT 5 [ RunTime:0.017279s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16506108 ORDER BY `minOrder` ASC [ RunTime:0.010168s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16506108 ORDER BY `unit` DESC [ RunTime:0.004420s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16506108 LIMIT 2 [ RunTime:0.011340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16506108 ORDER BY `minOrder` ASC [ RunTime:0.003946s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18902286 LIMIT 5 [ RunTime:0.004663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18902286 ORDER BY `minOrder` ASC [ RunTime:0.013211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18902286 ORDER BY `unit` DESC [ RunTime:0.004386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18902286 LIMIT 2 [ RunTime:0.004539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18902286 ORDER BY `minOrder` ASC [ RunTime:0.007695s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19631399 LIMIT 5 [ RunTime:0.001756s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19631399 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19631399 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19631399 LIMIT 2 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19631399 ORDER BY `minOrder` ASC [ RunTime:0.001559s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003901s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 35818824 LIMIT 5 [ RunTime:0.001189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35818824 ORDER BY `minOrder` ASC [ RunTime:0.001003s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 35818824 ORDER BY `unit` DESC [ RunTime:0.002563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 35818824 LIMIT 2 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 35818824 ORDER BY `minOrder` ASC [ RunTime:0.003351s ]
select * from pdf where partno='18569' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.000596s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002482s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '18569' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.000542s ]
SELECT `id` FROM `stock` WHERE `id` <> 35818824 AND `partno` = '18569' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.002937s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16506108 [ RunTime:0.000508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 48621183 LIMIT 5 [ RunTime:0.000861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48621183 ORDER BY `minOrder` ASC [ RunTime:0.016060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 48621183 ORDER BY `unit` DESC [ RunTime:0.001514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 48621183 LIMIT 2 [ RunTime:0.002149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 48621183 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
select * from pdf where partno='18569' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.000609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '18569' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.000407s ]
SELECT `id` FROM `stock` WHERE `id` <> 48621183 AND `partno` = '18569' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.001170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16506108 [ RunTime:0.001459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49682054 LIMIT 5 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49682054 ORDER BY `minOrder` ASC [ RunTime:0.007487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49682054 ORDER BY `unit` DESC [ RunTime:0.000466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49682054 LIMIT 2 [ RunTime:0.002969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49682054 ORDER BY `minOrder` ASC [ RunTime:0.005141s ]
select * from pdf where partno='185692-01' and brandshort='NI' limit 1 [ RunTime:0.000604s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '185692-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 36875240 LIMIT 5 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36875240 ORDER BY `minOrder` ASC [ RunTime:0.004479s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 36875240 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 36875240 LIMIT 2 [ RunTime:0.002027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 36875240 ORDER BY `minOrder` ASC [ RunTime:0.000531s ]
select * from pdf where partno='185692-01' and brandshort='NI' limit 1 [ RunTime:0.000667s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '185692-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.004895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53705721 LIMIT 5 [ RunTime:0.004085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53705721 ORDER BY `minOrder` ASC [ RunTime:0.001531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53705721 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53705721 LIMIT 2 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53705721 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='1856965' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.003707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1856965' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.000347s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016054s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004271s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009362s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010077s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004170s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005892s ]
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 '18569%' OR `brand` LIKE '18569%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002745s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '18569%' OR `brand` LIKE '18569%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000782s ]