SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001830s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016027s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13256499 LIMIT 5 [ RunTime:0.016267s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13256499 ORDER BY `minOrder` ASC [ RunTime:0.018756s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13256499 ORDER BY `unit` DESC [ RunTime:0.029684s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13256499 LIMIT 2 [ RunTime:0.009655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13256499 ORDER BY `minOrder` ASC [ RunTime:0.036989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15439996 LIMIT 5 [ RunTime:0.052336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15439996 ORDER BY `minOrder` ASC [ RunTime:0.034815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15439996 ORDER BY `unit` DESC [ RunTime:0.013981s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15439996 LIMIT 2 [ RunTime:0.014133s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15439996 ORDER BY `minOrder` ASC [ RunTime:0.017596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13317935 LIMIT 5 [ RunTime:0.030106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13317935 ORDER BY `minOrder` ASC [ RunTime:0.099157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13317935 ORDER BY `unit` DESC [ RunTime:0.026346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13317935 LIMIT 2 [ RunTime:0.045986s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13317935 ORDER BY `minOrder` ASC [ RunTime:0.009393s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048806s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077065s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56580098 LIMIT 5 [ RunTime:0.069785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56580098 ORDER BY `minOrder` ASC [ RunTime:0.045614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56580098 ORDER BY `unit` DESC [ RunTime:0.082077s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56580098 LIMIT 2 [ RunTime:0.027139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56580098 ORDER BY `minOrder` ASC [ RunTime:0.030191s ]
select * from pdf where partno='24457' and brandshort='Keystone Electronics' limit 1 [ RunTime:0.054171s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24457' OR `brand` LIKE 'Keystone Electronics%' ) ) LIMIT 1 [ RunTime:0.060425s ]
SELECT `id` FROM `stock` WHERE `id` <> 56580098 AND `partno` = '24457' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%keystone electronics%' ) [ RunTime:0.013233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13317935 [ RunTime:0.010661s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57414565 LIMIT 5 [ RunTime:0.011219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57414565 ORDER BY `minOrder` ASC [ RunTime:0.029024s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57414565 ORDER BY `unit` DESC [ RunTime:0.017705s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57414565 LIMIT 2 [ RunTime:0.031287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57414565 ORDER BY `minOrder` ASC [ RunTime:0.001790s ]
select * from pdf where partno='2445750-1' and brandshort='TE Connectivity Linx' limit 1 [ RunTime:0.006831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2445750-1' OR `brand` LIKE 'TE Connectivity Linx%' ) ) LIMIT 1 [ RunTime:0.014165s ]
SELECT `id` FROM `stock` WHERE `id` <> 57414565 AND `partno` = '2445750-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity linx%' ) [ RunTime:0.010730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13256499 [ RunTime:0.007887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59354490 LIMIT 5 [ RunTime:0.000446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59354490 ORDER BY `minOrder` ASC [ RunTime:0.003029s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59354490 ORDER BY `unit` DESC [ RunTime:0.004411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59354490 LIMIT 2 [ RunTime:0.007955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59354490 ORDER BY `minOrder` ASC [ RunTime:0.002852s ]
select * from pdf where partno='244575-E' and brandshort='TE Connectivity Erni' limit 1 [ RunTime:0.001218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244575-E' OR `brand` LIKE 'TE Connectivity Erni%' ) ) LIMIT 1 [ RunTime:0.012911s ]
SELECT `id` FROM `stock` WHERE `id` <> 59354490 AND `partno` = '244575-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity erni%' ) [ RunTime:0.011365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15439996 [ RunTime:0.005337s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011059s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002538s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022115s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004570s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014876s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010604s ]
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 '24457%' OR `brand` LIKE '24457%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008805s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '24457%' OR `brand` LIKE '24457%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.019244s ]