SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002166s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003782s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11449839 LIMIT 5 [ RunTime:0.014498s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11449839 ORDER BY `minOrder` ASC [ RunTime:0.006075s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11449839 ORDER BY `unit` DESC [ RunTime:0.013759s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11449839 LIMIT 2 [ RunTime:0.005421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11449839 ORDER BY `minOrder` ASC [ RunTime:0.009228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18975064 LIMIT 5 [ RunTime:0.017003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18975064 ORDER BY `minOrder` ASC [ RunTime:0.006768s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18975064 ORDER BY `unit` DESC [ RunTime:0.014689s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18975064 LIMIT 2 [ RunTime:0.021395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18975064 ORDER BY `minOrder` ASC [ RunTime:0.008931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18787930 LIMIT 5 [ RunTime:0.005491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18787930 ORDER BY `minOrder` ASC [ RunTime:0.003553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18787930 ORDER BY `unit` DESC [ RunTime:0.008772s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18787930 LIMIT 2 [ RunTime:0.033365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18787930 ORDER BY `minOrder` ASC [ RunTime:0.018919s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32235927 LIMIT 5 [ RunTime:0.008261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32235927 ORDER BY `minOrder` ASC [ RunTime:0.008904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32235927 ORDER BY `unit` DESC [ RunTime:0.049222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32235927 LIMIT 2 [ RunTime:0.030085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32235927 ORDER BY `minOrder` ASC [ RunTime:0.034585s ]
select * from pdf where partno='108234' and brandshort='basler' limit 1 [ RunTime:0.016613s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108234' OR `brand` LIKE 'basler%' ) ) LIMIT 1 [ RunTime:0.021342s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64567070 LIMIT 5 [ RunTime:0.023346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64567070 ORDER BY `minOrder` ASC [ RunTime:0.021879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64567070 ORDER BY `unit` DESC [ RunTime:0.044329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64567070 LIMIT 2 [ RunTime:0.067750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64567070 ORDER BY `minOrder` ASC [ RunTime:0.019966s ]
select * from pdf where partno='108234' and brandshort='Basler Inc.' limit 1 [ RunTime:0.048819s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108234' OR `brand` LIKE 'Basler Inc.%' ) ) LIMIT 1 [ RunTime:0.033315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63342184 LIMIT 5 [ RunTime:0.001161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63342184 ORDER BY `minOrder` ASC [ RunTime:0.013427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63342184 ORDER BY `unit` DESC [ RunTime:0.009437s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63342184 LIMIT 2 [ RunTime:0.029079s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63342184 ORDER BY `minOrder` ASC [ RunTime:0.011175s ]
select * from pdf where partno='1082348' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.004036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1082348' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.023219s ]
SELECT `id` FROM `stock` WHERE `id` <> 63342184 AND `partno` = '1082348' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18787930 [ RunTime:0.000829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63201065 LIMIT 5 [ RunTime:0.008142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63201065 ORDER BY `minOrder` ASC [ RunTime:0.046404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63201065 ORDER BY `unit` DESC [ RunTime:0.053777s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63201065 LIMIT 2 [ RunTime:0.050696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63201065 ORDER BY `minOrder` ASC [ RunTime:0.007940s ]
select * from pdf where partno='1082349' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.019580s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1082349' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.023553s ]
SELECT `id` FROM `stock` WHERE `id` <> 63201065 AND `partno` = '1082349' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.036824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18975064 [ RunTime:0.013670s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034422s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012994s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014140s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036644s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035293s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029927s ]
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 '108234%' OR `brand` LIKE '108234%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057357s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '108234%' OR `brand` LIKE '108234%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.012997s ]