SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002302s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004975s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004659s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201475 LIMIT 5 [ RunTime:0.017843s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201475 ORDER BY `minOrder` ASC [ RunTime:0.001738s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005214s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19201475 ORDER BY `unit` DESC [ RunTime:0.041005s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19201475 LIMIT 2 [ RunTime:0.013777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19201475 ORDER BY `minOrder` ASC [ RunTime:0.016437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15332083 LIMIT 5 [ RunTime:0.025334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15332083 ORDER BY `minOrder` ASC [ RunTime:0.043240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15332083 ORDER BY `unit` DESC [ RunTime:0.002002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15332083 LIMIT 2 [ RunTime:0.010454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15332083 ORDER BY `minOrder` ASC [ RunTime:0.008882s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015008s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49992138 LIMIT 5 [ RunTime:0.114391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49992138 ORDER BY `minOrder` ASC [ RunTime:0.059980s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49992138 ORDER BY `unit` DESC [ RunTime:0.041030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49992138 LIMIT 2 [ RunTime:0.033663s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49992138 ORDER BY `minOrder` ASC [ RunTime:0.065989s ]
select * from pdf where partno='SN74ACT7813-40DL' and brandshort='Texas Instruments' limit 1 [ RunTime:0.028708s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74ACT7813-40DL' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.088886s ]
SELECT `id` FROM `stock` WHERE `id` <> 49992138 AND `partno` = 'SN74ACT7813-40DL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.040918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15332083 [ RunTime:0.028827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49991980 LIMIT 5 [ RunTime:0.012406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49991980 ORDER BY `minOrder` ASC [ RunTime:0.038170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49991980 ORDER BY `unit` DESC [ RunTime:0.034673s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49991980 LIMIT 2 [ RunTime:0.053716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49991980 ORDER BY `minOrder` ASC [ RunTime:0.023092s ]
select * from pdf where partno='SN74ACT7813-40DLR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.007564s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74ACT7813-40DLR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.067036s ]
SELECT `id` FROM `stock` WHERE `id` <> 49991980 AND `partno` = 'SN74ACT7813-40DLR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.032984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201475 [ RunTime:0.042726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37188294 LIMIT 5 [ RunTime:0.019422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37188294 ORDER BY `minOrder` ASC [ RunTime:0.030561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37188294 ORDER BY `unit` DESC [ RunTime:0.068999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37188294 LIMIT 2 [ RunTime:0.045239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37188294 ORDER BY `minOrder` ASC [ RunTime:0.009870s ]
select * from pdf where partno='SN74ACT7813-40DL' and brandshort='Texas Instruments' limit 1 [ RunTime:0.028409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74ACT7813-40DL' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.021447s ]
SELECT `id` FROM `stock` WHERE `id` <> 37188294 AND `partno` = 'SN74ACT7813-40DL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.033368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15332083 [ RunTime:0.036558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37188136 LIMIT 5 [ RunTime:0.090866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37188136 ORDER BY `minOrder` ASC [ RunTime:0.040505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37188136 ORDER BY `unit` DESC [ RunTime:0.047749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37188136 LIMIT 2 [ RunTime:0.020516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37188136 ORDER BY `minOrder` ASC [ RunTime:0.055584s ]
select * from pdf where partno='SN74ACT7813-40DLR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.015151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN74ACT7813-40DLR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.007943s ]
SELECT `id` FROM `stock` WHERE `id` <> 37188136 AND `partno` = 'SN74ACT7813-40DLR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.050397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19201475 [ RunTime:0.001031s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047655s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.072718s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.054235s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.100490s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.039776s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043855s ]
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 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035987s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SN74ACT7813-40DL%' OR `brand` LIKE 'SN74ACT7813-40DL%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010190s ]