SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001491s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028152s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.022458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11682608 LIMIT 5 [ RunTime:0.023905s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11682608 ORDER BY `minOrder` ASC [ RunTime:0.044019s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11682608 ORDER BY `unit` DESC [ RunTime:0.010340s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11682608 LIMIT 2 [ RunTime:0.048548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11682608 ORDER BY `minOrder` ASC [ RunTime:0.025119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10832525 LIMIT 5 [ RunTime:0.028707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10832525 ORDER BY `minOrder` ASC [ RunTime:0.041176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10832525 ORDER BY `unit` DESC [ RunTime:0.007421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10832525 LIMIT 2 [ RunTime:0.036470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10832525 ORDER BY `minOrder` ASC [ RunTime:0.052901s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13555652 LIMIT 5 [ RunTime:0.042787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13555652 ORDER BY `minOrder` ASC [ RunTime:0.013401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13555652 ORDER BY `unit` DESC [ RunTime:0.021807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13555652 LIMIT 2 [ RunTime:0.014316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13555652 ORDER BY `minOrder` ASC [ RunTime:0.032736s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12448673 LIMIT 5 [ RunTime:0.067588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12448673 ORDER BY `minOrder` ASC [ RunTime:0.025667s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12448673 ORDER BY `unit` DESC [ RunTime:0.053063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12448673 LIMIT 2 [ RunTime:0.070000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12448673 ORDER BY `minOrder` ASC [ RunTime:0.028079s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050867s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61914026 LIMIT 5 [ RunTime:0.066348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61914026 ORDER BY `minOrder` ASC [ RunTime:0.046675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61914026 ORDER BY `unit` DESC [ RunTime:0.102526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61914026 LIMIT 2 [ RunTime:0.064503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61914026 ORDER BY `minOrder` ASC [ RunTime:0.032238s ]
select * from pdf where partno='122442RP' and brandshort='Amphenol RF' limit 1 [ RunTime:0.032580s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001708s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '122442RP' OR `brand` LIKE 'Amphenol RF%' ) ) LIMIT 1 [ RunTime:0.033702s ]
SELECT `id` FROM `stock` WHERE `id` <> 61914026 AND `partno` = '122442RP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol rf%' ) [ RunTime:0.014721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11682608 [ RunTime:0.033812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61232814 LIMIT 5 [ RunTime:0.011903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61232814 ORDER BY `minOrder` ASC [ RunTime:0.009170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61232814 ORDER BY `unit` DESC [ RunTime:0.034176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61232814 LIMIT 2 [ RunTime:0.013886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61232814 ORDER BY `minOrder` ASC [ RunTime:0.022937s ]
select * from pdf where partno='1224420000' and brandshort='Weidmüller' limit 1 [ RunTime:0.050329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1224420000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.011697s ]
SELECT `id` FROM `stock` WHERE `id` <> 61232814 AND `partno` = '1224420000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.026351s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10832525 [ RunTime:0.006288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64532332 LIMIT 5 [ RunTime:0.013968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64532332 ORDER BY `minOrder` ASC [ RunTime:0.019502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64532332 ORDER BY `unit` DESC [ RunTime:0.021745s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64532332 LIMIT 2 [ RunTime:0.007327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64532332 ORDER BY `minOrder` ASC [ RunTime:0.004204s ]
select * from pdf where partno='122442' and brandshort='Brady Corporation' limit 1 [ RunTime:0.004391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '122442' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.015031s ]
SELECT `id` FROM `stock` WHERE `id` <> 64532332 AND `partno` = '122442' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.011572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13555652 [ RunTime:0.010082s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58423563 LIMIT 5 [ RunTime:0.003102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58423563 ORDER BY `minOrder` ASC [ RunTime:0.019608s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58423563 ORDER BY `unit` DESC [ RunTime:0.007123s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58423563 LIMIT 2 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58423563 ORDER BY `minOrder` ASC [ RunTime:0.002679s ]
select * from pdf where partno='122442RA' and brandshort='APEM Inc.' limit 1 [ RunTime:0.004019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '122442RA' OR `brand` LIKE 'APEM Inc.%' ) ) LIMIT 1 [ RunTime:0.001149s ]
SELECT `id` FROM `stock` WHERE `id` <> 58423563 AND `partno` = '122442RA' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%apem inc.%' ) [ RunTime:0.006782s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12448673 [ RunTime:0.003531s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003952s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001086s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001125s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001100s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009350s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019273s ]
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 '122442%' OR `brand` LIKE '122442%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020392s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '122442%' OR `brand` LIKE '122442%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005082s ]