SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001372s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006809s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001268s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.001116s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001515s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.003539s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 601 LIMIT 1 [ RunTime:0.013803s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 601 [ RunTime:0.000285s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004896s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 601 ) AND `u`.`lockUser` = '0' [ RunTime:0.004501s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 601 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001772s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('4029','1322','16897','15878','7011','8697','13844','4033','9980','13837','4028','127','9984','5186','8150','9983','13838','4288','9981','9827') ORDER BY FIELD(s.id, 4029,1322,16897,15878,7011,8697,13844,4033,9980,13837,4028,127,9984,5186,8150,9983,13838,4288,9981,9827) [ RunTime:0.015709s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4029 LIMIT 4 [ RunTime:0.005996s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.006012s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4029 ORDER BY `unit` DESC [ RunTime:0.006810s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4029 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.004137s ]
select * from pdf where partno='PP002062' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.005557s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002470s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PP002062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001163s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1322 LIMIT 4 [ RunTime:0.004570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.001521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1322 ORDER BY `unit` DESC [ RunTime:0.002396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1322 LIMIT 2 [ RunTime:0.000663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.004770s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TY523MR' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.000422s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16897 LIMIT 4 [ RunTime:0.006386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.005825s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16897 ORDER BY `unit` DESC [ RunTime:0.005222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16897 LIMIT 2 [ RunTime:0.009963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.001603s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.001037s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.003911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15878 LIMIT 4 [ RunTime:0.004841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.006929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15878 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15878 LIMIT 2 [ RunTime:0.000894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.004434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7011 LIMIT 4 [ RunTime:0.001628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.003705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7011 ORDER BY `unit` DESC [ RunTime:0.006196s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7011 LIMIT 2 [ RunTime:0.003799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEL-EC60466' OR `brand` LIKE 'VELCRO%' ) ) LIMIT 1 [ RunTime:0.002339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8697 LIMIT 4 [ RunTime:0.001992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.001701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8697 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8697 LIMIT 2 [ RunTime:0.001057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.009650s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NBB12' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.016068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13844 LIMIT 4 [ RunTime:0.011090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.010026s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13844 ORDER BY `unit` DESC [ RunTime:0.002993s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13844 LIMIT 2 [ RunTime:0.006713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.006003s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '111-01960' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.015717s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4033 LIMIT 4 [ RunTime:0.013552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.006499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4033 ORDER BY `unit` DESC [ RunTime:0.011532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4033 LIMIT 2 [ RunTime:0.005642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.001902s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-M100' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.005140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9980 LIMIT 4 [ RunTime:0.011712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9980 ORDER BY `unit` DESC [ RunTime:0.000392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9980 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.001373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT2.5S-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.004019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13837 LIMIT 4 [ RunTime:0.004206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.002101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13837 ORDER BY `unit` DESC [ RunTime:0.000817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13837 LIMIT 2 [ RunTime:0.004178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4028 LIMIT 4 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4028 ORDER BY `unit` DESC [ RunTime:0.008389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4028 LIMIT 2 [ RunTime:0.001565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4028 ORDER BY `minOrder` ASC [ RunTime:0.001585s ]
select * from pdf where partno='HC-1S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.009228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HC-1S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003406s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 127 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.002325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 127 ORDER BY `unit` DESC [ RunTime:0.002800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 127 LIMIT 2 [ RunTime:0.000594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 127 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='ABM2S-A-C' and brandshort='PANDUIT' limit 1 [ RunTime:0.002139s ]
select foldpath,foldpath2,filename from pdf_file where id=2042215 limit 1 [ RunTime:0.004966s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABM2S-A-C' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.012067s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9984 LIMIT 4 [ RunTime:0.008246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.003974s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9984 ORDER BY `unit` DESC [ RunTime:0.010285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9984 LIMIT 2 [ RunTime:0.004326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9984 ORDER BY `minOrder` ASC [ RunTime:0.005628s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TM2S8-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.006069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5186 LIMIT 4 [ RunTime:0.003335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.000639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5186 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5186 LIMIT 2 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5186 ORDER BY `minOrder` ASC [ RunTime:0.003573s ]
select * from pdf where partno='MBMS-S10-MY' and brandshort='PANDUIT' limit 1 [ RunTime:0.009076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBMS-S10-MY' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.006356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8150 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.000552s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8150 ORDER BY `unit` DESC [ RunTime:0.000510s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8150 LIMIT 2 [ RunTime:0.003041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8150 ORDER BY `minOrder` ASC [ RunTime:0.010202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '118-04800.' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.001189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9983 LIMIT 4 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9983 ORDER BY `unit` DESC [ RunTime:0.000487s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9983 LIMIT 2 [ RunTime:0.001843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9983 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='ABMS-A-D' and brandshort='PANDUIT' limit 1 [ RunTime:0.001449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ABMS-A-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.006439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13838 LIMIT 4 [ RunTime:0.001070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13838 ORDER BY `unit` DESC [ RunTime:0.000563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13838 LIMIT 2 [ RunTime:0.003003s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13838 ORDER BY `minOrder` ASC [ RunTime:0.003592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '151-28119' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.001798s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4288 LIMIT 4 [ RunTime:0.006575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.006772s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4288 ORDER BY `unit` DESC [ RunTime:0.009782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4288 LIMIT 2 [ RunTime:0.005117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4288 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
select * from pdf where partno='PLT1M-C76' and brandshort='PANDUIT' limit 1 [ RunTime:0.001485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-C76' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.005756s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9981 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9981 ORDER BY `unit` DESC [ RunTime:0.002210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9981 LIMIT 2 [ RunTime:0.004296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9981 ORDER BY `minOrder` ASC [ RunTime:0.001556s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLWP1SB-D' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.001517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9827 LIMIT 4 [ RunTime:0.003663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.003226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9827 ORDER BY `unit` DESC [ RunTime:0.010703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9827 LIMIT 2 [ RunTime:0.001266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9827 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1212609' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.001901s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 601 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000897s ]