SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002910s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013086s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14802390 LIMIT 5 [ RunTime:0.002332s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14802390 ORDER BY `minOrder` ASC [ RunTime:0.007564s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14802390 ORDER BY `unit` DESC [ RunTime:0.009287s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14802390 LIMIT 2 [ RunTime:0.016591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14802390 ORDER BY `minOrder` ASC [ RunTime:0.005086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16682261 LIMIT 5 [ RunTime:0.015329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16682261 ORDER BY `minOrder` ASC [ RunTime:0.003243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16682261 ORDER BY `unit` DESC [ RunTime:0.015456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16682261 LIMIT 2 [ RunTime:0.018038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16682261 ORDER BY `minOrder` ASC [ RunTime:0.006109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14822466 LIMIT 5 [ RunTime:0.001113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14822466 ORDER BY `minOrder` ASC [ RunTime:0.010884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14822466 ORDER BY `unit` DESC [ RunTime:0.011320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14822466 LIMIT 2 [ RunTime:0.006231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14822466 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14822465 LIMIT 5 [ RunTime:0.001405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14822465 ORDER BY `minOrder` ASC [ RunTime:0.002202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14822465 ORDER BY `unit` DESC [ RunTime:0.001425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14822465 LIMIT 2 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14822465 ORDER BY `minOrder` ASC [ RunTime:0.001844s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007247s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006193s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42165466 LIMIT 5 [ RunTime:0.014006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42165466 ORDER BY `minOrder` ASC [ RunTime:0.020236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42165466 ORDER BY `unit` DESC [ RunTime:0.003225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42165466 LIMIT 2 [ RunTime:0.000863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42165466 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
select * from pdf where partno='M5KP14A' and brandshort='MDE Semiconductor Inc' limit 1 [ RunTime:0.012639s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001782s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M5KP14A' OR `brand` LIKE 'MDE Semiconductor Inc%' ) ) LIMIT 1 [ RunTime:0.003980s ]
SELECT `id` FROM `stock` WHERE `id` <> 42165466 AND `partno` = 'M5KP14A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mde semiconductor inc%' ) [ RunTime:0.001916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14802390 [ RunTime:0.004804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42335225 LIMIT 5 [ RunTime:0.003870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42335225 ORDER BY `minOrder` ASC [ RunTime:0.005826s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42335225 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42335225 LIMIT 2 [ RunTime:0.003016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42335225 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='M5KP14AE3/TR' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M5KP14AE3/TR' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.005799s ]
SELECT `id` FROM `stock` WHERE `id` <> 42335225 AND `partno` = 'M5KP14AE3/TR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.002929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16682261 [ RunTime:0.006767s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42333463 LIMIT 5 [ RunTime:0.002832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42333463 ORDER BY `minOrder` ASC [ RunTime:0.002866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42333463 ORDER BY `unit` DESC [ RunTime:0.000765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42333463 LIMIT 2 [ RunTime:0.002035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42333463 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
select * from pdf where partno='M5KP14AE3' and brandshort='Microchip Technology' limit 1 [ RunTime:0.001089s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M5KP14AE3' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.000878s ]
SELECT `id` FROM `stock` WHERE `id` <> 42333463 AND `partno` = 'M5KP14AE3' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.001568s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14822466 [ RunTime:0.000645s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42333462 LIMIT 5 [ RunTime:0.005434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42333462 ORDER BY `minOrder` ASC [ RunTime:0.002557s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42333462 ORDER BY `unit` DESC [ RunTime:0.000635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42333462 LIMIT 2 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42333462 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
select * from pdf where partno='M5KP14A' and brandshort='Microchip Technology' limit 1 [ RunTime:0.000851s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M5KP14A' OR `brand` LIKE 'Microchip Technology%' ) ) LIMIT 1 [ RunTime:0.005855s ]
SELECT `id` FROM `stock` WHERE `id` <> 42333462 AND `partno` = 'M5KP14A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%microchip technology%' ) [ RunTime:0.000552s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14822465 [ RunTime:0.000346s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000764s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000580s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000900s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000577s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003477s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003119s ]
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 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002254s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'M5KP14A%' OR `brand` LIKE 'M5KP14A%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004261s ]