SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001414s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005521s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12608963 LIMIT 5 [ RunTime:0.000756s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12608963 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12608963 ORDER BY `unit` DESC [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001138s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12608963 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12608963 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12609293 LIMIT 5 [ RunTime:0.001015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12609293 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12609293 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12609293 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12609293 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12610699 LIMIT 5 [ RunTime:0.000559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12610699 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12610699 ORDER BY `unit` DESC [ RunTime:0.000351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12610699 LIMIT 2 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12610699 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000992s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67155291 LIMIT 5 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67155291 ORDER BY `minOrder` ASC [ RunTime:0.000853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67155291 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67155291 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67155291 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='GT8E-2022SCF' and brandshort='Hirose Electric Co Ltd' limit 1 [ RunTime:0.007709s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001331s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GT8E-2022SCF' OR `brand` LIKE 'Hirose Electric Co Ltd%' ) ) LIMIT 1 [ RunTime:0.000841s ]
SELECT `id` FROM `stock` WHERE `id` <> 67155291 AND `partno` = 'GT8E-2022SCF' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hirose electric co ltd%' ) [ RunTime:0.000628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12608963 [ RunTime:0.000455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67156684 LIMIT 5 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67156684 ORDER BY `minOrder` ASC [ RunTime:0.000882s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67156684 ORDER BY `unit` DESC [ RunTime:0.000427s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67156684 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67156684 ORDER BY `minOrder` ASC [ RunTime:0.000493s ]
select * from pdf where partno='GT8E-2022SCF(01)' and brandshort='Hirose Electric Co Ltd' limit 1 [ RunTime:0.000977s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GT8E-2022SCF(01)' OR `brand` LIKE 'Hirose Electric Co Ltd%' ) ) LIMIT 1 [ RunTime:0.000810s ]
SELECT `id` FROM `stock` WHERE `id` <> 67156684 AND `partno` = 'GT8E-2022SCF(01)' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hirose electric co ltd%' ) [ RunTime:0.000873s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12609293 [ RunTime:0.000686s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 67156256 LIMIT 5 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67156256 ORDER BY `minOrder` ASC [ RunTime:0.002195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 67156256 ORDER BY `unit` DESC [ RunTime:0.000636s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 67156256 LIMIT 2 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 67156256 ORDER BY `minOrder` ASC [ RunTime:0.000729s ]
select * from pdf where partno='GT8E-2022SC' and brandshort='Hirose Electric Co Ltd' limit 1 [ RunTime:0.000927s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GT8E-2022SC' OR `brand` LIKE 'Hirose Electric Co Ltd%' ) ) LIMIT 1 [ RunTime:0.000781s ]
SELECT `id` FROM `stock` WHERE `id` <> 67156256 AND `partno` = 'GT8E-2022SC' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%hirose electric co ltd%' ) [ RunTime:0.000866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12610699 [ RunTime:0.000677s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001341s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001311s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001167s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001284s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001139s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001140s ]
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 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001416s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'GT8E-2022SC%' OR `brand` LIKE 'GT8E-2022SC%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.001111s ]