SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001376s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020501s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.015289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14352898 LIMIT 5 [ RunTime:0.044325s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14352898 ORDER BY `minOrder` ASC [ RunTime:0.042329s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002300s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14352898 ORDER BY `unit` DESC [ RunTime:0.021605s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14352898 LIMIT 2 [ RunTime:0.011136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14352898 ORDER BY `minOrder` ASC [ RunTime:0.008336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12611010 LIMIT 5 [ RunTime:0.065376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12611010 ORDER BY `minOrder` ASC [ RunTime:0.049126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12611010 ORDER BY `unit` DESC [ RunTime:0.041831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12611010 LIMIT 2 [ RunTime:0.049081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12611010 ORDER BY `minOrder` ASC [ RunTime:0.022500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11488850 LIMIT 5 [ RunTime:0.032671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11488850 ORDER BY `minOrder` ASC [ RunTime:0.057613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11488850 ORDER BY `unit` DESC [ RunTime:0.006449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11488850 LIMIT 2 [ RunTime:0.038688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11488850 ORDER BY `minOrder` ASC [ RunTime:0.026386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11482394 LIMIT 5 [ RunTime:0.050477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11482394 ORDER BY `minOrder` ASC [ RunTime:0.046152s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11482394 ORDER BY `unit` DESC [ RunTime:0.020631s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11482394 LIMIT 2 [ RunTime:0.018355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11482394 ORDER BY `minOrder` ASC [ RunTime:0.024333s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034110s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.108599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57685779 LIMIT 5 [ RunTime:0.037757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57685779 ORDER BY `minOrder` ASC [ RunTime:0.023035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57685779 ORDER BY `unit` DESC [ RunTime:0.008484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57685779 LIMIT 2 [ RunTime:0.071072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57685779 ORDER BY `minOrder` ASC [ RunTime:0.035557s ]
select * from pdf where partno='1014295' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.026836s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002593s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1014295' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.036185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53529953 LIMIT 5 [ RunTime:0.032476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53529953 ORDER BY `minOrder` ASC [ RunTime:0.035019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53529953 ORDER BY `unit` DESC [ RunTime:0.017522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53529953 LIMIT 2 [ RunTime:0.012613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53529953 ORDER BY `minOrder` ASC [ RunTime:0.010787s ]
select * from pdf where partno='10142959-024LF' and brandshort='Amphenol ICC FCI' limit 1 [ RunTime:0.010315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10142959-024LF' OR `brand` LIKE 'Amphenol ICC (FCI)%' ) ) LIMIT 1 [ RunTime:0.011861s ]
SELECT `id` FROM `stock` WHERE `id` <> 53529953 AND `partno` = '10142959-024LF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.011665s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12611010 [ RunTime:0.006822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53529823 LIMIT 5 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53529823 ORDER BY `minOrder` ASC [ RunTime:0.004675s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53529823 ORDER BY `unit` DESC [ RunTime:0.000831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53529823 LIMIT 2 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53529823 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
select * from pdf where partno='10142959-022LF' and brandshort='Amphenol ICC FCI' limit 1 [ RunTime:0.001048s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10142959-022LF' OR `brand` LIKE 'Amphenol ICC (FCI)%' ) ) LIMIT 1 [ RunTime:0.006800s ]
SELECT `id` FROM `stock` WHERE `id` <> 53529823 AND `partno` = '10142959-022LF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.001159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11482394 [ RunTime:0.000679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53094710 LIMIT 5 [ RunTime:0.000653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53094710 ORDER BY `minOrder` ASC [ RunTime:0.003613s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53094710 ORDER BY `unit` DESC [ RunTime:0.009564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53094710 LIMIT 2 [ RunTime:0.000777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53094710 ORDER BY `minOrder` ASC [ RunTime:0.002684s ]
select * from pdf where partno='10142958-00005LF' and brandshort='Amphenol ICC FCI' limit 1 [ RunTime:0.001202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '10142958-00005LF' OR `brand` LIKE 'Amphenol ICC (FCI)%' ) ) LIMIT 1 [ RunTime:0.000808s ]
SELECT `id` FROM `stock` WHERE `id` <> 53094710 AND `partno` = '10142958-00005LF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amphenol icc%' ) [ RunTime:0.001049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11488850 [ RunTime:0.000738s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007808s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009535s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010093s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022906s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009566s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005720s ]
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 '1014295%' OR `brand` LIKE '1014295%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015970s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1014295%' OR `brand` LIKE '1014295%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.017583s ]