SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002077s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.058239s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.040693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16129408 LIMIT 5 [ RunTime:0.014018s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16129408 ORDER BY `minOrder` ASC [ RunTime:0.032441s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16129408 ORDER BY `unit` DESC [ RunTime:0.012160s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16129408 LIMIT 2 [ RunTime:0.031668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16129408 ORDER BY `minOrder` ASC [ RunTime:0.037447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458478 LIMIT 5 [ RunTime:0.042795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13458478 ORDER BY `minOrder` ASC [ RunTime:0.073623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13458478 ORDER BY `unit` DESC [ RunTime:0.026214s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13458478 LIMIT 2 [ RunTime:0.054278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13458478 ORDER BY `minOrder` ASC [ RunTime:0.029675s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046766s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50703415 LIMIT 5 [ RunTime:0.023367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50703415 ORDER BY `minOrder` ASC [ RunTime:0.014947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50703415 ORDER BY `unit` DESC [ RunTime:0.006449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50703415 LIMIT 2 [ RunTime:0.010051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50703415 ORDER BY `minOrder` ASC [ RunTime:0.007089s ]
select * from pdf where partno='87354' and brandshort='Brady Corporation' limit 1 [ RunTime:0.010496s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87354' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.009618s ]
SELECT `id` FROM `stock` WHERE `id` <> 50703415 AND `partno` = '87354' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.005955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458478 [ RunTime:0.004704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50039401 LIMIT 5 [ RunTime:0.009146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50039401 ORDER BY `minOrder` ASC [ RunTime:0.006577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50039401 ORDER BY `unit` DESC [ RunTime:0.003768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50039401 LIMIT 2 [ RunTime:0.003814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50039401 ORDER BY `minOrder` ASC [ RunTime:0.003058s ]
select * from pdf where partno='87354AMILF' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.002968s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87354AMILF' OR `brand` LIKE 'Renesas Electronics Corporation%' ) ) LIMIT 1 [ RunTime:0.001403s ]
SELECT `id` FROM `stock` WHERE `id` <> 50039401 AND `partno` = '87354AMILF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%renesas electronics corporation%' ) [ RunTime:0.001386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16129408 [ RunTime:0.000890s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38087078 LIMIT 5 [ RunTime:0.015312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38087078 ORDER BY `minOrder` ASC [ RunTime:0.014303s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38087078 ORDER BY `unit` DESC [ RunTime:0.001760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38087078 LIMIT 2 [ RunTime:0.009778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38087078 ORDER BY `minOrder` ASC [ RunTime:0.004670s ]
select * from pdf where partno='87354' and brandshort='Brady Corporation' limit 1 [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87354' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.005529s ]
SELECT `id` FROM `stock` WHERE `id` <> 38087078 AND `partno` = '87354' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.001901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13458478 [ RunTime:0.003292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37235516 LIMIT 5 [ RunTime:0.002697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37235516 ORDER BY `minOrder` ASC [ RunTime:0.001145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37235516 ORDER BY `unit` DESC [ RunTime:0.002476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37235516 LIMIT 2 [ RunTime:0.004348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37235516 ORDER BY `minOrder` ASC [ RunTime:0.004787s ]
select * from pdf where partno='87354AMILF' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.007993s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '87354AMILF' OR `brand` LIKE 'Renesas Electronics Corporation%' ) ) LIMIT 1 [ RunTime:0.002267s ]
SELECT `id` FROM `stock` WHERE `id` <> 37235516 AND `partno` = '87354AMILF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%renesas electronics corporation%' ) [ RunTime:0.001187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16129408 [ RunTime:0.008897s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001668s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004313s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005165s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006876s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015027s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007839s ]
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 '87354%' OR `brand` LIKE '87354%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012858s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '87354%' OR `brand` LIKE '87354%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002940s ]