SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002859s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.037716s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657044 LIMIT 5 [ RunTime:0.027658s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020778s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657044 ORDER BY `minOrder` ASC [ RunTime:0.040958s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13657044 ORDER BY `unit` DESC [ RunTime:0.023283s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13657044 LIMIT 2 [ RunTime:0.043566s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657044 ORDER BY `minOrder` ASC [ RunTime:0.029104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512178 LIMIT 5 [ RunTime:0.075039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512178 ORDER BY `minOrder` ASC [ RunTime:0.050746s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12512178 ORDER BY `unit` DESC [ RunTime:0.135806s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12512178 LIMIT 2 [ RunTime:0.056067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12512178 ORDER BY `minOrder` ASC [ RunTime:0.040546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12197144 LIMIT 5 [ RunTime:0.082659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12197144 ORDER BY `minOrder` ASC [ RunTime:0.089572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12197144 ORDER BY `unit` DESC [ RunTime:0.094563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12197144 LIMIT 2 [ RunTime:0.208510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12197144 ORDER BY `minOrder` ASC [ RunTime:0.025291s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.081565s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.120383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64518502 LIMIT 5 [ RunTime:0.063453s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518502 ORDER BY `minOrder` ASC [ RunTime:0.077680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64518502 ORDER BY `unit` DESC [ RunTime:0.047595s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64518502 LIMIT 2 [ RunTime:0.039118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64518502 ORDER BY `minOrder` ASC [ RunTime:0.031935s ]
select * from pdf where partno='121757' and brandshort='Brady Corporation' limit 1 [ RunTime:0.059360s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '121757' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.058196s ]
SELECT `id` FROM `stock` WHERE `id` <> 64518502 AND `partno` = '121757' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.107016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657044 [ RunTime:0.026136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64460188 LIMIT 5 [ RunTime:0.064632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64460188 ORDER BY `minOrder` ASC [ RunTime:0.051753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64460188 ORDER BY `unit` DESC [ RunTime:0.076678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64460188 LIMIT 2 [ RunTime:0.016915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64460188 ORDER BY `minOrder` ASC [ RunTime:0.035424s ]
select * from pdf where partno='1217570' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.021488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217570' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.034388s ]
SELECT `id` FROM `stock` WHERE `id` <> 64460188 AND `partno` = '1217570' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.026456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12197144 [ RunTime:0.066907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60375990 LIMIT 5 [ RunTime:0.001900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60375990 ORDER BY `minOrder` ASC [ RunTime:0.018642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60375990 ORDER BY `unit` DESC [ RunTime:0.022750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60375990 LIMIT 2 [ RunTime:0.039867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60375990 ORDER BY `minOrder` ASC [ RunTime:0.005873s ]
select * from pdf where partno='1217579-1' and brandshort='TE Connectivity Application Tooling' limit 1 [ RunTime:0.017151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217579-1' OR `brand` LIKE 'TE Connectivity Application Tooling%' ) ) LIMIT 1 [ RunTime:0.039570s ]
SELECT `id` FROM `stock` WHERE `id` <> 60375990 AND `partno` = '1217579-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity application tooling%' ) [ RunTime:0.024357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 46533931 LIMIT 5 [ RunTime:0.029183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 46533931 ORDER BY `minOrder` ASC [ RunTime:0.037389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 46533931 ORDER BY `unit` DESC [ RunTime:0.029995s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 46533931 LIMIT 2 [ RunTime:0.006115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 46533931 ORDER BY `minOrder` ASC [ RunTime:0.009061s ]
select * from pdf where partno='1217579-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.044087s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217579-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.020589s ]
SELECT `id` FROM `stock` WHERE `id` <> 46533931 AND `partno` = '1217579-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.016602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512178 [ RunTime:0.021511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 33482313 LIMIT 5 [ RunTime:0.037649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33482313 ORDER BY `minOrder` ASC [ RunTime:0.072155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 33482313 ORDER BY `unit` DESC [ RunTime:0.052952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 33482313 LIMIT 2 [ RunTime:0.020599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 33482313 ORDER BY `minOrder` ASC [ RunTime:0.009283s ]
select * from pdf where partno='1217579-1' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.012724s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1217579-1' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.010789s ]
SELECT `id` FROM `stock` WHERE `id` <> 33482313 AND `partno` = '1217579-1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.014719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12512178 [ RunTime:0.028166s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.049900s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036882s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.016228s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.046565s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.061492s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.055482s ]
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 '121757%' OR `brand` LIKE '121757%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.043017s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '121757%' OR `brand` LIKE '121757%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.034448s ]