SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002918s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.029235s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002507s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12549444 LIMIT 5 [ RunTime:0.027548s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12549444 ORDER BY `minOrder` ASC [ RunTime:0.008803s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12549444 ORDER BY `unit` DESC [ RunTime:0.009806s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.024257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12549444 LIMIT 2 [ RunTime:0.012292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12549444 ORDER BY `minOrder` ASC [ RunTime:0.010277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12184792 LIMIT 5 [ RunTime:0.020244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12184792 ORDER BY `minOrder` ASC [ RunTime:0.011233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12184792 ORDER BY `unit` DESC [ RunTime:0.011377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12184792 LIMIT 2 [ RunTime:0.028651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12184792 ORDER BY `minOrder` ASC [ RunTime:0.003459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12176501 LIMIT 5 [ RunTime:0.017246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12176501 ORDER BY `minOrder` ASC [ RunTime:0.032058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12176501 ORDER BY `unit` DESC [ RunTime:0.025043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12176501 LIMIT 2 [ RunTime:0.038612s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12176501 ORDER BY `minOrder` ASC [ RunTime:0.006011s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033807s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040856s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63410384 LIMIT 5 [ RunTime:0.012257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63410384 ORDER BY `minOrder` ASC [ RunTime:0.019983s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63410384 ORDER BY `unit` DESC [ RunTime:0.049949s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63410384 LIMIT 2 [ RunTime:0.004671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63410384 ORDER BY `minOrder` ASC [ RunTime:0.013277s ]
select * from pdf where partno='12307' and brandshort='80/20, LLC' limit 1 [ RunTime:0.004037s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12307' OR `brand` LIKE '80/20, LLC%' ) ) LIMIT 1 [ RunTime:0.012196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63130480 LIMIT 5 [ RunTime:0.011746s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63130480 ORDER BY `minOrder` ASC [ RunTime:0.014105s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63130480 ORDER BY `unit` DESC [ RunTime:0.012718s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63130480 LIMIT 2 [ RunTime:0.005730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63130480 ORDER BY `minOrder` ASC [ RunTime:0.006580s ]
select * from pdf where partno='12307' and brandshort='Heyco Products Corporation' limit 1 [ RunTime:0.007449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12307' OR `brand` LIKE 'Heyco Products Corporation%' ) ) LIMIT 1 [ RunTime:0.009482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60998680 LIMIT 5 [ RunTime:0.002376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60998680 ORDER BY `minOrder` ASC [ RunTime:0.006884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60998680 ORDER BY `unit` DESC [ RunTime:0.000646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60998680 LIMIT 2 [ RunTime:0.015609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60998680 ORDER BY `minOrder` ASC [ RunTime:0.000520s ]
select * from pdf where partno='1230719' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.006724s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1230719' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.022920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60998559 LIMIT 5 [ RunTime:0.035082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60998559 ORDER BY `minOrder` ASC [ RunTime:0.016326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60998559 ORDER BY `unit` DESC [ RunTime:0.011692s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60998559 LIMIT 2 [ RunTime:0.009686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60998559 ORDER BY `minOrder` ASC [ RunTime:0.006044s ]
select * from pdf where partno='1230711' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.015452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1230711' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.022817s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60587295 LIMIT 5 [ RunTime:0.027213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60587295 ORDER BY `minOrder` ASC [ RunTime:0.019562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60587295 ORDER BY `unit` DESC [ RunTime:0.017835s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60587295 LIMIT 2 [ RunTime:0.006665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60587295 ORDER BY `minOrder` ASC [ RunTime:0.015410s ]
select * from pdf where partno='12307.1' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.001601s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12307.1' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.008645s ]
SELECT `id` FROM `stock` WHERE `id` <> 60587295 AND `partno` = '12307.1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.002713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12549444 [ RunTime:0.004913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58551494 LIMIT 5 [ RunTime:0.004918s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58551494 ORDER BY `minOrder` ASC [ RunTime:0.032091s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58551494 ORDER BY `unit` DESC [ RunTime:0.004983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58551494 LIMIT 2 [ RunTime:0.010019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58551494 ORDER BY `minOrder` ASC [ RunTime:0.000469s ]
select * from pdf where partno='12307' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.000780s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12307' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.005722s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58525879 LIMIT 5 [ RunTime:0.010823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58525879 ORDER BY `minOrder` ASC [ RunTime:0.045976s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58525879 ORDER BY `unit` DESC [ RunTime:0.020617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58525879 LIMIT 2 [ RunTime:0.022965s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58525879 ORDER BY `minOrder` ASC [ RunTime:0.013611s ]
select * from pdf where partno='123077' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.019424s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '123077' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.023430s ]
SELECT `id` FROM `stock` WHERE `id` <> 58525879 AND `partno` = '123077' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.024723s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58521497 LIMIT 5 [ RunTime:0.009335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58521497 ORDER BY `minOrder` ASC [ RunTime:0.026433s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58521497 ORDER BY `unit` DESC [ RunTime:0.022757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58521497 LIMIT 2 [ RunTime:0.051183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58521497 ORDER BY `minOrder` ASC [ RunTime:0.004141s ]
select * from pdf where partno='123078' and brandshort='Greenlee Communications' limit 1 [ RunTime:0.056129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '123078' OR `brand` LIKE 'Greenlee Communications%' ) ) LIMIT 1 [ RunTime:0.040589s ]
SELECT `id` FROM `stock` WHERE `id` <> 58521497 AND `partno` = '123078' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%greenlee communications%' ) [ RunTime:0.061238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12176501 [ RunTime:0.074953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32367889 LIMIT 5 [ RunTime:0.099844s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32367889 ORDER BY `minOrder` ASC [ RunTime:0.040359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32367889 ORDER BY `unit` DESC [ RunTime:0.044847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32367889 LIMIT 2 [ RunTime:0.105409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32367889 ORDER BY `minOrder` ASC [ RunTime:0.036661s ]
select * from pdf where partno='1230708' and brandshort='Phoenix Contact' limit 1 [ RunTime:0.089683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1230708' OR `brand` LIKE 'Phoenix Contact%' ) ) LIMIT 1 [ RunTime:0.061784s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.074507s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.042723s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024311s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032290s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.033744s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.060128s ]
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 '12307%' OR `brand` LIKE '12307%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089670s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '12307%' OR `brand` LIKE '12307%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.025154s ]