SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001992s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015729s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243969 LIMIT 5 [ RunTime:0.008210s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243969 ORDER BY `minOrder` ASC [ RunTime:0.004862s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12243969 ORDER BY `unit` DESC [ RunTime:0.025866s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12243969 LIMIT 2 [ RunTime:0.017151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243969 ORDER BY `minOrder` ASC [ RunTime:0.018986s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243971 LIMIT 5 [ RunTime:0.034004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243971 ORDER BY `minOrder` ASC [ RunTime:0.014801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12243971 ORDER BY `unit` DESC [ RunTime:0.020787s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12243971 LIMIT 2 [ RunTime:0.035259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243971 ORDER BY `minOrder` ASC [ RunTime:0.013344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243376 LIMIT 5 [ RunTime:0.036373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243376 ORDER BY `minOrder` ASC [ RunTime:0.061467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12243376 ORDER BY `unit` DESC [ RunTime:0.050847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12243376 LIMIT 2 [ RunTime:0.031543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243376 ORDER BY `minOrder` ASC [ RunTime:0.060647s ]
select * from pdf where partno='LM4041DIZ-ADJ/LFT1' and brandshort='Texas Instruments' limit 1 [ RunTime:0.005418s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12244170 LIMIT 5 [ RunTime:0.023941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12244170 ORDER BY `minOrder` ASC [ RunTime:0.021883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12244170 ORDER BY `unit` DESC [ RunTime:0.034964s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12244170 LIMIT 2 [ RunTime:0.038468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12244170 ORDER BY `minOrder` ASC [ RunTime:0.039939s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.073385s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.071928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63668430 LIMIT 5 [ RunTime:0.036007s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63668430 ORDER BY `minOrder` ASC [ RunTime:0.017107s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63668430 ORDER BY `unit` DESC [ RunTime:0.014855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63668430 LIMIT 2 [ RunTime:0.031403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63668430 ORDER BY `minOrder` ASC [ RunTime:0.013437s ]
select * from pdf where partno='LM4041DIZ-ADJ/LFT1' and brandshort='National Semiconductor' limit 1 [ RunTime:0.012392s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM4041DIZ-ADJ/LFT1' OR `brand` LIKE 'National Semiconductor%' ) ) LIMIT 1 [ RunTime:0.014955s ]
SELECT `id` FROM `stock` WHERE `id` <> 63668430 AND `partno` = 'LM4041DIZ-ADJ/LFT1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%national semiconductor%' ) [ RunTime:0.014776s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243969 [ RunTime:0.008222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63668412 LIMIT 5 [ RunTime:0.054821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63668412 ORDER BY `minOrder` ASC [ RunTime:0.012110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63668412 ORDER BY `unit` DESC [ RunTime:0.016788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63668412 LIMIT 2 [ RunTime:0.009937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63668412 ORDER BY `minOrder` ASC [ RunTime:0.002644s ]
select * from pdf where partno='LM4041DIZ-ADJ' and brandshort='National Semiconductor' limit 1 [ RunTime:0.020236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM4041DIZ-ADJ' OR `brand` LIKE 'National Semiconductor%' ) ) LIMIT 1 [ RunTime:0.006778s ]
SELECT `id` FROM `stock` WHERE `id` <> 63668412 AND `partno` = 'LM4041DIZ-ADJ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%national semiconductor%' ) [ RunTime:0.004225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243971 [ RunTime:0.006603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63667785 LIMIT 5 [ RunTime:0.008913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63667785 ORDER BY `minOrder` ASC [ RunTime:0.012331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63667785 ORDER BY `unit` DESC [ RunTime:0.001315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63667785 LIMIT 2 [ RunTime:0.010092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63667785 ORDER BY `minOrder` ASC [ RunTime:0.005459s ]
select * from pdf where partno='LM4041DIZ-ADJ/LFT1' and brandshort='Texas Instruments' limit 1 [ RunTime:0.007434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM4041DIZ-ADJ/LFT1' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.018995s ]
SELECT `id` FROM `stock` WHERE `id` <> 63667785 AND `partno` = 'LM4041DIZ-ADJ/LFT1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.022251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243376 [ RunTime:0.000456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63668792 LIMIT 5 [ RunTime:0.007626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63668792 ORDER BY `minOrder` ASC [ RunTime:0.070770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63668792 ORDER BY `unit` DESC [ RunTime:0.043083s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63668792 LIMIT 2 [ RunTime:0.026103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63668792 ORDER BY `minOrder` ASC [ RunTime:0.021645s ]
select * from pdf where partno='LM4041DIZ-ADJ/NOPB' and brandshort='Texas Instruments' limit 1 [ RunTime:0.011968s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM4041DIZ-ADJ/NOPB' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.049366s ]
SELECT `id` FROM `stock` WHERE `id` <> 63668792 AND `partno` = 'LM4041DIZ-ADJ/NOPB' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.012699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12244170 [ RunTime:0.021483s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012365s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002952s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010500s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011420s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.034469s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.044192s ]
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 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.087494s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'LM4041DIZ-ADJ%' OR `brand` LIKE 'LM4041DIZ-ADJ%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.064505s ]