SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001419s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010477s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12391878 LIMIT 5 [ RunTime:0.007345s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12391878 ORDER BY `minOrder` ASC [ RunTime:0.004234s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005926s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12391878 ORDER BY `unit` DESC [ RunTime:0.034771s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001860s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12391878 LIMIT 2 [ RunTime:0.054487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12391878 ORDER BY `minOrder` ASC [ RunTime:0.003340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17266527 LIMIT 5 [ RunTime:0.045818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17266527 ORDER BY `minOrder` ASC [ RunTime:0.037950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17266527 ORDER BY `unit` DESC [ RunTime:0.075825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17266527 LIMIT 2 [ RunTime:0.114127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17266527 ORDER BY `minOrder` ASC [ RunTime:0.019099s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12395290 LIMIT 5 [ RunTime:0.104439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12395290 ORDER BY `minOrder` ASC [ RunTime:0.054632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12395290 ORDER BY `unit` DESC [ RunTime:0.057292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12395290 LIMIT 2 [ RunTime:0.028624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12395290 ORDER BY `minOrder` ASC [ RunTime:0.062354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12395289 LIMIT 5 [ RunTime:0.051072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12395289 ORDER BY `minOrder` ASC [ RunTime:0.096041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12395289 ORDER BY `unit` DESC [ RunTime:0.059665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12395289 LIMIT 2 [ RunTime:0.062127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12395289 ORDER BY `minOrder` ASC [ RunTime:0.027474s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12393890 LIMIT 5 [ RunTime:0.029553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12393890 ORDER BY `minOrder` ASC [ RunTime:0.056073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12393890 ORDER BY `unit` DESC [ RunTime:0.031614s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12393890 LIMIT 2 [ RunTime:0.023922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12393890 ORDER BY `minOrder` ASC [ RunTime:0.005322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11337008 LIMIT 5 [ RunTime:0.043022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337008 ORDER BY `minOrder` ASC [ RunTime:0.032424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11337008 ORDER BY `unit` DESC [ RunTime:0.031104s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11337008 LIMIT 2 [ RunTime:0.009633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337008 ORDER BY `minOrder` ASC [ RunTime:0.006150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11337007 LIMIT 5 [ RunTime:0.016233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337007 ORDER BY `minOrder` ASC [ RunTime:0.002850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11337007 ORDER BY `unit` DESC [ RunTime:0.021113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11337007 LIMIT 2 [ RunTime:0.002703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11337007 ORDER BY `minOrder` ASC [ RunTime:0.000714s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51100988 LIMIT 5 [ RunTime:0.003026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51100988 ORDER BY `minOrder` ASC [ RunTime:0.011896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51100988 ORDER BY `unit` DESC [ RunTime:0.004442s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51100988 LIMIT 2 [ RunTime:0.002440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51100988 ORDER BY `minOrder` ASC [ RunTime:0.002454s ]
select * from pdf where partno='410-396-6' and brandshort='digilent' limit 1 [ RunTime:0.015876s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002375s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410-396-6' OR `brand` LIKE 'digilent%' ) ) LIMIT 1 [ RunTime:0.010479s ]
SELECT `id` FROM `stock` WHERE `id` <> 51100988 AND `partno` = '410-396-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent%' ) [ RunTime:0.010408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12393890 [ RunTime:0.003889s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57242386 LIMIT 5 [ RunTime:0.002351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57242386 ORDER BY `minOrder` ASC [ RunTime:0.005452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57242386 ORDER BY `unit` DESC [ RunTime:0.001875s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57242386 LIMIT 2 [ RunTime:0.005421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57242386 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
select * from pdf where partno='410-396' and brandshort='Digilent, Inc.' limit 1 [ RunTime:0.011089s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410-396' OR `brand` LIKE 'Digilent, Inc.%' ) ) LIMIT 1 [ RunTime:0.000766s ]
SELECT `id` FROM `stock` WHERE `id` <> 57242386 AND `partno` = '410-396' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent, inc.%' ) [ RunTime:0.012996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12391878 [ RunTime:0.004388s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57242392 LIMIT 5 [ RunTime:0.020430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57242392 ORDER BY `minOrder` ASC [ RunTime:0.005365s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57242392 ORDER BY `unit` DESC [ RunTime:0.031209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57242392 LIMIT 2 [ RunTime:0.028626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57242392 ORDER BY `minOrder` ASC [ RunTime:0.004967s ]
select * from pdf where partno='410-396-6' and brandshort='Digilent, Inc.' limit 1 [ RunTime:0.011524s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '410-396-6' OR `brand` LIKE 'Digilent, Inc.%' ) ) LIMIT 1 [ RunTime:0.004491s ]
SELECT `id` FROM `stock` WHERE `id` <> 57242392 AND `partno` = '410-396-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent, inc.%' ) [ RunTime:0.009444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12393890 [ RunTime:0.006081s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024180s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018721s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034735s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013631s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003529s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009927s ]
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 '410-396%' OR `brand` LIKE '410-396%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019869s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '410-396%' OR `brand` LIKE '410-396%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.027649s ]