SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002372s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055365s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032938s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031399s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44116749 LIMIT 5 [ RunTime:0.049674s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116749 ORDER BY `minOrder` ASC [ RunTime:0.025453s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44116749 ORDER BY `unit` DESC [ RunTime:0.056770s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.026386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44116749 LIMIT 2 [ RunTime:0.018600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116749 ORDER BY `minOrder` ASC [ RunTime:0.013842s ]
select * from pdf where partno='S43100' and brandshort='Microchip Technology' limit 1 [ RunTime:0.060092s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003985s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S43100' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.010588s ]
SELECT `id` FROM `stock` WHERE `id` <> 44116749 AND `partno` = 'S43100' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.026573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44116732 LIMIT 5 [ RunTime:0.019562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116732 ORDER BY `minOrder` ASC [ RunTime:0.038963s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44116732 ORDER BY `unit` DESC [ RunTime:0.026475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44116732 LIMIT 2 [ RunTime:0.016482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116732 ORDER BY `minOrder` ASC [ RunTime:0.019168s ]
select * from pdf where partno='S43100A' and brandshort='Microchip Technology' limit 1 [ RunTime:0.021458s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S43100A' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.021504s ]
SELECT `id` FROM `stock` WHERE `id` <> 44116732 AND `partno` = 'S43100A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.029526s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44116730 LIMIT 5 [ RunTime:0.046013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116730 ORDER BY `minOrder` ASC [ RunTime:0.050027s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44116730 ORDER BY `unit` DESC [ RunTime:0.013257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44116730 LIMIT 2 [ RunTime:0.046991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116730 ORDER BY `minOrder` ASC [ RunTime:0.026058s ]
select * from pdf where partno='S43100TS' and brandshort='Microchip Technology' limit 1 [ RunTime:0.057552s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S43100TS' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.024032s ]
SELECT `id` FROM `stock` WHERE `id` <> 44116730 AND `partno` = 'S43100TS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.043003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44116728 LIMIT 5 [ RunTime:0.053375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116728 ORDER BY `minOrder` ASC [ RunTime:0.014048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44116728 ORDER BY `unit` DESC [ RunTime:0.036820s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44116728 LIMIT 2 [ RunTime:0.006226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116728 ORDER BY `minOrder` ASC [ RunTime:0.031138s ]
select * from pdf where partno='S43100BF' and brandshort='Microchip Technology' limit 1 [ RunTime:0.004241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S43100BF' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.007771s ]
SELECT `id` FROM `stock` WHERE `id` <> 44116728 AND `partno` = 'S43100BF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.005535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44116727 LIMIT 5 [ RunTime:0.051560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116727 ORDER BY `minOrder` ASC [ RunTime:0.009313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44116727 ORDER BY `unit` DESC [ RunTime:0.018049s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44116727 LIMIT 2 [ RunTime:0.054568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116727 ORDER BY `minOrder` ASC [ RunTime:0.022537s ]
select * from pdf where partno='S43100D' and brandshort='Microchip Technology' limit 1 [ RunTime:0.014445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S43100D' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.017140s ]
SELECT `id` FROM `stock` WHERE `id` <> 44116727 AND `partno` = 'S43100D' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.027808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44116726 LIMIT 5 [ RunTime:0.020557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116726 ORDER BY `minOrder` ASC [ RunTime:0.014682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44116726 ORDER BY `unit` DESC [ RunTime:0.010152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44116726 LIMIT 2 [ RunTime:0.021808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44116726 ORDER BY `minOrder` ASC [ RunTime:0.032545s ]
select * from pdf where partno='S43100F' and brandshort='Microchip Technology' limit 1 [ RunTime:0.035408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S43100F' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.027754s ]
SELECT `id` FROM `stock` WHERE `id` <> 44116726 AND `partno` = 'S43100F' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.032971s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.094294s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.077547s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021276s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.057369s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032186s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065989s ]
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 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037619s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'S43100%' OR `brand` LIKE 'S43100%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.059605s ]