SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001815s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003706s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12181480 LIMIT 5 [ RunTime:0.000455s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001624s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12181480 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12181480 ORDER BY `unit` DESC [ RunTime:0.000459s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12181480 LIMIT 2 [ RunTime:0.000447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12181480 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14686722 LIMIT 5 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14686722 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14686722 ORDER BY `unit` DESC [ RunTime:0.000362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14686722 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14686722 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14679009 LIMIT 5 [ RunTime:0.000690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14679009 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14679009 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14679009 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14679009 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12166196 LIMIT 5 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12166196 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12166196 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12166196 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12166196 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000695s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003052s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65368994 LIMIT 5 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65368994 ORDER BY `minOrder` ASC [ RunTime:0.002878s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65368994 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65368994 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65368994 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='53001' and brandshort='Klein Tools, Inc.' limit 1 [ RunTime:0.000558s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001' OR `brand` LIKE 'Klein Tools, Inc.%' ) ) LIMIT 1 [ RunTime:0.000493s ]
SELECT `id` FROM `stock` WHERE `id` <> 65368994 AND `partno` = '53001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%klein tools, inc.%' ) [ RunTime:0.000496s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12181480 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69875666 LIMIT 5 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69875666 ORDER BY `minOrder` ASC [ RunTime:0.000742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69875666 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69875666 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69875666 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
select * from pdf where partno='53001050' and brandshort='LAPP' limit 1 [ RunTime:0.000509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001050' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.000425s ]
SELECT `id` FROM `stock` WHERE `id` <> 69875666 AND `partno` = '53001050' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69874866 LIMIT 5 [ RunTime:0.000297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69874866 ORDER BY `minOrder` ASC [ RunTime:0.000691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69874866 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69874866 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69874866 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='53001040' and brandshort='LAPP' limit 1 [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001040' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.000373s ]
SELECT `id` FROM `stock` WHERE `id` <> 69874866 AND `partno` = '53001040' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69874179 LIMIT 5 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69874179 ORDER BY `minOrder` ASC [ RunTime:0.000565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69874179 ORDER BY `unit` DESC [ RunTime:0.000304s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69874179 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69874179 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='53001030' and brandshort='LAPP' limit 1 [ RunTime:0.000450s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001030' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.000372s ]
SELECT `id` FROM `stock` WHERE `id` <> 69874179 AND `partno` = '53001030' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69874026 LIMIT 5 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69874026 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69874026 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69874026 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69874026 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='53001020' and brandshort='LAPP' limit 1 [ RunTime:0.000511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001020' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT `id` FROM `stock` WHERE `id` <> 69874026 AND `partno` = '53001020' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 69873838 LIMIT 5 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69873838 ORDER BY `minOrder` ASC [ RunTime:0.001201s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 69873838 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 69873838 LIMIT 2 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 69873838 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='53001010' and brandshort='LAPP' limit 1 [ RunTime:0.000494s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001010' OR `brand` LIKE 'LAPP%' ) ) LIMIT 1 [ RunTime:0.000355s ]
SELECT `id` FROM `stock` WHERE `id` <> 69873838 AND `partno` = '53001010' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%lapp%' ) [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68965461 LIMIT 5 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68965461 ORDER BY `minOrder` ASC [ RunTime:0.006087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68965461 ORDER BY `unit` DESC [ RunTime:0.000691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68965461 LIMIT 2 [ RunTime:0.000547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68965461 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
select * from pdf where partno='530011269' and brandshort='Belden Inc.' limit 1 [ RunTime:0.000445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '530011269' OR `brand` LIKE 'Belden Inc.%' ) ) LIMIT 1 [ RunTime:0.000641s ]
SELECT `id` FROM `stock` WHERE `id` <> 68965461 AND `partno` = '530011269' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%belden inc.%' ) [ RunTime:0.000750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14686722 [ RunTime:0.000504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 68951883 LIMIT 5 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68951883 ORDER BY `minOrder` ASC [ RunTime:0.001577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 68951883 ORDER BY `unit` DESC [ RunTime:0.000504s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 68951883 LIMIT 2 [ RunTime:0.000436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 68951883 ORDER BY `minOrder` ASC [ RunTime:0.000464s ]
select * from pdf where partno='530012930' and brandshort='Belden Inc.' limit 1 [ RunTime:0.000469s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '530012930' OR `brand` LIKE 'Belden Inc.%' ) ) LIMIT 1 [ RunTime:0.000492s ]
SELECT `id` FROM `stock` WHERE `id` <> 68951883 AND `partno` = '530012930' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%belden inc.%' ) [ RunTime:0.000470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14679009 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 65381316 LIMIT 5 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65381316 ORDER BY `minOrder` ASC [ RunTime:0.000797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 65381316 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 65381316 LIMIT 2 [ RunTime:0.000294s ]
SELECT * FROM `stock_price` WHERE `stockid` = 65381316 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
select * from pdf where partno='53001' and brandshort='Wiha' limit 1 [ RunTime:0.000522s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53001' OR `brand` LIKE 'Wiha%' ) ) LIMIT 1 [ RunTime:0.000443s ]
SELECT `id` FROM `stock` WHERE `id` <> 65381316 AND `partno` = '53001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%wiha%' ) [ RunTime:0.000469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12166196 [ RunTime:0.000345s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000759s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000648s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000634s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000629s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000744s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000651s ]
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 '53001%' OR `brand` LIKE '53001%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000679s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '53001%' OR `brand` LIKE '53001%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.000592s ]