SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002134s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.065430s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.050609s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15273906 LIMIT 5 [ RunTime:0.078121s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15273906 ORDER BY `minOrder` ASC [ RunTime:0.029169s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002187s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15273906 ORDER BY `unit` DESC [ RunTime:0.005269s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15273906 LIMIT 2 [ RunTime:0.104696s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15273906 ORDER BY `minOrder` ASC [ RunTime:0.028031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348402 LIMIT 5 [ RunTime:0.062515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348402 ORDER BY `minOrder` ASC [ RunTime:0.092100s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14348402 ORDER BY `unit` DESC [ RunTime:0.098009s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14348402 LIMIT 2 [ RunTime:0.036232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348402 ORDER BY `minOrder` ASC [ RunTime:0.031080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348315 LIMIT 5 [ RunTime:0.014224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348315 ORDER BY `minOrder` ASC [ RunTime:0.008824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14348315 ORDER BY `unit` DESC [ RunTime:0.010187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14348315 LIMIT 2 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348315 ORDER BY `minOrder` ASC [ RunTime:0.015004s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348314 LIMIT 5 [ RunTime:0.033818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348314 ORDER BY `minOrder` ASC [ RunTime:0.020143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14348314 ORDER BY `unit` DESC [ RunTime:0.007443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14348314 LIMIT 2 [ RunTime:0.045294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14348314 ORDER BY `minOrder` ASC [ RunTime:0.034493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468444 LIMIT 5 [ RunTime:0.084866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468444 ORDER BY `minOrder` ASC [ RunTime:0.049053s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468444 ORDER BY `unit` DESC [ RunTime:0.074543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468444 LIMIT 2 [ RunTime:0.024993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468444 ORDER BY `minOrder` ASC [ RunTime:0.033641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468366 LIMIT 5 [ RunTime:0.090766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468366 ORDER BY `minOrder` ASC [ RunTime:0.117173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468366 ORDER BY `unit` DESC [ RunTime:0.090808s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468366 LIMIT 2 [ RunTime:0.062276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468366 ORDER BY `minOrder` ASC [ RunTime:0.069704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468365 LIMIT 5 [ RunTime:0.028667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468365 ORDER BY `minOrder` ASC [ RunTime:0.086553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468365 ORDER BY `unit` DESC [ RunTime:0.203778s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468365 LIMIT 2 [ RunTime:0.181490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468365 ORDER BY `minOrder` ASC [ RunTime:0.043271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468319 LIMIT 5 [ RunTime:0.057167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468319 ORDER BY `minOrder` ASC [ RunTime:0.032531s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468319 ORDER BY `unit` DESC [ RunTime:0.042333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468319 LIMIT 2 [ RunTime:0.154534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468319 ORDER BY `minOrder` ASC [ RunTime:0.013528s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468183 LIMIT 5 [ RunTime:0.028094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468183 ORDER BY `minOrder` ASC [ RunTime:0.018292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468183 ORDER BY `unit` DESC [ RunTime:0.033467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468183 LIMIT 2 [ RunTime:0.015055s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468183 ORDER BY `minOrder` ASC [ RunTime:0.037324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468170 LIMIT 5 [ RunTime:0.042683s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468170 ORDER BY `minOrder` ASC [ RunTime:0.022249s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468170 ORDER BY `unit` DESC [ RunTime:0.028411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468170 LIMIT 2 [ RunTime:0.024463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468170 ORDER BY `minOrder` ASC [ RunTime:0.003765s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468140 LIMIT 5 [ RunTime:0.050511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468140 ORDER BY `minOrder` ASC [ RunTime:0.030217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13468140 ORDER BY `unit` DESC [ RunTime:0.018618s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13468140 LIMIT 2 [ RunTime:0.017761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13468140 ORDER BY `minOrder` ASC [ RunTime:0.005938s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010525s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56614005 LIMIT 5 [ RunTime:0.043588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56614005 ORDER BY `minOrder` ASC [ RunTime:0.027558s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56614005 ORDER BY `unit` DESC [ RunTime:0.055307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56614005 LIMIT 2 [ RunTime:0.033981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56614005 ORDER BY `minOrder` ASC [ RunTime:0.011725s ]
select * from pdf where partno='8018963' and brandshort='Rittal' limit 1 [ RunTime:0.027327s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '8018963' OR `brand` LIKE 'Rittal%' ) ) LIMIT 1 [ RunTime:0.026750s ]
SELECT `id` FROM `stock` WHERE `id` <> 56614005 AND `partno` = '8018963' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%rittal%' ) [ RunTime:0.051215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15273906 [ RunTime:0.022276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51416136 LIMIT 5 [ RunTime:0.018874s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51416136 ORDER BY `minOrder` ASC [ RunTime:0.064952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51416136 ORDER BY `unit` DESC [ RunTime:0.056883s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51416136 LIMIT 2 [ RunTime:0.048991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51416136 ORDER BY `minOrder` ASC [ RunTime:0.047272s ]
select * from pdf where partno='80189639' and brandshort='Crouzet' limit 1 [ RunTime:0.033164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '80189639' OR `brand` LIKE 'Crouzet%' ) ) LIMIT 1 [ RunTime:0.040076s ]
SELECT `id` FROM `stock` WHERE `id` <> 51416136 AND `partno` = '80189639' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%crouzet%' ) [ RunTime:0.060806s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468444 [ RunTime:0.053314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51416080 LIMIT 5 [ RunTime:0.036310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51416080 ORDER BY `minOrder` ASC [ RunTime:0.011985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51416080 ORDER BY `unit` DESC [ RunTime:0.070310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51416080 LIMIT 2 [ RunTime:0.045254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51416080 ORDER BY `minOrder` ASC [ RunTime:0.023115s ]
select * from pdf where partno='80189638' and brandshort='Crouzet' limit 1 [ RunTime:0.091669s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '80189638' OR `brand` LIKE 'Crouzet%' ) ) LIMIT 1 [ RunTime:0.039388s ]
SELECT `id` FROM `stock` WHERE `id` <> 51416080 AND `partno` = '80189638' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%crouzet%' ) [ RunTime:0.134059s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14348402 [ RunTime:0.050337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51415821 LIMIT 5 [ RunTime:0.123590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51415821 ORDER BY `minOrder` ASC [ RunTime:0.030425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51415821 ORDER BY `unit` DESC [ RunTime:0.007195s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51415821 LIMIT 2 [ RunTime:0.036718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51415821 ORDER BY `minOrder` ASC [ RunTime:0.059666s ]
select * from pdf where partno='80189631' and brandshort='Crouzet' limit 1 [ RunTime:0.010790s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '80189631' OR `brand` LIKE 'Crouzet%' ) ) LIMIT 1 [ RunTime:0.012385s ]
SELECT `id` FROM `stock` WHERE `id` <> 51415821 AND `partno` = '80189631' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%crouzet%' ) [ RunTime:0.011415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468183 [ RunTime:0.007504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51415751 LIMIT 5 [ RunTime:0.029731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51415751 ORDER BY `minOrder` ASC [ RunTime:0.065659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51415751 ORDER BY `unit` DESC [ RunTime:0.061518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51415751 LIMIT 2 [ RunTime:0.061906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51415751 ORDER BY `minOrder` ASC [ RunTime:0.028886s ]
select * from pdf where partno='80189630' and brandshort='Crouzet' limit 1 [ RunTime:0.038369s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '80189630' OR `brand` LIKE 'Crouzet%' ) ) LIMIT 1 [ RunTime:0.048140s ]
SELECT `id` FROM `stock` WHERE `id` <> 51415751 AND `partno` = '80189630' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%crouzet%' ) [ RunTime:0.018715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13468140 [ RunTime:0.020768s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.050373s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.027561s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020353s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021634s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013366s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029291s ]
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 '8018963%' OR `brand` LIKE '8018963%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022353s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '8018963%' OR `brand` LIKE '8018963%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.023579s ]