SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002635s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027947s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11417334 LIMIT 5 [ RunTime:0.048528s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11417334 ORDER BY `minOrder` ASC [ RunTime:0.030891s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.019321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11417334 ORDER BY `unit` DESC [ RunTime:0.016372s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.024861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11417334 LIMIT 2 [ RunTime:0.064991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11417334 ORDER BY `minOrder` ASC [ RunTime:0.031104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18719962 LIMIT 5 [ RunTime:0.046264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18719962 ORDER BY `minOrder` ASC [ RunTime:0.071620s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18719962 ORDER BY `unit` DESC [ RunTime:0.042313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18719962 LIMIT 2 [ RunTime:0.076543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18719962 ORDER BY `minOrder` ASC [ RunTime:0.010050s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51094643 LIMIT 5 [ RunTime:0.065665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51094643 ORDER BY `minOrder` ASC [ RunTime:0.077659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51094643 ORDER BY `unit` DESC [ RunTime:0.032836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51094643 LIMIT 2 [ RunTime:0.028262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51094643 ORDER BY `minOrder` ASC [ RunTime:0.040199s ]
select * from pdf where partno='63445-1129' and brandshort='molex' limit 1 [ RunTime:0.062286s ]
select foldpath,foldpath2,filename from pdf_file where id=2065652 limit 1 [ RunTime:0.046907s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003032s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '63445-1129' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.095348s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60640457 LIMIT 5 [ RunTime:0.040431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60640457 ORDER BY `minOrder` ASC [ RunTime:0.090327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60640457 ORDER BY `unit` DESC [ RunTime:0.070467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60640457 LIMIT 2 [ RunTime:0.012899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60640457 ORDER BY `minOrder` ASC [ RunTime:0.027074s ]
select * from pdf where partno='63445-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.087812s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '63445-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.043248s ]
SELECT `id` FROM `stock` WHERE `id` <> 60640457 AND `partno` = '63445-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.067716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11417334 [ RunTime:0.077613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58527585 LIMIT 5 [ RunTime:0.007077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527585 ORDER BY `minOrder` ASC [ RunTime:0.010107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58527585 ORDER BY `unit` DESC [ RunTime:0.016446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58527585 LIMIT 2 [ RunTime:0.060977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527585 ORDER BY `minOrder` ASC [ RunTime:0.013243s ]
select * from pdf where partno='63445-1436' and brandshort='Molex' limit 1 [ RunTime:0.000677s ]
select foldpath,foldpath2,filename from pdf_file where id=1501945 limit 1 [ RunTime:0.011046s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '63445-1436' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.010495s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58527427 LIMIT 5 [ RunTime:0.032072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527427 ORDER BY `minOrder` ASC [ RunTime:0.009141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58527427 ORDER BY `unit` DESC [ RunTime:0.016199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58527427 LIMIT 2 [ RunTime:0.048049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527427 ORDER BY `minOrder` ASC [ RunTime:0.027266s ]
select * from pdf where partno='63445-1646' and brandshort='Molex' limit 1 [ RunTime:0.012190s ]
select foldpath,foldpath2,filename from pdf_file where id=1343498 limit 1 [ RunTime:0.017530s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '63445-1646' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.043235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58527569 LIMIT 5 [ RunTime:0.002994s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527569 ORDER BY `minOrder` ASC [ RunTime:0.029163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58527569 ORDER BY `unit` DESC [ RunTime:0.014965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58527569 LIMIT 2 [ RunTime:0.041099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527569 ORDER BY `minOrder` ASC [ RunTime:0.037327s ]
select * from pdf where partno='63445-1009' and brandshort='Molex' limit 1 [ RunTime:0.035769s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '63445-1009' OR `brand` LIKE 'Molex%' ) ) LIMIT 1 [ RunTime:0.027753s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028796s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045540s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017776s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016749s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067378s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047056s ]
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 '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017330s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '63445-1%' OR `brand` LIKE '63445-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.020584s ]