SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001641s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.045904s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17021588 LIMIT 5 [ RunTime:0.015182s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.020673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17021588 ORDER BY `minOrder` ASC [ RunTime:0.032484s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17021588 ORDER BY `unit` DESC [ RunTime:0.032221s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003834s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17021588 LIMIT 2 [ RunTime:0.018549s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17021588 ORDER BY `minOrder` ASC [ RunTime:0.027286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15236478 LIMIT 5 [ RunTime:0.053590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15236478 ORDER BY `minOrder` ASC [ RunTime:0.067038s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15236478 ORDER BY `unit` DESC [ RunTime:0.056348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15236478 LIMIT 2 [ RunTime:0.062799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15236478 ORDER BY `minOrder` ASC [ RunTime:0.064899s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657086 LIMIT 5 [ RunTime:0.027700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657086 ORDER BY `minOrder` ASC [ RunTime:0.055824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13657086 ORDER BY `unit` DESC [ RunTime:0.018912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13657086 LIMIT 2 [ RunTime:0.057579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13657086 ORDER BY `minOrder` ASC [ RunTime:0.019033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13175403 LIMIT 5 [ RunTime:0.030289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13175403 ORDER BY `minOrder` ASC [ RunTime:0.062906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13175403 ORDER BY `unit` DESC [ RunTime:0.026927s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13175403 LIMIT 2 [ RunTime:0.021644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13175403 ORDER BY `minOrder` ASC [ RunTime:0.031021s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13175382 LIMIT 5 [ RunTime:0.023151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13175382 ORDER BY `minOrder` ASC [ RunTime:0.017185s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13175382 ORDER BY `unit` DESC [ RunTime:0.014294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13175382 LIMIT 2 [ RunTime:0.048843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13175382 ORDER BY `minOrder` ASC [ RunTime:0.008735s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12197578 LIMIT 5 [ RunTime:0.021427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12197578 ORDER BY `minOrder` ASC [ RunTime:0.018335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12197578 ORDER BY `unit` DESC [ RunTime:0.022388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12197578 LIMIT 2 [ RunTime:0.008821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12197578 ORDER BY `minOrder` ASC [ RunTime:0.014102s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11913605 LIMIT 5 [ RunTime:0.018816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11913605 ORDER BY `minOrder` ASC [ RunTime:0.005245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11913605 ORDER BY `unit` DESC [ RunTime:0.011547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11913605 LIMIT 2 [ RunTime:0.009923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11913605 ORDER BY `minOrder` ASC [ RunTime:0.008315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11912971 LIMIT 5 [ RunTime:0.001069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11912971 ORDER BY `minOrder` ASC [ RunTime:0.011331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11912971 ORDER BY `unit` DESC [ RunTime:0.002030s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11912971 LIMIT 2 [ RunTime:0.032710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11912971 ORDER BY `minOrder` ASC [ RunTime:0.007163s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023259s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60294000 LIMIT 5 [ RunTime:0.002271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60294000 ORDER BY `minOrder` ASC [ RunTime:0.011372s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60294000 ORDER BY `unit` DESC [ RunTime:0.002076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60294000 LIMIT 2 [ RunTime:0.002221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60294000 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='1218748-2' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.001521s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002369s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218748-2' OR `brand` LIKE 'TE Connectivity Aerospace, Defense and Marine%' ) ) LIMIT 1 [ RunTime:0.011408s ]
SELECT `id` FROM `stock` WHERE `id` <> 60294000 AND `partno` = '1218748-2' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity aerospace, defense and marine%' ) [ RunTime:0.003599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11913605 [ RunTime:0.004566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57701787 LIMIT 5 [ RunTime:0.005048s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701787 ORDER BY `minOrder` ASC [ RunTime:0.002910s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57701787 ORDER BY `unit` DESC [ RunTime:0.006980s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57701787 LIMIT 2 [ RunTime:0.000651s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57701787 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
select * from pdf where partno='121874' and brandshort='Brady Corporation' limit 1 [ RunTime:0.004999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '121874' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.005495s ]
SELECT `id` FROM `stock` WHERE `id` <> 57701787 AND `partno` = '121874' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.007558s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13657086 [ RunTime:0.000842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57652594 LIMIT 5 [ RunTime:0.003039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57652594 ORDER BY `minOrder` ASC [ RunTime:0.007339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57652594 ORDER BY `unit` DESC [ RunTime:0.000898s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57652594 LIMIT 2 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57652594 ORDER BY `minOrder` ASC [ RunTime:0.001996s ]
select * from pdf where partno='1218744' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.010651s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218744' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001282s ]
SELECT `id` FROM `stock` WHERE `id` <> 57652594 AND `partno` = '1218744' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002703s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57651840 LIMIT 5 [ RunTime:0.017019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57651840 ORDER BY `minOrder` ASC [ RunTime:0.008211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57651840 ORDER BY `unit` DESC [ RunTime:0.001114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57651840 LIMIT 2 [ RunTime:0.002335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57651840 ORDER BY `minOrder` ASC [ RunTime:0.001797s ]
select * from pdf where partno='1218743' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.008740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218743' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.003982s ]
SELECT `id` FROM `stock` WHERE `id` <> 57651840 AND `partno` = '1218743' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.015848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12197578 [ RunTime:0.001737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57650322 LIMIT 5 [ RunTime:0.006239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57650322 ORDER BY `minOrder` ASC [ RunTime:0.002281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57650322 ORDER BY `unit` DESC [ RunTime:0.006612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57650322 LIMIT 2 [ RunTime:0.007672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57650322 ORDER BY `minOrder` ASC [ RunTime:0.001120s ]
select * from pdf where partno='1218740' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.006251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218740' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.001326s ]
SELECT `id` FROM `stock` WHERE `id` <> 57650322 AND `partno` = '1218740' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.002281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15236478 [ RunTime:0.008231s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57650225 LIMIT 5 [ RunTime:0.001267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57650225 ORDER BY `minOrder` ASC [ RunTime:0.001131s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57650225 ORDER BY `unit` DESC [ RunTime:0.000723s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57650225 LIMIT 2 [ RunTime:0.000923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57650225 ORDER BY `minOrder` ASC [ RunTime:0.000557s ]
select * from pdf where partno='1218747' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.004752s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1218747' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.002234s ]
SELECT `id` FROM `stock` WHERE `id` <> 57650225 AND `partno` = '1218747' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001097s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17021588 [ RunTime:0.004472s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002899s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006690s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002112s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003588s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003196s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002103s ]
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 '121874%' OR `brand` LIKE '121874%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002237s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '121874%' OR `brand` LIKE '121874%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.002154s ]