SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001213s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011072s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12619379 LIMIT 5 [ RunTime:0.041857s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.010759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12619379 ORDER BY `minOrder` ASC [ RunTime:0.021432s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.026520s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12619379 ORDER BY `unit` DESC [ RunTime:0.052833s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12619379 LIMIT 2 [ RunTime:0.042943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12619379 ORDER BY `minOrder` ASC [ RunTime:0.003101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625400 LIMIT 5 [ RunTime:0.025567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625400 ORDER BY `minOrder` ASC [ RunTime:0.018638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12625400 ORDER BY `unit` DESC [ RunTime:0.035962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12625400 LIMIT 2 [ RunTime:0.002464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625400 ORDER BY `minOrder` ASC [ RunTime:0.027938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625196 LIMIT 5 [ RunTime:0.078331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625196 ORDER BY `minOrder` ASC [ RunTime:0.012906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12625196 ORDER BY `unit` DESC [ RunTime:0.051349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12625196 LIMIT 2 [ RunTime:0.035515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625196 ORDER BY `minOrder` ASC [ RunTime:0.015915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625154 LIMIT 5 [ RunTime:0.035831s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625154 ORDER BY `minOrder` ASC [ RunTime:0.059913s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12625154 ORDER BY `unit` DESC [ RunTime:0.040863s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12625154 LIMIT 2 [ RunTime:0.019075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625154 ORDER BY `minOrder` ASC [ RunTime:0.023888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625118 LIMIT 5 [ RunTime:0.033524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625118 ORDER BY `minOrder` ASC [ RunTime:0.045955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12625118 ORDER BY `unit` DESC [ RunTime:0.047975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12625118 LIMIT 2 [ RunTime:0.044434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12625118 ORDER BY `minOrder` ASC [ RunTime:0.023711s ]
select * from pdf where partno='DT04-08PD-C015' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.020604s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067066s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59946134 LIMIT 5 [ RunTime:0.041816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59946134 ORDER BY `minOrder` ASC [ RunTime:0.025938s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59946134 ORDER BY `unit` DESC [ RunTime:0.023811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59946134 LIMIT 2 [ RunTime:0.017488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59946134 ORDER BY `minOrder` ASC [ RunTime:0.009278s ]
select * from pdf where partno='DT04-08PD' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.011609s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DT04-08PD' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.024187s ]
SELECT `id` FROM `stock` WHERE `id` <> 59946134 AND `partno` = 'DT04-08PD' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.037002s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12619379 [ RunTime:0.026463s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59947847 LIMIT 5 [ RunTime:0.012276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59947847 ORDER BY `minOrder` ASC [ RunTime:0.009315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59947847 ORDER BY `unit` DESC [ RunTime:0.005322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59947847 LIMIT 2 [ RunTime:0.003140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59947847 ORDER BY `minOrder` ASC [ RunTime:0.010683s ]
select * from pdf where partno='DT04-08PD-E003' and brandshort='TE Connectivity' limit 1 [ RunTime:0.010691s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DT04-08PD-E003' OR `brand` LIKE 'TE Connectivity%' ) ) LIMIT 1 [ RunTime:0.024874s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59964975 LIMIT 5 [ RunTime:0.006317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964975 ORDER BY `minOrder` ASC [ RunTime:0.002777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59964975 ORDER BY `unit` DESC [ RunTime:0.002854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59964975 LIMIT 2 [ RunTime:0.005890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964975 ORDER BY `minOrder` ASC [ RunTime:0.001505s ]
select * from pdf where partno='DT04-08PD-P004' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.003322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DT04-08PD-P004' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.010611s ]
SELECT `id` FROM `stock` WHERE `id` <> 59964975 AND `partno` = 'DT04-08PD-P004' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.015741s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625400 [ RunTime:0.009192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59964556 LIMIT 5 [ RunTime:0.002251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964556 ORDER BY `minOrder` ASC [ RunTime:0.002755s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59964556 ORDER BY `unit` DESC [ RunTime:0.024525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59964556 LIMIT 2 [ RunTime:0.008813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964556 ORDER BY `minOrder` ASC [ RunTime:0.007152s ]
select * from pdf where partno='DT04-08PD-E003' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.007812s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DT04-08PD-E003' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.003797s ]
SELECT `id` FROM `stock` WHERE `id` <> 59964556 AND `partno` = 'DT04-08PD-E003' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.020108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625196 [ RunTime:0.010917s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59964491 LIMIT 5 [ RunTime:0.017416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964491 ORDER BY `minOrder` ASC [ RunTime:0.019631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59964491 ORDER BY `unit` DESC [ RunTime:0.016549s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59964491 LIMIT 2 [ RunTime:0.006067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964491 ORDER BY `minOrder` ASC [ RunTime:0.015270s ]
select * from pdf where partno='DT04-08PD-CE01' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.010822s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DT04-08PD-CE01' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.010284s ]
SELECT `id` FROM `stock` WHERE `id` <> 59964491 AND `partno` = 'DT04-08PD-CE01' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.014547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625154 [ RunTime:0.017334s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59964326 LIMIT 5 [ RunTime:0.012953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964326 ORDER BY `minOrder` ASC [ RunTime:0.014346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59964326 ORDER BY `unit` DESC [ RunTime:0.021630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59964326 LIMIT 2 [ RunTime:0.013249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59964326 ORDER BY `minOrder` ASC [ RunTime:0.015535s ]
select * from pdf where partno='DT04-08PD-C015' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.002663s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DT04-08PD-C015' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.012009s ]
SELECT `id` FROM `stock` WHERE `id` <> 59964326 AND `partno` = 'DT04-08PD-C015' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.016925s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12625118 [ RunTime:0.000850s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036185s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014991s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013528s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031583s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034579s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023327s ]
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 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025510s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'DT04-08PD%' OR `brand` LIKE 'DT04-08PD%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.053448s ]