SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002800s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017286s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19666673 LIMIT 5 [ RunTime:0.016615s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.012892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19666673 ORDER BY `minOrder` ASC [ RunTime:0.006396s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.008133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19666673 ORDER BY `unit` DESC [ RunTime:0.007797s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007545s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19666673 LIMIT 2 [ RunTime:0.004888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19666673 ORDER BY `minOrder` ASC [ RunTime:0.022891s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18982197 LIMIT 5 [ RunTime:0.016188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18982197 ORDER BY `minOrder` ASC [ RunTime:0.035551s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18982197 ORDER BY `unit` DESC [ RunTime:0.026461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18982197 LIMIT 2 [ RunTime:0.031471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18982197 ORDER BY `minOrder` ASC [ RunTime:0.032729s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13102870 LIMIT 5 [ RunTime:0.029627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13102870 ORDER BY `minOrder` ASC [ RunTime:0.042493s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13102870 ORDER BY `unit` DESC [ RunTime:0.063275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13102870 LIMIT 2 [ RunTime:0.021757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13102870 ORDER BY `minOrder` ASC [ RunTime:0.014966s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32236153 LIMIT 5 [ RunTime:0.006985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32236153 ORDER BY `minOrder` ASC [ RunTime:0.030831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32236153 ORDER BY `unit` DESC [ RunTime:0.024040s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32236153 LIMIT 2 [ RunTime:0.012937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32236153 ORDER BY `minOrder` ASC [ RunTime:0.010001s ]
select * from pdf where partno='106695' and brandshort='basler' limit 1 [ RunTime:0.025786s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106695' OR `brand` LIKE 'basler%' ) ) LIMIT 1 [ RunTime:0.018522s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63291762 LIMIT 5 [ RunTime:0.013265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63291762 ORDER BY `minOrder` ASC [ RunTime:0.035646s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63291762 ORDER BY `unit` DESC [ RunTime:0.050925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63291762 LIMIT 2 [ RunTime:0.010528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63291762 ORDER BY `minOrder` ASC [ RunTime:0.016575s ]
select * from pdf where partno='106695' and brandshort='Basler Inc.' limit 1 [ RunTime:0.009524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106695' OR `brand` LIKE 'Basler Inc.%' ) ) LIMIT 1 [ RunTime:0.015292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63199428 LIMIT 5 [ RunTime:0.022013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63199428 ORDER BY `minOrder` ASC [ RunTime:0.033688s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63199428 ORDER BY `unit` DESC [ RunTime:0.021287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63199428 LIMIT 2 [ RunTime:0.022087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63199428 ORDER BY `minOrder` ASC [ RunTime:0.012005s ]
select * from pdf where partno='1066954' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.014474s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1066954' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.020913s ]
SELECT `id` FROM `stock` WHERE `id` <> 63199428 AND `partno` = '1066954' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.014894s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18982197 [ RunTime:0.012749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60358984 LIMIT 5 [ RunTime:0.026104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60358984 ORDER BY `minOrder` ASC [ RunTime:0.016562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60358984 ORDER BY `unit` DESC [ RunTime:0.004393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60358984 LIMIT 2 [ RunTime:0.009868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60358984 ORDER BY `minOrder` ASC [ RunTime:0.001549s ]
select * from pdf where partno='1066959' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.005635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1066959' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.020871s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007333s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007187s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011093s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004844s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012627s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020247s ]
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 '106695%' OR `brand` LIKE '106695%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019146s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '106695%' OR `brand` LIKE '106695%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.008062s ]