SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001736s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.093603s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.025149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10862677 LIMIT 5 [ RunTime:0.104387s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10862677 ORDER BY `minOrder` ASC [ RunTime:0.051996s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026947s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10862677 ORDER BY `unit` DESC [ RunTime:0.038367s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.034189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10862677 LIMIT 2 [ RunTime:0.038659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10862677 ORDER BY `minOrder` ASC [ RunTime:0.019301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11776538 LIMIT 5 [ RunTime:0.077623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11776538 ORDER BY `minOrder` ASC [ RunTime:0.054327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11776538 ORDER BY `unit` DESC [ RunTime:0.073691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11776538 LIMIT 2 [ RunTime:0.075114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11776538 ORDER BY `minOrder` ASC [ RunTime:0.042380s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033306s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027342s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61147744 LIMIT 5 [ RunTime:0.054409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61147744 ORDER BY `minOrder` ASC [ RunTime:0.131522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61147744 ORDER BY `unit` DESC [ RunTime:0.085309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61147744 LIMIT 2 [ RunTime:0.018828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61147744 ORDER BY `minOrder` ASC [ RunTime:0.024028s ]
select * from pdf where partno='97-3100A-18-4P' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.088457s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-3100A-18-4P' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.083615s ]
SELECT `id` FROM `stock` WHERE `id` <> 61147744 AND `partno` = '97-3100A-18-4P' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.023667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10862677 [ RunTime:0.062105s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61237694 LIMIT 5 [ RunTime:0.003140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61237694 ORDER BY `minOrder` ASC [ RunTime:0.028938s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61237694 ORDER BY `unit` DESC [ RunTime:0.005230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61237694 LIMIT 2 [ RunTime:0.011595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61237694 ORDER BY `minOrder` ASC [ RunTime:0.005435s ]
select * from pdf where partno='97-3100A-18-4P(288)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.006184s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-3100A-18-4P(288)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.014602s ]
SELECT `id` FROM `stock` WHERE `id` <> 61237694 AND `partno` = '97-3100A-18-4P(288)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.009151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11776538 [ RunTime:0.008627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61217870 LIMIT 5 [ RunTime:0.004649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61217870 ORDER BY `minOrder` ASC [ RunTime:0.004760s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61217870 ORDER BY `unit` DESC [ RunTime:0.018704s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61217870 LIMIT 2 [ RunTime:0.014249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61217870 ORDER BY `minOrder` ASC [ RunTime:0.020510s ]
select * from pdf where partno='97-3100A-18-4P(946)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.012587s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-3100A-18-4P(946)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.002598s ]
SELECT `id` FROM `stock` WHERE `id` <> 61217870 AND `partno` = '97-3100A-18-4P(946)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.000941s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61216527 LIMIT 5 [ RunTime:0.000842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61216527 ORDER BY `minOrder` ASC [ RunTime:0.011113s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61216527 ORDER BY `unit` DESC [ RunTime:0.003672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61216527 LIMIT 2 [ RunTime:0.000569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61216527 ORDER BY `minOrder` ASC [ RunTime:0.005082s ]
select * from pdf where partno='97-3100A-18-4P(621)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.003396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-3100A-18-4P(621)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.001394s ]
SELECT `id` FROM `stock` WHERE `id` <> 61216527 AND `partno` = '97-3100A-18-4P(621)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.000575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61214331 LIMIT 5 [ RunTime:0.001641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61214331 ORDER BY `minOrder` ASC [ RunTime:0.010181s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61214331 ORDER BY `unit` DESC [ RunTime:0.000747s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61214331 LIMIT 2 [ RunTime:0.005308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61214331 ORDER BY `minOrder` ASC [ RunTime:0.005330s ]
select * from pdf where partno='97-3100A-18-4P(639)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.001111s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-3100A-18-4P(639)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.002495s ]
SELECT `id` FROM `stock` WHERE `id` <> 61214331 AND `partno` = '97-3100A-18-4P(639)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.020140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61212649 LIMIT 5 [ RunTime:0.009776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61212649 ORDER BY `minOrder` ASC [ RunTime:0.001201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61212649 ORDER BY `unit` DESC [ RunTime:0.007609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61212649 LIMIT 2 [ RunTime:0.003286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61212649 ORDER BY `minOrder` ASC [ RunTime:0.001725s ]
select * from pdf where partno='97-3100A-18-4P(211)' and brandshort='Amphenol Industrial Operations' limit 1 [ RunTime:0.007123s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '97-3100A-18-4P(211)' OR `brand` LIKE 'Amphenol Industrial Operations%' ) ) LIMIT 1 [ RunTime:0.009436s ]
SELECT `id` FROM `stock` WHERE `id` <> 61212649 AND `partno` = '97-3100A-18-4P(211)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol industrial operations%' ) [ RunTime:0.002021s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014771s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010042s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002421s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002343s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001399s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017240s ]
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 '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010189s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '97-3100A-18-4P%' OR `brand` LIKE '97-3100A-18-4P%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009334s ]