SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003146s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006836s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11417090 LIMIT 5 [ RunTime:0.016670s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11417090 ORDER BY `minOrder` ASC [ RunTime:0.001837s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11417090 ORDER BY `unit` DESC [ RunTime:0.005495s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.010899s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11417090 LIMIT 2 [ RunTime:0.004619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11417090 ORDER BY `minOrder` ASC [ RunTime:0.017219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 LIMIT 5 [ RunTime:0.021092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.012873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4716 ORDER BY `unit` DESC [ RunTime:0.010207s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4716 LIMIT 2 [ RunTime:0.009060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4716 ORDER BY `minOrder` ASC [ RunTime:0.009005s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001504s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011191s ]
SELECT `id` FROM `stock` WHERE `id` <> 4716 AND `partno` = '1217080-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amp - te connectivity%' ) [ RunTime:0.032238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15835 [ RunTime:0.013183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16854 [ RunTime:0.057563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16854 LIMIT 5 [ RunTime:0.006359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16854 ORDER BY `minOrder` ASC [ RunTime:0.033131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16854 ORDER BY `unit` DESC [ RunTime:0.017821s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16854 LIMIT 2 [ RunTime:0.059600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16854 ORDER BY `minOrder` ASC [ RunTime:0.042719s ]
select * from pdf where partno='1217080-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.033731s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011724s ]
SELECT `id` FROM `stock` WHERE `id` <> 16854 AND `partno` = '1217080-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amp - te connectivity%' ) [ RunTime:0.035616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 [ RunTime:0.032244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15835 [ RunTime:0.033964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15835 LIMIT 5 [ RunTime:0.035234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15835 ORDER BY `minOrder` ASC [ RunTime:0.120077s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15835 ORDER BY `unit` DESC [ RunTime:0.096145s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15835 LIMIT 2 [ RunTime:0.081015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15835 ORDER BY `minOrder` ASC [ RunTime:0.020721s ]
select * from pdf where partno='1217080-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.027492s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.052456s ]
SELECT `id` FROM `stock` WHERE `id` <> 15835 AND `partno` = '1217080-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%amp - te connectivity%' ) [ RunTime:0.062778s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4716 [ RunTime:0.003472s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16854 [ RunTime:0.000551s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.110576s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.053389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60639541 LIMIT 5 [ RunTime:0.048153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60639541 ORDER BY `minOrder` ASC [ RunTime:0.047461s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60639541 ORDER BY `unit` DESC [ RunTime:0.026977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60639541 LIMIT 2 [ RunTime:0.019279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60639541 ORDER BY `minOrder` ASC [ RunTime:0.001371s ]
select * from pdf where partno='1217080-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.035009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217080-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.032123s ]
SELECT `id` FROM `stock` WHERE `id` <> 60639541 AND `partno` = '1217080-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.031236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11417090 [ RunTime:0.087027s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026619s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051728s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042930s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027450s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034179s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001263s ]
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 '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013767s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1217080-1%' OR `brand` LIKE '1217080-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015227s ]