SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001948s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012630s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19669894 LIMIT 5 [ RunTime:0.011636s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19669894 ORDER BY `minOrder` ASC [ RunTime:0.030145s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002270s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19669894 ORDER BY `unit` DESC [ RunTime:0.028962s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19669894 LIMIT 2 [ RunTime:0.013336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19669894 ORDER BY `minOrder` ASC [ RunTime:0.013183s ]
select * from pdf where partno='1061232200' and brandshort='Molex' limit 1 [ RunTime:0.039421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19669880 LIMIT 5 [ RunTime:0.046225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19669880 ORDER BY `minOrder` ASC [ RunTime:0.037134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19669880 ORDER BY `unit` DESC [ RunTime:0.022515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19669880 LIMIT 2 [ RunTime:0.080131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19669880 ORDER BY `minOrder` ASC [ RunTime:0.005429s ]
select * from pdf where partno='1061232100' and brandshort='Molex' limit 1 [ RunTime:0.041568s ]
select foldpath,foldpath2,filename from pdf_file where id=1331203 limit 1 [ RunTime:0.055690s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19670064 LIMIT 5 [ RunTime:0.037383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19670064 ORDER BY `minOrder` ASC [ RunTime:0.064819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19670064 ORDER BY `unit` DESC [ RunTime:0.106121s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19670064 LIMIT 2 [ RunTime:0.066676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19670064 ORDER BY `minOrder` ASC [ RunTime:0.041383s ]
select * from pdf where partno='1061232400' and brandshort='Molex' limit 1 [ RunTime:0.018892s ]
select foldpath,foldpath2,filename from pdf_file where id=1912275 limit 1 [ RunTime:0.077938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17314298 LIMIT 5 [ RunTime:0.098589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17314298 ORDER BY `minOrder` ASC [ RunTime:0.064424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17314298 ORDER BY `unit` DESC [ RunTime:0.018695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17314298 LIMIT 2 [ RunTime:0.052441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17314298 ORDER BY `minOrder` ASC [ RunTime:0.064054s ]
select * from pdf where partno='1061232300' and brandshort='Molex' limit 1 [ RunTime:0.055658s ]
select foldpath,foldpath2,filename from pdf_file where id=1789667 limit 1 [ RunTime:0.052757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223006 LIMIT 5 [ RunTime:0.068308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223006 ORDER BY `minOrder` ASC [ RunTime:0.056363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15223006 ORDER BY `unit` DESC [ RunTime:0.027154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15223006 LIMIT 2 [ RunTime:0.050596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223006 ORDER BY `minOrder` ASC [ RunTime:0.015533s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015982s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633412 LIMIT 5 [ RunTime:0.016464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633412 ORDER BY `minOrder` ASC [ RunTime:0.016037s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633412 ORDER BY `unit` DESC [ RunTime:0.013039s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633412 LIMIT 2 [ RunTime:0.011624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633412 ORDER BY `minOrder` ASC [ RunTime:0.020457s ]
select * from pdf where partno='1061232100' and brandshort='Molex' limit 1 [ RunTime:0.010662s ]
select foldpath,foldpath2,filename from pdf_file where id=1331203 limit 1 [ RunTime:0.011873s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061232100' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.039117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64800413 LIMIT 5 [ RunTime:0.038555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64800413 ORDER BY `minOrder` ASC [ RunTime:0.026169s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64800413 ORDER BY `unit` DESC [ RunTime:0.043016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64800413 LIMIT 2 [ RunTime:0.018418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64800413 ORDER BY `minOrder` ASC [ RunTime:0.016842s ]
select * from pdf where partno='1061232' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.044932s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061232' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001993s ]
SELECT `id` FROM `stock` WHERE `id` <> 64800413 AND `partno` = '1061232' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.022987s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223006 [ RunTime:0.011451s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60634426 LIMIT 5 [ RunTime:0.005809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60634426 ORDER BY `minOrder` ASC [ RunTime:0.005177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60634426 ORDER BY `unit` DESC [ RunTime:0.005567s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60634426 LIMIT 2 [ RunTime:0.014186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60634426 ORDER BY `minOrder` ASC [ RunTime:0.002992s ]
select * from pdf where partno='1061232400' and brandshort='Molex' limit 1 [ RunTime:0.000958s ]
select foldpath,foldpath2,filename from pdf_file where id=1912275 limit 1 [ RunTime:0.000415s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061232400' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.022879s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60633473 LIMIT 5 [ RunTime:0.005858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633473 ORDER BY `minOrder` ASC [ RunTime:0.002455s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60633473 ORDER BY `unit` DESC [ RunTime:0.000715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60633473 LIMIT 2 [ RunTime:0.003046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60633473 ORDER BY `minOrder` ASC [ RunTime:0.006897s ]
select * from pdf where partno='1061232300' and brandshort='Molex' limit 1 [ RunTime:0.000687s ]
select foldpath,foldpath2,filename from pdf_file where id=1789667 limit 1 [ RunTime:0.000445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1061232300' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.015848s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010584s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004095s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011156s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023314s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013680s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007617s ]
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 '1061232%' OR `brand` LIKE '1061232%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011021s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1061232%' OR `brand` LIKE '1061232%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.031178s ]