SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002979s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046834s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15210404 LIMIT 5 [ RunTime:0.031862s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.018828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15210404 ORDER BY `minOrder` ASC [ RunTime:0.042640s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.069640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15210404 ORDER BY `unit` DESC [ RunTime:0.016742s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15210404 LIMIT 2 [ RunTime:0.050868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15210404 ORDER BY `minOrder` ASC [ RunTime:0.116463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18725187 LIMIT 5 [ RunTime:0.039643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18725187 ORDER BY `minOrder` ASC [ RunTime:0.091047s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18725187 ORDER BY `unit` DESC [ RunTime:0.069978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18725187 LIMIT 2 [ RunTime:0.088496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18725187 ORDER BY `minOrder` ASC [ RunTime:0.018270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15210405 LIMIT 5 [ RunTime:0.127120s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15210405 ORDER BY `minOrder` ASC [ RunTime:0.051440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15210405 ORDER BY `unit` DESC [ RunTime:0.071924s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15210405 LIMIT 2 [ RunTime:0.071307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15210405 ORDER BY `minOrder` ASC [ RunTime:0.054061s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18725188 LIMIT 5 [ RunTime:0.052767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18725188 ORDER BY `minOrder` ASC [ RunTime:0.078339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18725188 ORDER BY `unit` DESC [ RunTime:0.036229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18725188 LIMIT 2 [ RunTime:0.050700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18725188 ORDER BY `minOrder` ASC [ RunTime:0.032805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19463949 LIMIT 5 [ RunTime:0.020681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19463949 ORDER BY `minOrder` ASC [ RunTime:0.035256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19463949 ORDER BY `unit` DESC [ RunTime:0.049373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19463949 LIMIT 2 [ RunTime:0.016654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19463949 ORDER BY `minOrder` ASC [ RunTime:0.024181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15410941 LIMIT 5 [ RunTime:0.043782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15410941 ORDER BY `minOrder` ASC [ RunTime:0.042010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15410941 ORDER BY `unit` DESC [ RunTime:0.020949s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15410941 LIMIT 2 [ RunTime:0.030300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15410941 ORDER BY `minOrder` ASC [ RunTime:0.009367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12537847 LIMIT 5 [ RunTime:0.006989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12537847 ORDER BY `minOrder` ASC [ RunTime:0.028739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12537847 ORDER BY `unit` DESC [ RunTime:0.006932s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12537847 LIMIT 2 [ RunTime:0.020733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12537847 ORDER BY `minOrder` ASC [ RunTime:0.015222s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028918s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033683s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51660772 LIMIT 5 [ RunTime:0.033122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51660772 ORDER BY `minOrder` ASC [ RunTime:0.007937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51660772 ORDER BY `unit` DESC [ RunTime:0.016203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51660772 LIMIT 2 [ RunTime:0.005275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51660772 ORDER BY `minOrder` ASC [ RunTime:0.001917s ]
select * from pdf where partno='CT-1570' and brandshort='Panduit Corp' limit 1 [ RunTime:0.054395s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001812s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CT-1570' OR `brand` LIKE 'Panduit Corp%' ) ) LIMIT 1 [ RunTime:0.025120s ]
SELECT `id` FROM `stock` WHERE `id` <> 51660772 AND `partno` = 'CT-1570' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panduit corp%' ) [ RunTime:0.040275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18725187 [ RunTime:0.047551s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51660960 LIMIT 5 [ RunTime:0.023058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51660960 ORDER BY `minOrder` ASC [ RunTime:0.018305s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51660960 ORDER BY `unit` DESC [ RunTime:0.008545s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51660960 LIMIT 2 [ RunTime:0.027350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51660960 ORDER BY `minOrder` ASC [ RunTime:0.012978s ]
select * from pdf where partno='CT-1525' and brandshort='Panduit Corp' limit 1 [ RunTime:0.024156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CT-1525' OR `brand` LIKE 'Panduit Corp%' ) ) LIMIT 1 [ RunTime:0.022598s ]
SELECT `id` FROM `stock` WHERE `id` <> 51660960 AND `partno` = 'CT-1525' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panduit corp%' ) [ RunTime:0.008207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15210405 [ RunTime:0.009878s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51660961 LIMIT 5 [ RunTime:0.001377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51660961 ORDER BY `minOrder` ASC [ RunTime:0.018106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51660961 ORDER BY `unit` DESC [ RunTime:0.006631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51660961 LIMIT 2 [ RunTime:0.006310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51660961 ORDER BY `minOrder` ASC [ RunTime:0.008981s ]
select * from pdf where partno='CT-1551' and brandshort='Panduit Corp' limit 1 [ RunTime:0.003639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CT-1551' OR `brand` LIKE 'Panduit Corp%' ) ) LIMIT 1 [ RunTime:0.009348s ]
SELECT `id` FROM `stock` WHERE `id` <> 51660961 AND `partno` = 'CT-1551' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%panduit corp%' ) [ RunTime:0.005714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18725188 [ RunTime:0.000662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56696040 LIMIT 5 [ RunTime:0.015057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56696040 ORDER BY `minOrder` ASC [ RunTime:0.021629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56696040 ORDER BY `unit` DESC [ RunTime:0.011975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56696040 LIMIT 2 [ RunTime:0.012840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56696040 ORDER BY `minOrder` ASC [ RunTime:0.010065s ]
select * from pdf where partno='CT-150C-1H' and brandshort='Omega' limit 1 [ RunTime:0.012510s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CT-150C-1H' OR `brand` LIKE 'Omega%' ) ) LIMIT 1 [ RunTime:0.004235s ]
SELECT `id` FROM `stock` WHERE `id` <> 56696040 AND `partno` = 'CT-150C-1H' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omega%' ) [ RunTime:0.005578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51662028 LIMIT 5 [ RunTime:0.005957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51662028 ORDER BY `minOrder` ASC [ RunTime:0.007892s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51662028 ORDER BY `unit` DESC [ RunTime:0.007627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51662028 LIMIT 2 [ RunTime:0.007588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51662028 ORDER BY `minOrder` ASC [ RunTime:0.008386s ]
select * from pdf where partno='CT-1550' and brandshort='Panduit Corp' limit 1 [ RunTime:0.000702s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CT-1550' OR `brand` LIKE 'Panduit Corp%' ) ) LIMIT 1 [ RunTime:0.014307s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009849s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004185s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010442s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.030724s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011091s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009167s ]
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 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001278s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'CT-15%' OR `brand` LIKE 'CT-15%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006514s ]