SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002535s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012419s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19197682 LIMIT 5 [ RunTime:0.004399s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19197682 ORDER BY `minOrder` ASC [ RunTime:0.007608s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19197682 ORDER BY `unit` DESC [ RunTime:0.007422s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19197682 LIMIT 2 [ RunTime:0.000998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19197682 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17110490 LIMIT 5 [ RunTime:0.002001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17110490 ORDER BY `minOrder` ASC [ RunTime:0.011127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17110490 ORDER BY `unit` DESC [ RunTime:0.008042s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17110490 LIMIT 2 [ RunTime:0.010768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17110490 ORDER BY `minOrder` ASC [ RunTime:0.005428s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007611s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50099424 LIMIT 5 [ RunTime:0.002641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50099424 ORDER BY `minOrder` ASC [ RunTime:0.009319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50099424 ORDER BY `unit` DESC [ RunTime:0.007152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50099424 LIMIT 2 [ RunTime:0.012314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50099424 ORDER BY `minOrder` ASC [ RunTime:0.008806s ]
select * from pdf where partno='PI3C34X245BE' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.018233s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C34X245BE' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.011204s ]
SELECT `id` FROM `stock` WHERE `id` <> 50099424 AND `partno` = 'PI3C34X245BE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.014292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19197682 [ RunTime:0.018539s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50099385 LIMIT 5 [ RunTime:0.007313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50099385 ORDER BY `minOrder` ASC [ RunTime:0.009989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50099385 ORDER BY `unit` DESC [ RunTime:0.007428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50099385 LIMIT 2 [ RunTime:0.024017s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50099385 ORDER BY `minOrder` ASC [ RunTime:0.004806s ]
select * from pdf where partno='PI3C34X245BEX' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.009232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C34X245BEX' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.013534s ]
SELECT `id` FROM `stock` WHERE `id` <> 50099385 AND `partno` = 'PI3C34X245BEX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.016387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17110490 [ RunTime:0.010233s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37296555 LIMIT 5 [ RunTime:0.000741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37296555 ORDER BY `minOrder` ASC [ RunTime:0.010883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37296555 ORDER BY `unit` DESC [ RunTime:0.012588s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37296555 LIMIT 2 [ RunTime:0.003134s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37296555 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
select * from pdf where partno='PI3C34X245BE' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.001083s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C34X245BE' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.000484s ]
SELECT `id` FROM `stock` WHERE `id` <> 37296555 AND `partno` = 'PI3C34X245BE' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.000961s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19197682 [ RunTime:0.003387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 37296518 LIMIT 5 [ RunTime:0.006928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37296518 ORDER BY `minOrder` ASC [ RunTime:0.000869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 37296518 ORDER BY `unit` DESC [ RunTime:0.005109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 37296518 LIMIT 2 [ RunTime:0.002430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 37296518 ORDER BY `minOrder` ASC [ RunTime:0.000452s ]
select * from pdf where partno='PI3C34X245BEX' and brandshort='Diodes Incorporated' limit 1 [ RunTime:0.008211s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI3C34X245BEX' OR `brand` LIKE 'Diodes Incorporated%' ) ) LIMIT 1 [ RunTime:0.003601s ]
SELECT `id` FROM `stock` WHERE `id` <> 37296518 AND `partno` = 'PI3C34X245BEX' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%diodes incorporated%' ) [ RunTime:0.002154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17110490 [ RunTime:0.000440s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003221s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001218s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004635s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003127s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001674s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002048s ]
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 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002980s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'PI3C34X245BE%' OR `brand` LIKE 'PI3C34X245BE%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001294s ]