SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002847s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.059810s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18729803 LIMIT 5 [ RunTime:0.009187s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18729803 ORDER BY `minOrder` ASC [ RunTime:0.001921s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18729803 ORDER BY `unit` DESC [ RunTime:0.002062s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18729803 LIMIT 2 [ RunTime:0.017032s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18729803 ORDER BY `minOrder` ASC [ RunTime:0.012063s ]
select * from pdf where partno='91597-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.008829s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720654 LIMIT 5 [ RunTime:0.018127s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18720654 ORDER BY `minOrder` ASC [ RunTime:0.011811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18720654 ORDER BY `unit` DESC [ RunTime:0.003057s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18720654 LIMIT 2 [ RunTime:0.010399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18720654 ORDER BY `minOrder` ASC [ RunTime:0.020306s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026941s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026023s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44626810 LIMIT 5 [ RunTime:0.028058s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44626810 ORDER BY `minOrder` ASC [ RunTime:0.000940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44626810 ORDER BY `unit` DESC [ RunTime:0.001620s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44626810 LIMIT 2 [ RunTime:0.035036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44626810 ORDER BY `minOrder` ASC [ RunTime:0.016927s ]
select * from pdf where partno='91597-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.002277s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001739s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91597-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.004809s ]
SELECT `id` FROM `stock` WHERE `id` <> 44626810 AND `partno` = '91597-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.006101s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720654 [ RunTime:0.000556s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33108307 LIMIT 5 [ RunTime:0.012921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33108307 ORDER BY `minOrder` ASC [ RunTime:0.008990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33108307 ORDER BY `unit` DESC [ RunTime:0.013869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33108307 LIMIT 2 [ RunTime:0.029973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33108307 ORDER BY `minOrder` ASC [ RunTime:0.018599s ]
select * from pdf where partno='91597-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.007290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91597-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.001801s ]
SELECT `id` FROM `stock` WHERE `id` <> 33108307 AND `partno` = '91597-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.010791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720654 [ RunTime:0.009967s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44626962 LIMIT 5 [ RunTime:0.009211s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44626962 ORDER BY `minOrder` ASC [ RunTime:0.017959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44626962 ORDER BY `unit` DESC [ RunTime:0.010070s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44626962 LIMIT 2 [ RunTime:0.016209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44626962 ORDER BY `minOrder` ASC [ RunTime:0.010255s ]
select * from pdf where partno='91597-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.004507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91597-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.000286s ]
SELECT `id` FROM `stock` WHERE `id` <> 44626962 AND `partno` = '91597-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.002105s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720654 [ RunTime:0.000248s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33108378 LIMIT 5 [ RunTime:0.002195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33108378 ORDER BY `minOrder` ASC [ RunTime:0.005553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33108378 ORDER BY `unit` DESC [ RunTime:0.003471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33108378 LIMIT 2 [ RunTime:0.002900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33108378 ORDER BY `minOrder` ASC [ RunTime:0.004197s ]
select * from pdf where partno='91597-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.000421s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91597-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.000263s ]
SELECT `id` FROM `stock` WHERE `id` <> 33108378 AND `partno` = '91597-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.002991s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18720654 [ RunTime:0.001808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58527525 LIMIT 5 [ RunTime:0.005489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527525 ORDER BY `minOrder` ASC [ RunTime:0.005003s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58527525 ORDER BY `unit` DESC [ RunTime:0.003109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58527525 LIMIT 2 [ RunTime:0.007222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58527525 ORDER BY `minOrder` ASC [ RunTime:0.007273s ]
select * from pdf where partno='91597-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.005775s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '91597-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.014298s ]
SELECT `id` FROM `stock` WHERE `id` <> 58527525 AND `partno` = '91597-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.009772s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010638s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001419s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001533s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002616s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004836s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003863s ]
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 '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005141s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '91597-1%' OR `brand` LIKE '91597-1%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.003337s ]