SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001402s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036141s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13546869 LIMIT 5 [ RunTime:0.029714s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13546869 ORDER BY `minOrder` ASC [ RunTime:0.005722s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003135s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13546869 ORDER BY `unit` DESC [ RunTime:0.017085s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006086s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13546869 LIMIT 2 [ RunTime:0.023785s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13546869 ORDER BY `minOrder` ASC [ RunTime:0.013057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13546867 LIMIT 5 [ RunTime:0.013003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13546867 ORDER BY `minOrder` ASC [ RunTime:0.023017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13546867 ORDER BY `unit` DESC [ RunTime:0.002830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13546867 LIMIT 2 [ RunTime:0.005574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13546867 ORDER BY `minOrder` ASC [ RunTime:0.001895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13546599 LIMIT 5 [ RunTime:0.011317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13546599 ORDER BY `minOrder` ASC [ RunTime:0.051974s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13546599 ORDER BY `unit` DESC [ RunTime:0.002441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13546599 LIMIT 2 [ RunTime:0.010084s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13546599 ORDER BY `minOrder` ASC [ RunTime:0.023011s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13543656 LIMIT 5 [ RunTime:0.011007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13543656 ORDER BY `minOrder` ASC [ RunTime:0.030678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13543656 ORDER BY `unit` DESC [ RunTime:0.018796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13543656 LIMIT 2 [ RunTime:0.015673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13543656 ORDER BY `minOrder` ASC [ RunTime:0.017118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521794 LIMIT 5 [ RunTime:0.032233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521794 ORDER BY `minOrder` ASC [ RunTime:0.032223s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13521794 ORDER BY `unit` DESC [ RunTime:0.023125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13521794 LIMIT 2 [ RunTime:0.013046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13521794 ORDER BY `minOrder` ASC [ RunTime:0.003267s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025008s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64508739 LIMIT 5 [ RunTime:0.001731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64508739 ORDER BY `minOrder` ASC [ RunTime:0.015785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64508739 ORDER BY `unit` DESC [ RunTime:0.000518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64508739 LIMIT 2 [ RunTime:0.000924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64508739 ORDER BY `minOrder` ASC [ RunTime:0.002809s ]
select * from pdf where partno='42243' and brandshort='Brady Corporation' limit 1 [ RunTime:0.013326s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '42243' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.010558s ]
SELECT `id` FROM `stock` WHERE `id` <> 64508739 AND `partno` = '42243' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.004571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13521794 [ RunTime:0.000707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63149707 LIMIT 5 [ RunTime:0.008264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63149707 ORDER BY `minOrder` ASC [ RunTime:0.006782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63149707 ORDER BY `unit` DESC [ RunTime:0.005734s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63149707 LIMIT 2 [ RunTime:0.006082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63149707 ORDER BY `minOrder` ASC [ RunTime:0.000841s ]
select * from pdf where partno='4224326' and brandshort='Altech Corporation' limit 1 [ RunTime:0.009930s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4224326' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.001572s ]
SELECT `id` FROM `stock` WHERE `id` <> 63149707 AND `partno` = '4224326' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.009081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13543656 [ RunTime:0.004418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63145732 LIMIT 5 [ RunTime:0.000876s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63145732 ORDER BY `minOrder` ASC [ RunTime:0.003147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63145732 ORDER BY `unit` DESC [ RunTime:0.001955s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63145732 LIMIT 2 [ RunTime:0.002016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63145732 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
select * from pdf where partno='4224306' and brandshort='Altech Corporation' limit 1 [ RunTime:0.000823s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4224306' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.002367s ]
SELECT `id` FROM `stock` WHERE `id` <> 63145732 AND `partno` = '4224306' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.029448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13546867 [ RunTime:0.018705s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63145731 LIMIT 5 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63145731 ORDER BY `minOrder` ASC [ RunTime:0.000504s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63145731 ORDER BY `unit` DESC [ RunTime:0.001572s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63145731 LIMIT 2 [ RunTime:0.008046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63145731 ORDER BY `minOrder` ASC [ RunTime:0.001155s ]
select * from pdf where partno='4224305' and brandshort='Altech Corporation' limit 1 [ RunTime:0.001215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4224305' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.000750s ]
SELECT `id` FROM `stock` WHERE `id` <> 63145731 AND `partno` = '4224305' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.000666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13546869 [ RunTime:0.005322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63144931 LIMIT 5 [ RunTime:0.011529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63144931 ORDER BY `minOrder` ASC [ RunTime:0.028240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63144931 ORDER BY `unit` DESC [ RunTime:0.005679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63144931 LIMIT 2 [ RunTime:0.006594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63144931 ORDER BY `minOrder` ASC [ RunTime:0.006077s ]
select * from pdf where partno='4224300' and brandshort='Altech Corporation' limit 1 [ RunTime:0.005006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4224300' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.001977s ]
SELECT `id` FROM `stock` WHERE `id` <> 63144931 AND `partno` = '4224300' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.006319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13546599 [ RunTime:0.005460s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009529s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001424s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006687s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008825s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004673s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002285s ]
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 '42243%' OR `brand` LIKE '42243%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011434s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '42243%' OR `brand` LIKE '42243%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015136s ]