SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001590s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004287s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19650853 LIMIT 5 [ RunTime:0.010468s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19650853 ORDER BY `minOrder` ASC [ RunTime:0.005429s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007454s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19650853 ORDER BY `unit` DESC [ RunTime:0.016096s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.012957s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19650853 LIMIT 2 [ RunTime:0.003652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19650853 ORDER BY `minOrder` ASC [ RunTime:0.005648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19650852 LIMIT 5 [ RunTime:0.014018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19650852 ORDER BY `minOrder` ASC [ RunTime:0.021036s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19650852 ORDER BY `unit` DESC [ RunTime:0.009978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19650852 LIMIT 2 [ RunTime:0.026481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19650852 ORDER BY `minOrder` ASC [ RunTime:0.015270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19026390 LIMIT 5 [ RunTime:0.003400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19026390 ORDER BY `minOrder` ASC [ RunTime:0.023215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19026390 ORDER BY `unit` DESC [ RunTime:0.010902s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19026390 LIMIT 2 [ RunTime:0.011056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19026390 ORDER BY `minOrder` ASC [ RunTime:0.010602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18676066 LIMIT 5 [ RunTime:0.022575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18676066 ORDER BY `minOrder` ASC [ RunTime:0.061406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18676066 ORDER BY `unit` DESC [ RunTime:0.015504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18676066 LIMIT 2 [ RunTime:0.018790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18676066 ORDER BY `minOrder` ASC [ RunTime:0.010287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14397047 LIMIT 5 [ RunTime:0.037444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14397047 ORDER BY `minOrder` ASC [ RunTime:0.043512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14397047 ORDER BY `unit` DESC [ RunTime:0.075103s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14397047 LIMIT 2 [ RunTime:0.042163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14397047 ORDER BY `minOrder` ASC [ RunTime:0.042020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12566352 LIMIT 5 [ RunTime:0.044009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12566352 ORDER BY `minOrder` ASC [ RunTime:0.020382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12566352 ORDER BY `unit` DESC [ RunTime:0.024524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12566352 LIMIT 2 [ RunTime:0.007407s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12566352 ORDER BY `minOrder` ASC [ RunTime:0.016547s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024282s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63425656 LIMIT 5 [ RunTime:0.018636s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63425656 ORDER BY `minOrder` ASC [ RunTime:0.022666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63425656 ORDER BY `unit` DESC [ RunTime:0.006146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63425656 LIMIT 2 [ RunTime:0.027585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63425656 ORDER BY `minOrder` ASC [ RunTime:0.013020s ]
select * from pdf where partno='1557000' and brandshort='Rittal' limit 1 [ RunTime:0.024853s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1557000' OR `brand` LIKE 'Rittal%' ) ) LIMIT 1 [ RunTime:0.030036s ]
SELECT `id` FROM `stock` WHERE `id` <> 63425656 AND `partno` = '1557000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%rittal%' ) [ RunTime:0.046430s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19026390 [ RunTime:0.004363s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64567472 LIMIT 5 [ RunTime:0.010412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64567472 ORDER BY `minOrder` ASC [ RunTime:0.099226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64567472 ORDER BY `unit` DESC [ RunTime:0.118874s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64567472 LIMIT 2 [ RunTime:0.048684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64567472 ORDER BY `minOrder` ASC [ RunTime:0.012706s ]
select * from pdf where partno='15570' and brandshort='SparkFun Electronics' limit 1 [ RunTime:0.054448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15570' OR `brand` LIKE 'SparkFun Electronics%' ) ) LIMIT 1 [ RunTime:0.052242s ]
SELECT `id` FROM `stock` WHERE `id` <> 64567472 AND `partno` = '15570' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sparkfun electronics%' ) [ RunTime:0.074835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12566352 [ RunTime:0.014160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64518018 LIMIT 5 [ RunTime:0.029283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518018 ORDER BY `minOrder` ASC [ RunTime:0.039692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64518018 ORDER BY `unit` DESC [ RunTime:0.071330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64518018 LIMIT 2 [ RunTime:0.050779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518018 ORDER BY `minOrder` ASC [ RunTime:0.026141s ]
select * from pdf where partno='15570' and brandshort='Brady Corporation' limit 1 [ RunTime:0.026904s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15570' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.056269s ]
SELECT `id` FROM `stock` WHERE `id` <> 64518018 AND `partno` = '15570' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.040676s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14397047 [ RunTime:0.014849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63370929 LIMIT 5 [ RunTime:0.016340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63370929 ORDER BY `minOrder` ASC [ RunTime:0.045248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63370929 ORDER BY `unit` DESC [ RunTime:0.041543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63370929 LIMIT 2 [ RunTime:0.012557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63370929 ORDER BY `minOrder` ASC [ RunTime:0.013878s ]
select * from pdf where partno='15570B' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.022952s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15570B' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.050271s ]
SELECT `id` FROM `stock` WHERE `id` <> 63370929 AND `partno` = '15570B' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.045899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63370928 LIMIT 5 [ RunTime:0.014073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63370928 ORDER BY `minOrder` ASC [ RunTime:0.053381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63370928 ORDER BY `unit` DESC [ RunTime:0.049141s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63370928 LIMIT 2 [ RunTime:0.030865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63370928 ORDER BY `minOrder` ASC [ RunTime:0.010285s ]
select * from pdf where partno='15570' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.050542s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15570' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.067616s ]
SELECT `id` FROM `stock` WHERE `id` <> 63370928 AND `partno` = '15570' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%heyco products corporation%' ) [ RunTime:0.056019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60548659 LIMIT 5 [ RunTime:0.084441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60548659 ORDER BY `minOrder` ASC [ RunTime:0.043640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60548659 ORDER BY `unit` DESC [ RunTime:0.059883s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60548659 LIMIT 2 [ RunTime:0.113696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60548659 ORDER BY `minOrder` ASC [ RunTime:0.049470s ]
select * from pdf where partno='1557060000' and brandshort='Weidmüller' limit 1 [ RunTime:0.015737s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1557060000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.073433s ]
SELECT `id` FROM `stock` WHERE `id` <> 60548659 AND `partno` = '1557060000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.061784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19650853 [ RunTime:0.109400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60548658 LIMIT 5 [ RunTime:0.115209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60548658 ORDER BY `minOrder` ASC [ RunTime:0.057101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60548658 ORDER BY `unit` DESC [ RunTime:0.089077s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60548658 LIMIT 2 [ RunTime:0.027390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60548658 ORDER BY `minOrder` ASC [ RunTime:0.028682s ]
select * from pdf where partno='1557010000' and brandshort='Weidmüller' limit 1 [ RunTime:0.105582s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1557010000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.075797s ]
SELECT `id` FROM `stock` WHERE `id` <> 60548658 AND `partno` = '1557010000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.086232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19650852 [ RunTime:0.057492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 43933132 LIMIT 5 [ RunTime:0.028124s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43933132 ORDER BY `minOrder` ASC [ RunTime:0.051149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 43933132 ORDER BY `unit` DESC [ RunTime:0.051396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 43933132 LIMIT 2 [ RunTime:0.053103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 43933132 ORDER BY `minOrder` ASC [ RunTime:0.011028s ]
select * from pdf where partno='15570B-TTG REV I, (6032B-T' and brandshort='Boyd Laconia, LLC' limit 1 [ RunTime:0.056735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '15570B-TTG REV I, (6032B-T' OR `brand` LIKE 'Boyd Laconia, LLC%' ) ) LIMIT 1 [ RunTime:0.035967s ]
SELECT `id` FROM `stock` WHERE `id` <> 43933132 AND `partno` = '15570B-TTG REV I, (6032B-T' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%boyd laconia, llc%' ) [ RunTime:0.023292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18676066 [ RunTime:0.009848s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055950s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041251s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038891s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033381s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040398s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.062130s ]
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 '15570%' OR `brand` LIKE '15570%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.048205s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '15570%' OR `brand` LIKE '15570%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.049051s ]