SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001455s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002443s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19666662 LIMIT 5 [ RunTime:0.000789s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19666662 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000937s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19666662 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001167s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19666662 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19666662 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32235679 LIMIT 5 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32235679 ORDER BY `minOrder` ASC [ RunTime:0.001032s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32235679 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32235679 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32235679 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
select * from pdf where partno='108010' and brandshort='basler' limit 1 [ RunTime:0.001302s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108010' OR `brand` LIKE 'basler%' ) ) LIMIT 1 [ RunTime:0.001235s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60471025 LIMIT 5 [ RunTime:0.000476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60471025 ORDER BY `minOrder` ASC [ RunTime:0.000928s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60471025 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60471025 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60471025 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
select * from pdf where partno='1080103' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000662s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1080103' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.005988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59386033 LIMIT 5 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59386033 ORDER BY `minOrder` ASC [ RunTime:0.001761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59386033 ORDER BY `unit` DESC [ RunTime:0.000422s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59386033 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59386033 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
select * from pdf where partno='1080100000' and brandshort='Weidmüller' limit 1 [ RunTime:0.000568s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1080100000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.000987s ]
SELECT `id` FROM `stock` WHERE `id` <> 59386033 AND `partno` = '1080100000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.000615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63291743 LIMIT 5 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63291743 ORDER BY `minOrder` ASC [ RunTime:0.000779s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63291743 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63291743 LIMIT 2 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63291743 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='108010' and brandshort='Basler Inc.' limit 1 [ RunTime:0.000522s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108010' OR `brand` LIKE 'Basler Inc.%' ) ) LIMIT 1 [ RunTime:0.000718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60473935 LIMIT 5 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60473935 ORDER BY `minOrder` ASC [ RunTime:0.000855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60473935 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60473935 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60473935 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
select * from pdf where partno='1080104' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.000631s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1080104' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.001791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60332379 LIMIT 5 [ RunTime:0.000461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60332379 ORDER BY `minOrder` ASC [ RunTime:0.004413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60332379 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60332379 LIMIT 2 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60332379 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='108010-ZZ' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108010-ZZ' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000494s ]
SELECT `id` FROM `stock` WHERE `id` <> 60332379 AND `partno` = '108010-ZZ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000428s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000673s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000610s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000585s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000622s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000760s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000659s ]
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 '108010%' OR `brand` LIKE '108010%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000661s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '108010%' OR `brand` LIKE '108010%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000622s ]