SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001355s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000878s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001078s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14513 LIMIT 5 [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000999s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14513 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001125s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14513 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14513 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14513 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='TIP122G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000634s ]
select foldpath,foldpath2,filename from pdf_file where id=589193 limit 1 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001546s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TIP122G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008459s ]
SELECT `id` FROM `stock` WHERE `id` <> 14513 AND `partno` = 'TIP122G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000620s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15390 [ RunTime:0.000305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410 [ RunTime:0.000291s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65415836 [ RunTime:0.000293s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410 LIMIT 5 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16410 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16410 LIMIT 2 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16410 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='TIP122G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000530s ]
select foldpath,foldpath2,filename from pdf_file where id=589193 limit 1 [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TIP122G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008217s ]
SELECT `id` FROM `stock` WHERE `id` <> 16410 AND `partno` = 'TIP122G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14513 [ RunTime:0.000289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15390 [ RunTime:0.000262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65415836 [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15390 LIMIT 5 [ RunTime:0.000268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15390 ORDER BY `minOrder` ASC [ RunTime:0.000900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15390 ORDER BY `unit` DESC [ RunTime:0.000476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15390 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15390 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
select * from pdf where partno='TIP122G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000530s ]
select foldpath,foldpath2,filename from pdf_file where id=589193 limit 1 [ RunTime:0.000272s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TIP122G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007321s ]
SELECT `id` FROM `stock` WHERE `id` <> 15390 AND `partno` = 'TIP122G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14513 [ RunTime:0.000432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410 [ RunTime:0.000360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65415836 [ RunTime:0.000342s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000946s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000838s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65415836 LIMIT 5 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65415836 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65415836 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65415836 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65415836 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
select * from pdf where partno='TIP122G' and brandshort='onsemi' limit 1 [ RunTime:0.001217s ]
select foldpath,foldpath2,filename from pdf_file where id=589193 limit 1 [ RunTime:0.000526s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TIP122G' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.012290s ]
SELECT `id` FROM `stock` WHERE `id` <> 65415836 AND `partno` = 'TIP122G' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.000907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14513 [ RunTime:0.000633s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15390 [ RunTime:0.000564s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16410 [ RunTime:0.000575s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001225s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001125s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001097s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001111s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001087s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001092s ]
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 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001145s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'TIP122G%' OR `brand` LIKE 'TIP122G%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000996s ]