SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002025s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011286s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18982705 LIMIT 5 [ RunTime:0.011474s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18982705 ORDER BY `minOrder` ASC [ RunTime:0.001705s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001490s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18982705 ORDER BY `unit` DESC [ RunTime:0.001869s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18982705 LIMIT 2 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18982705 ORDER BY `minOrder` ASC [ RunTime:0.001365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18981047 LIMIT 5 [ RunTime:0.003610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18981047 ORDER BY `minOrder` ASC [ RunTime:0.004847s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18981047 ORDER BY `unit` DESC [ RunTime:0.026398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18981047 LIMIT 2 [ RunTime:0.006593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18981047 ORDER BY `minOrder` ASC [ RunTime:0.008370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18979217 LIMIT 5 [ RunTime:0.011255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18979217 ORDER BY `minOrder` ASC [ RunTime:0.013041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18979217 ORDER BY `unit` DESC [ RunTime:0.003420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18979217 LIMIT 2 [ RunTime:0.007537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18979217 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17012406 LIMIT 5 [ RunTime:0.006110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17012406 ORDER BY `minOrder` ASC [ RunTime:0.001329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17012406 ORDER BY `unit` DESC [ RunTime:0.011004s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17012406 LIMIT 2 [ RunTime:0.009449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17012406 ORDER BY `minOrder` ASC [ RunTime:0.003751s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223551 LIMIT 5 [ RunTime:0.001970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223551 ORDER BY `minOrder` ASC [ RunTime:0.001676s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15223551 ORDER BY `unit` DESC [ RunTime:0.002783s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15223551 LIMIT 2 [ RunTime:0.004405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15223551 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14196887 LIMIT 5 [ RunTime:0.004266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14196887 ORDER BY `minOrder` ASC [ RunTime:0.003463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14196887 ORDER BY `unit` DESC [ RunTime:0.005782s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14196887 LIMIT 2 [ RunTime:0.007033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14196887 ORDER BY `minOrder` ASC [ RunTime:0.001808s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002915s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32247367 LIMIT 5 [ RunTime:0.010277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32247367 ORDER BY `minOrder` ASC [ RunTime:0.008354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32247367 ORDER BY `unit` DESC [ RunTime:0.006235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32247367 LIMIT 2 [ RunTime:0.004880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32247367 ORDER BY `minOrder` ASC [ RunTime:0.001369s ]
select * from pdf where partno='108168' and brandshort='basler' limit 1 [ RunTime:0.000945s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001369s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '108168' OR `brand` LIKE 'basler%' ) ) LIMIT 1 [ RunTime:0.000794s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64804468 LIMIT 5 [ RunTime:0.001439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64804468 ORDER BY `minOrder` ASC [ RunTime:0.001149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64804468 ORDER BY `unit` DESC [ RunTime:0.003611s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64804468 LIMIT 2 [ RunTime:0.009092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64804468 ORDER BY `minOrder` ASC [ RunTime:0.006525s ]
select * from pdf where partno='1081681' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.000821s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1081681' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.017194s ]
SELECT `id` FROM `stock` WHERE `id` <> 64804468 AND `partno` = '1081681' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.011491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15223551 [ RunTime:0.004443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63339717 LIMIT 5 [ RunTime:0.001606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63339717 ORDER BY `minOrder` ASC [ RunTime:0.002018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63339717 ORDER BY `unit` DESC [ RunTime:0.000514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63339717 LIMIT 2 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63339717 ORDER BY `minOrder` ASC [ RunTime:0.000885s ]
select * from pdf where partno='1081683' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.003277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1081683' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.000655s ]
SELECT `id` FROM `stock` WHERE `id` <> 63339717 AND `partno` = '1081683' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.000671s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17012406 [ RunTime:0.000516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63199933 LIMIT 5 [ RunTime:0.004371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63199933 ORDER BY `minOrder` ASC [ RunTime:0.005989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63199933 ORDER BY `unit` DESC [ RunTime:0.005240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63199933 LIMIT 2 [ RunTime:0.000862s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63199933 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
select * from pdf where partno='1081689' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.007202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1081689' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.011460s ]
SELECT `id` FROM `stock` WHERE `id` <> 63199933 AND `partno` = '1081689' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.003068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18982705 [ RunTime:0.008195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63198690 LIMIT 5 [ RunTime:0.001316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63198690 ORDER BY `minOrder` ASC [ RunTime:0.001353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63198690 ORDER BY `unit` DESC [ RunTime:0.000859s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63198690 LIMIT 2 [ RunTime:0.000810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63198690 ORDER BY `minOrder` ASC [ RunTime:0.003778s ]
select * from pdf where partno='1081684' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.003877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1081684' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.011218s ]
SELECT `id` FROM `stock` WHERE `id` <> 63198690 AND `partno` = '1081684' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001981s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14196887 [ RunTime:0.006812s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63198201 LIMIT 5 [ RunTime:0.003563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63198201 ORDER BY `minOrder` ASC [ RunTime:0.005399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63198201 ORDER BY `unit` DESC [ RunTime:0.000820s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63198201 LIMIT 2 [ RunTime:0.002265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63198201 ORDER BY `minOrder` ASC [ RunTime:0.000495s ]
select * from pdf where partno='1081680' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1081680' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.007418s ]
SELECT `id` FROM `stock` WHERE `id` <> 63198201 AND `partno` = '1081680' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.005584s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18981047 [ RunTime:0.001033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 63196653 LIMIT 5 [ RunTime:0.011643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63196653 ORDER BY `minOrder` ASC [ RunTime:0.006703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 63196653 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 63196653 LIMIT 2 [ RunTime:0.001787s ]
SELECT * FROM `stock_price` WHERE `stockid` = 63196653 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
select * from pdf where partno='1081682' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.004632s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1081682' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.006101s ]
SELECT `id` FROM `stock` WHERE `id` <> 63196653 AND `partno` = '1081682' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.007147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18979217 [ RunTime:0.001220s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001295s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002336s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002840s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008848s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002617s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002156s ]
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 '108168%' OR `brand` LIKE '108168%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001222s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '108168%' OR `brand` LIKE '108168%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.009103s ]