SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004315s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.031013s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14180309 LIMIT 5 [ RunTime:0.062053s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14180309 ORDER BY `minOrder` ASC [ RunTime:0.049644s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14180309 ORDER BY `unit` DESC [ RunTime:0.027054s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14180309 LIMIT 2 [ RunTime:0.040534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14180309 ORDER BY `minOrder` ASC [ RunTime:0.006326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11480928 LIMIT 5 [ RunTime:0.023559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11480928 ORDER BY `minOrder` ASC [ RunTime:0.054799s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11480928 ORDER BY `unit` DESC [ RunTime:0.064879s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11480928 LIMIT 2 [ RunTime:0.050856s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11480928 ORDER BY `minOrder` ASC [ RunTime:0.027078s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040075s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32258356 LIMIT 5 [ RunTime:0.074291s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32258356 ORDER BY `minOrder` ASC [ RunTime:0.013973s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32258356 ORDER BY `unit` DESC [ RunTime:0.015854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32258356 LIMIT 2 [ RunTime:0.060051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32258356 ORDER BY `minOrder` ASC [ RunTime:0.023264s ]
select * from pdf where partno='1050770' and brandshort='phoenix contact' limit 1 [ RunTime:0.052638s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002951s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1050770' OR `brand` LIKE 'phoenix contact%' ) ) LIMIT 1 [ RunTime:0.046420s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024777s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60320562 LIMIT 5 [ RunTime:0.034473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60320562 ORDER BY `minOrder` ASC [ RunTime:0.018129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60320562 ORDER BY `unit` DESC [ RunTime:0.000842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60320562 LIMIT 2 [ RunTime:0.026628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60320562 ORDER BY `minOrder` ASC [ RunTime:0.024607s ]
select * from pdf where partno='1050770' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.004675s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1050770' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.011390s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 56533921 LIMIT 5 [ RunTime:0.000741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56533921 ORDER BY `minOrder` ASC [ RunTime:0.012564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 56533921 ORDER BY `unit` DESC [ RunTime:0.000598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 56533921 LIMIT 2 [ RunTime:0.004662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 56533921 ORDER BY `minOrder` ASC [ RunTime:0.013875s ]
select * from pdf where partno='1050770' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001026s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1050770' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.002476s ]
SELECT `id` FROM `stock` WHERE `id` <> 56533921 AND `partno` = '1050770' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14180309 [ RunTime:0.001608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 55098139 LIMIT 5 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55098139 ORDER BY `minOrder` ASC [ RunTime:0.017811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 55098139 ORDER BY `unit` DESC [ RunTime:0.003953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 55098139 LIMIT 2 [ RunTime:0.007268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 55098139 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
select * from pdf where partno='1050770-1' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.002672s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1050770-1' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.004130s ]
SELECT `id` FROM `stock` WHERE `id` <> 55098139 AND `partno` = '1050770-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.016727s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009538s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001900s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018151s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019208s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015531s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009869s ]
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 '1050770%' OR `brand` LIKE '1050770%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004558s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1050770%' OR `brand` LIKE '1050770%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000744s ]