SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002654s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007523s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238554 LIMIT 5 [ RunTime:0.003212s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238554 ORDER BY `minOrder` ASC [ RunTime:0.002847s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12238554 ORDER BY `unit` DESC [ RunTime:0.002318s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12238554 LIMIT 2 [ RunTime:0.003718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12238554 ORDER BY `minOrder` ASC [ RunTime:0.006803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16489129 LIMIT 5 [ RunTime:0.006547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16489129 ORDER BY `minOrder` ASC [ RunTime:0.003065s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16489129 ORDER BY `unit` DESC [ RunTime:0.001442s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16489129 LIMIT 2 [ RunTime:0.004211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16489129 ORDER BY `minOrder` ASC [ RunTime:0.006620s ]
select * from pdf where partno='2032237-6' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.003888s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16489022 LIMIT 5 [ RunTime:0.007629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16489022 ORDER BY `minOrder` ASC [ RunTime:0.002403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16489022 ORDER BY `unit` DESC [ RunTime:0.000469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16489022 LIMIT 2 [ RunTime:0.003885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16489022 ORDER BY `minOrder` ASC [ RunTime:0.001168s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16355712 LIMIT 5 [ RunTime:0.007136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16355712 ORDER BY `minOrder` ASC [ RunTime:0.001076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16355712 ORDER BY `unit` DESC [ RunTime:0.000646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16355712 LIMIT 2 [ RunTime:0.000681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16355712 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14495817 LIMIT 5 [ RunTime:0.001570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14495817 ORDER BY `minOrder` ASC [ RunTime:0.000958s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14495817 ORDER BY `unit` DESC [ RunTime:0.005350s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14495817 LIMIT 2 [ RunTime:0.005680s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14495817 ORDER BY `minOrder` ASC [ RunTime:0.002135s ]
select * from pdf where partno='2032237-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.003809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14495788 LIMIT 5 [ RunTime:0.003633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14495788 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14495788 ORDER BY `unit` DESC [ RunTime:0.002304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14495788 LIMIT 2 [ RunTime:0.000652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14495788 ORDER BY `minOrder` ASC [ RunTime:0.001456s ]
select * from pdf where partno='2032237-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002212s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014963s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63212393 LIMIT 5 [ RunTime:0.003287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63212393 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63212393 ORDER BY `unit` DESC [ RunTime:0.000715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63212393 LIMIT 2 [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63212393 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='2032215' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001904s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001437s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032215' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.004870s ]
SELECT `id` FROM `stock` WHERE `id` <> 63212393 AND `partno` = '2032215' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12238554 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62967309 LIMIT 5 [ RunTime:0.006037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62967309 ORDER BY `minOrder` ASC [ RunTime:0.006744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62967309 ORDER BY `unit` DESC [ RunTime:0.012914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62967309 LIMIT 2 [ RunTime:0.011709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62967309 ORDER BY `minOrder` ASC [ RunTime:0.001519s ]
select * from pdf where partno='2032237-6' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.000615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032237-6' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.001224s ]
SELECT `id` FROM `stock` WHERE `id` <> 62967309 AND `partno` = '2032237-6' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.000663s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16489129 [ RunTime:0.007748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62966668 LIMIT 5 [ RunTime:0.002366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62966668 ORDER BY `minOrder` ASC [ RunTime:0.004769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62966668 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62966668 LIMIT 2 [ RunTime:0.004481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62966668 ORDER BY `minOrder` ASC [ RunTime:0.002478s ]
select * from pdf where partno='2032237-4' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.004796s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032237-4' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.014847s ]
SELECT `id` FROM `stock` WHERE `id` <> 62966668 AND `partno` = '2032237-4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.007885s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16489022 [ RunTime:0.002588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62966382 LIMIT 5 [ RunTime:0.013847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62966382 ORDER BY `minOrder` ASC [ RunTime:0.006647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62966382 ORDER BY `unit` DESC [ RunTime:0.004391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62966382 LIMIT 2 [ RunTime:0.004728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62966382 ORDER BY `minOrder` ASC [ RunTime:0.000759s ]
select * from pdf where partno='2032237-2' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.007840s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032237-2' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.006866s ]
SELECT `id` FROM `stock` WHERE `id` <> 62966382 AND `partno` = '2032237-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.019169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14495817 [ RunTime:0.020155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62966300 LIMIT 5 [ RunTime:0.006641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62966300 ORDER BY `minOrder` ASC [ RunTime:0.006720s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62966300 ORDER BY `unit` DESC [ RunTime:0.000439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62966300 LIMIT 2 [ RunTime:0.002200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62966300 ORDER BY `minOrder` ASC [ RunTime:0.000555s ]
select * from pdf where partno='2032237-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.004541s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2032237-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.001451s ]
SELECT `id` FROM `stock` WHERE `id` <> 62966300 AND `partno` = '2032237-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.003077s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14495788 [ RunTime:0.003375s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60416611 LIMIT 5 [ RunTime:0.006885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60416611 ORDER BY `minOrder` ASC [ RunTime:0.010525s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60416611 ORDER BY `unit` DESC [ RunTime:0.007735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60416611 LIMIT 2 [ RunTime:0.001978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60416611 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
select * from pdf where partno='203225-E' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.006815s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '203225-E' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000790s ]
SELECT `id` FROM `stock` WHERE `id` <> 60416611 AND `partno` = '203225-E' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.004576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16355712 [ RunTime:0.004861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58202651 LIMIT 5 [ RunTime:0.003988s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58202651 ORDER BY `minOrder` ASC [ RunTime:0.004409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58202651 ORDER BY `unit` DESC [ RunTime:0.002719s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58202651 LIMIT 2 [ RunTime:0.004438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58202651 ORDER BY `minOrder` ASC [ RunTime:0.002728s ]
select * from pdf where partno='20322' and brandshort='Mersen USA Newburyport-MA L.L.C.' limit 1 [ RunTime:0.000719s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '20322' OR `brand` LIKE 'Mersen USA Newburyport-MA L.L.C.%' ) ) LIMIT 1 [ RunTime:0.001709s ]
SELECT `id` FROM `stock` WHERE `id` <> 58202651 AND `partno` = '20322' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mersen usa newburyport-ma l.l.c.%' ) [ RunTime:0.006019s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009266s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003524s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006828s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007776s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009981s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002232s ]
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 '20322%' OR `brand` LIKE '20322%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010797s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '20322%' OR `brand` LIKE '20322%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.004105s ]