SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003172s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008382s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002088s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392175 LIMIT 5 [ RunTime:0.003463s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392175 ORDER BY `minOrder` ASC [ RunTime:0.006535s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12392175 ORDER BY `unit` DESC [ RunTime:0.002702s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12392175 LIMIT 2 [ RunTime:0.030291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12392175 ORDER BY `minOrder` ASC [ RunTime:0.007376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17265952 LIMIT 5 [ RunTime:0.017075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17265952 ORDER BY `minOrder` ASC [ RunTime:0.007750s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17265952 ORDER BY `unit` DESC [ RunTime:0.006873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17265952 LIMIT 2 [ RunTime:0.015035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17265952 ORDER BY `minOrder` ASC [ RunTime:0.007433s ]
select * from pdf where partno='6069-410-001-OEM' and brandshort='Digilent, Inc.' limit 1 [ RunTime:0.006574s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32307314 LIMIT 5 [ RunTime:0.004745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32307314 ORDER BY `minOrder` ASC [ RunTime:0.010031s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32307314 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32307314 LIMIT 2 [ RunTime:0.010317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32307314 ORDER BY `minOrder` ASC [ RunTime:0.011120s ]
select * from pdf where partno='6069-410-001' and brandshort='digilent' limit 1 [ RunTime:0.008413s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6069-410-001' OR `brand` LIKE 'digilent%' ) ) LIMIT 1 [ RunTime:0.000259s ]
SELECT `id` FROM `stock` WHERE `id` <> 32307314 AND `partno` = '6069-410-001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent%' ) [ RunTime:0.003912s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392175 [ RunTime:0.004165s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055870s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50242687 LIMIT 5 [ RunTime:0.002680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50242687 ORDER BY `minOrder` ASC [ RunTime:0.017251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50242687 ORDER BY `unit` DESC [ RunTime:0.001817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50242687 LIMIT 2 [ RunTime:0.007867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50242687 ORDER BY `minOrder` ASC [ RunTime:0.004037s ]
select * from pdf where partno='6069-410-001-OEM' and brandshort='Digilent, Inc.' limit 1 [ RunTime:0.008863s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6069-410-001-OEM' OR `brand` LIKE 'Digilent, Inc.%' ) ) LIMIT 1 [ RunTime:0.003097s ]
SELECT `id` FROM `stock` WHERE `id` <> 50242687 AND `partno` = '6069-410-001-OEM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent, inc.%' ) [ RunTime:0.003985s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17265952 [ RunTime:0.000448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37439723 LIMIT 5 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37439723 ORDER BY `minOrder` ASC [ RunTime:0.002133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37439723 ORDER BY `unit` DESC [ RunTime:0.016628s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37439723 LIMIT 2 [ RunTime:0.001404s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37439723 ORDER BY `minOrder` ASC [ RunTime:0.005202s ]
select * from pdf where partno='6069-410-001-OEM' and brandshort='Digilent, Inc.' limit 1 [ RunTime:0.004598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6069-410-001-OEM' OR `brand` LIKE 'Digilent, Inc.%' ) ) LIMIT 1 [ RunTime:0.004104s ]
SELECT `id` FROM `stock` WHERE `id` <> 37439723 AND `partno` = '6069-410-001-OEM' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent, inc.%' ) [ RunTime:0.013931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17265952 [ RunTime:0.000441s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37437316 LIMIT 5 [ RunTime:0.005583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37437316 ORDER BY `minOrder` ASC [ RunTime:0.009240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37437316 ORDER BY `unit` DESC [ RunTime:0.000706s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37437316 LIMIT 2 [ RunTime:0.007132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37437316 ORDER BY `minOrder` ASC [ RunTime:0.020362s ]
select * from pdf where partno='6069-410-001' and brandshort='Digilent, Inc.' limit 1 [ RunTime:0.004274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6069-410-001' OR `brand` LIKE 'Digilent, Inc.%' ) ) LIMIT 1 [ RunTime:0.003999s ]
SELECT `id` FROM `stock` WHERE `id` <> 37437316 AND `partno` = '6069-410-001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%digilent, inc.%' ) [ RunTime:0.004374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12392175 [ RunTime:0.000689s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.017882s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013863s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005423s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013007s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009165s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005344s ]
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 '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014534s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '6069-410-001%' OR `brand` LIKE '6069-410-001%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.018410s ]