SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002268s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009727s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003525s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14400675 LIMIT 5 [ RunTime:0.012711s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14400675 ORDER BY `minOrder` ASC [ RunTime:0.020156s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14400675 ORDER BY `unit` DESC [ RunTime:0.004779s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14400675 LIMIT 2 [ RunTime:0.002537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14400675 ORDER BY `minOrder` ASC [ RunTime:0.001236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12064161 LIMIT 5 [ RunTime:0.015944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12064161 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12064161 ORDER BY `unit` DESC [ RunTime:0.002619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12064161 LIMIT 2 [ RunTime:0.019769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12064161 ORDER BY `minOrder` ASC [ RunTime:0.006117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14258550 LIMIT 5 [ RunTime:0.024057s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14258550 ORDER BY `minOrder` ASC [ RunTime:0.012332s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14258550 ORDER BY `unit` DESC [ RunTime:0.022276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14258550 LIMIT 2 [ RunTime:0.017812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14258550 ORDER BY `minOrder` ASC [ RunTime:0.021872s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13285912 LIMIT 5 [ RunTime:0.009790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13285912 ORDER BY `minOrder` ASC [ RunTime:0.029123s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13285912 ORDER BY `unit` DESC [ RunTime:0.011482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13285912 LIMIT 2 [ RunTime:0.019924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13285912 ORDER BY `minOrder` ASC [ RunTime:0.015185s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029384s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63155064 LIMIT 5 [ RunTime:0.005318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63155064 ORDER BY `minOrder` ASC [ RunTime:0.023871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63155064 ORDER BY `unit` DESC [ RunTime:0.025793s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63155064 LIMIT 2 [ RunTime:0.025376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63155064 ORDER BY `minOrder` ASC [ RunTime:0.016520s ]
select * from pdf where partno='548746-000' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.034448s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002746s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '548746-000' OR `brand` LIKE 'TE Connectivity Raychem Cable Protection%' ) ) LIMIT 1 [ RunTime:0.023489s ]
SELECT `id` FROM `stock` WHERE `id` <> 63155064 AND `partno` = '548746-000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity raychem cable protection%' ) [ RunTime:0.025739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14400675 [ RunTime:0.020675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64575545 LIMIT 5 [ RunTime:0.042660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64575545 ORDER BY `minOrder` ASC [ RunTime:0.017806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64575545 ORDER BY `unit` DESC [ RunTime:0.020184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64575545 LIMIT 2 [ RunTime:0.020658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64575545 ORDER BY `minOrder` ASC [ RunTime:0.019678s ]
select * from pdf where partno='5487CS' and brandshort='Century Spring Corp' limit 1 [ RunTime:0.050174s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5487CS' OR `brand` LIKE 'Century Spring Corp%' ) ) LIMIT 1 [ RunTime:0.024666s ]
SELECT `id` FROM `stock` WHERE `id` <> 64575545 AND `partno` = '5487CS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%century spring corp%' ) [ RunTime:0.006570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12064161 [ RunTime:0.005966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 59402801 LIMIT 5 [ RunTime:0.005837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59402801 ORDER BY `minOrder` ASC [ RunTime:0.031042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 59402801 ORDER BY `unit` DESC [ RunTime:0.007530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 59402801 LIMIT 2 [ RunTime:0.012754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 59402801 ORDER BY `minOrder` ASC [ RunTime:0.013821s ]
select * from pdf where partno='548799N001' and brandshort='WEC' limit 1 [ RunTime:0.003559s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '548799N001' OR `brand` LIKE 'WEC%' ) ) LIMIT 1 [ RunTime:0.004713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64414566 LIMIT 5 [ RunTime:0.010086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64414566 ORDER BY `minOrder` ASC [ RunTime:0.018715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64414566 ORDER BY `unit` DESC [ RunTime:0.008326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64414566 LIMIT 2 [ RunTime:0.008858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64414566 ORDER BY `minOrder` ASC [ RunTime:0.000470s ]
select * from pdf where partno='5487' and brandshort='Adafruit Industries LLC' limit 1 [ RunTime:0.025919s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5487' OR `brand` LIKE 'Adafruit Industries LLC%' ) ) LIMIT 1 [ RunTime:0.017946s ]
SELECT `id` FROM `stock` WHERE `id` <> 64414566 AND `partno` = '5487' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%adafruit industries llc%' ) [ RunTime:0.011881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14258550 [ RunTime:0.008346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 42077333 LIMIT 5 [ RunTime:0.024327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42077333 ORDER BY `minOrder` ASC [ RunTime:0.026167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 42077333 ORDER BY `unit` DESC [ RunTime:0.026889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 42077333 LIMIT 2 [ RunTime:0.005461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 42077333 ORDER BY `minOrder` ASC [ RunTime:0.011034s ]
select * from pdf where partno='548755P127' and brandshort='Schneider Electric' limit 1 [ RunTime:0.009277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '548755P127' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.015052s ]
SELECT `id` FROM `stock` WHERE `id` <> 42077333 AND `partno` = '548755P127' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.018415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32774026 LIMIT 5 [ RunTime:0.018688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32774026 ORDER BY `minOrder` ASC [ RunTime:0.015039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32774026 ORDER BY `unit` DESC [ RunTime:0.021359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32774026 LIMIT 2 [ RunTime:0.018207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32774026 ORDER BY `minOrder` ASC [ RunTime:0.004031s ]
select * from pdf where partno='548755P33' and brandshort='Schneider Electric' limit 1 [ RunTime:0.014831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '548755P33' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.019242s ]
SELECT `id` FROM `stock` WHERE `id` <> 32774026 AND `partno` = '548755P33' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.046517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32772314 LIMIT 5 [ RunTime:0.035353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32772314 ORDER BY `minOrder` ASC [ RunTime:0.040904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32772314 ORDER BY `unit` DESC [ RunTime:0.010028s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32772314 LIMIT 2 [ RunTime:0.013206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32772314 ORDER BY `minOrder` ASC [ RunTime:0.001275s ]
select * from pdf where partno='548755P34' and brandshort='Schneider Electric' limit 1 [ RunTime:0.001723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '548755P34' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.004959s ]
SELECT `id` FROM `stock` WHERE `id` <> 32772314 AND `partno` = '548755P34' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.014818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32383054 LIMIT 5 [ RunTime:0.013622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32383054 ORDER BY `minOrder` ASC [ RunTime:0.025960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32383054 ORDER BY `unit` DESC [ RunTime:0.002956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32383054 LIMIT 2 [ RunTime:0.012615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32383054 ORDER BY `minOrder` ASC [ RunTime:0.006497s ]
select * from pdf where partno='54876' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.012962s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54876' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.011425s ]
SELECT `id` FROM `stock` WHERE `id` <> 32383054 AND `partno` = '54876' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.024664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13285912 [ RunTime:0.018973s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020317s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068485s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.080231s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001931s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067273s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014787s ]
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 '5487%' OR `brand` LIKE '5487%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048974s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '5487%' OR `brand` LIKE '5487%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.052722s ]