SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001535s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015777s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13555915 LIMIT 5 [ RunTime:0.001905s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13555915 ORDER BY `minOrder` ASC [ RunTime:0.015655s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.010593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13555915 ORDER BY `unit` DESC [ RunTime:0.000928s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001061s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13555915 LIMIT 2 [ RunTime:0.000801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13555915 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13340768 LIMIT 5 [ RunTime:0.002502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13340768 ORDER BY `minOrder` ASC [ RunTime:0.003616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13340768 ORDER BY `unit` DESC [ RunTime:0.005085s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13340768 LIMIT 2 [ RunTime:0.008305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13340768 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12061657 LIMIT 5 [ RunTime:0.000623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12061657 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12061657 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12061657 LIMIT 2 [ RunTime:0.005944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12061657 ORDER BY `minOrder` ASC [ RunTime:0.004882s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51072383 LIMIT 5 [ RunTime:0.005668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51072383 ORDER BY `minOrder` ASC [ RunTime:0.019522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51072383 ORDER BY `unit` DESC [ RunTime:0.009499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51072383 LIMIT 2 [ RunTime:0.000927s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51072383 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
select * from pdf where partno='410031b18' and brandshort='apem' limit 1 [ RunTime:0.002017s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410031b18' OR `brand` LIKE 'apem%' ) ) LIMIT 1 [ RunTime:0.006021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32212492 LIMIT 5 [ RunTime:0.000755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32212492 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32212492 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32212492 LIMIT 2 [ RunTime:0.010465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32212492 ORDER BY `minOrder` ASC [ RunTime:0.003020s ]
select * from pdf where partno='410032b14' and brandshort='apem' limit 1 [ RunTime:0.001409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410032b14' OR `brand` LIKE 'apem%' ) ) LIMIT 1 [ RunTime:0.005715s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57713058 LIMIT 5 [ RunTime:0.019204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57713058 ORDER BY `minOrder` ASC [ RunTime:0.035205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57713058 ORDER BY `unit` DESC [ RunTime:0.015431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57713058 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57713058 ORDER BY `minOrder` ASC [ RunTime:0.002649s ]
select * from pdf where partno='41003' and brandshort='Brady Corporation' limit 1 [ RunTime:0.001020s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '41003' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.002550s ]
SELECT `id` FROM `stock` WHERE `id` <> 57713058 AND `partno` = '41003' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.015598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13555915 [ RunTime:0.019028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56546335 LIMIT 5 [ RunTime:0.005765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56546335 ORDER BY `minOrder` ASC [ RunTime:0.003338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56546335 ORDER BY `unit` DESC [ RunTime:0.009338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56546335 LIMIT 2 [ RunTime:0.009977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56546335 ORDER BY `minOrder` ASC [ RunTime:0.004769s ]
select * from pdf where partno='410031B18' and brandshort='APEM Inc.' limit 1 [ RunTime:0.004286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410031B18' OR `brand` LIKE 'APEM Inc.%' ) ) LIMIT 1 [ RunTime:0.000629s ]
SELECT `id` FROM `stock` WHERE `id` <> 56546335 AND `partno` = '410031B18' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apem inc.%' ) [ RunTime:0.003727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13340768 [ RunTime:0.012091s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56546272 LIMIT 5 [ RunTime:0.007534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56546272 ORDER BY `minOrder` ASC [ RunTime:0.005701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56546272 ORDER BY `unit` DESC [ RunTime:0.002732s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56546272 LIMIT 2 [ RunTime:0.004939s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56546272 ORDER BY `minOrder` ASC [ RunTime:0.005942s ]
select * from pdf where partno='410032B14' and brandshort='APEM Inc.' limit 1 [ RunTime:0.001019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410032B14' OR `brand` LIKE 'APEM Inc.%' ) ) LIMIT 1 [ RunTime:0.008979s ]
SELECT `id` FROM `stock` WHERE `id` <> 56546272 AND `partno` = '410032B14' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apem inc.%' ) [ RunTime:0.009204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12061657 [ RunTime:0.003773s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014002s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004500s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016742s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004527s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001136s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003666s ]
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 '41003%' OR `brand` LIKE '41003%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006876s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '41003%' OR `brand` LIKE '41003%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004302s ]