SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001004s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003846s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18981488 LIMIT 5 [ RunTime:0.001357s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18981488 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18981488 ORDER BY `unit` DESC [ RunTime:0.002534s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.007919s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18981488 LIMIT 2 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18981488 ORDER BY `minOrder` ASC [ RunTime:0.001541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18774294 LIMIT 5 [ RunTime:0.000886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18774294 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18774294 ORDER BY `unit` DESC [ RunTime:0.004540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18774294 LIMIT 2 [ RunTime:0.001459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18774294 ORDER BY `minOrder` ASC [ RunTime:0.001187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17010680 LIMIT 5 [ RunTime:0.008173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17010680 ORDER BY `minOrder` ASC [ RunTime:0.004083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17010680 ORDER BY `unit` DESC [ RunTime:0.006310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17010680 LIMIT 2 [ RunTime:0.010944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17010680 ORDER BY `minOrder` ASC [ RunTime:0.005140s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15448800 LIMIT 5 [ RunTime:0.002576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15448800 ORDER BY `minOrder` ASC [ RunTime:0.014953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15448800 ORDER BY `unit` DESC [ RunTime:0.010392s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15448800 LIMIT 2 [ RunTime:0.012021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15448800 ORDER BY `minOrder` ASC [ RunTime:0.006184s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32247334 LIMIT 5 [ RunTime:0.006649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32247334 ORDER BY `minOrder` ASC [ RunTime:0.006661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32247334 ORDER BY `unit` DESC [ RunTime:0.010974s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32247334 LIMIT 2 [ RunTime:0.002532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32247334 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
select * from pdf where partno='109347' and brandshort='basler' limit 1 [ RunTime:0.007637s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001143s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '109347' OR `brand` LIKE 'basler%' ) ) LIMIT 1 [ RunTime:0.017032s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 60525420 LIMIT 5 [ RunTime:0.003426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60525420 ORDER BY `minOrder` ASC [ RunTime:0.033414s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 60525420 ORDER BY `unit` DESC [ RunTime:0.019380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 60525420 LIMIT 2 [ RunTime:0.017948s ]
SELECT * FROM `stock_price` WHERE `stockid` = 60525420 ORDER BY `minOrder` ASC [ RunTime:0.011154s ]
select * from pdf where partno='1093470000' and brandshort='Weidmüller' limit 1 [ RunTime:0.012182s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1093470000' OR `brand` LIKE 'Weidmüller%' ) ) LIMIT 1 [ RunTime:0.022638s ]
SELECT `id` FROM `stock` WHERE `id` <> 60525420 AND `partno` = '1093470000' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%weidmüller%' ) [ RunTime:0.016511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15448800 [ RunTime:0.012927s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57985864 LIMIT 5 [ RunTime:0.010242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57985864 ORDER BY `minOrder` ASC [ RunTime:0.006768s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57985864 ORDER BY `unit` DESC [ RunTime:0.000738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57985864 LIMIT 2 [ RunTime:0.009116s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57985864 ORDER BY `minOrder` ASC [ RunTime:0.006754s ]
select * from pdf where partno='1093472' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.006505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1093472' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.004136s ]
SELECT `id` FROM `stock` WHERE `id` <> 57985864 AND `partno` = '1093472' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.008510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18774294 [ RunTime:0.001653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57985185 LIMIT 5 [ RunTime:0.004052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57985185 ORDER BY `minOrder` ASC [ RunTime:0.008307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57985185 ORDER BY `unit` DESC [ RunTime:0.012657s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57985185 LIMIT 2 [ RunTime:0.013125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57985185 ORDER BY `minOrder` ASC [ RunTime:0.003881s ]
select * from pdf where partno='1093474' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.005620s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1093474' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.009652s ]
SELECT `id` FROM `stock` WHERE `id` <> 57985185 AND `partno` = '1093474' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.016616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17010680 [ RunTime:0.000836s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57984372 LIMIT 5 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57984372 ORDER BY `minOrder` ASC [ RunTime:0.002180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57984372 ORDER BY `unit` DESC [ RunTime:0.003838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57984372 LIMIT 2 [ RunTime:0.006739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57984372 ORDER BY `minOrder` ASC [ RunTime:0.000578s ]
select * from pdf where partno='1093473' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.001405s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1093473' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.003300s ]
SELECT `id` FROM `stock` WHERE `id` <> 57984372 AND `partno` = '1093473' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.001130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18981488 [ RunTime:0.000855s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003318s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001773s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004080s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003079s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004094s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001390s ]
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 '109347%' OR `brand` LIKE '109347%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001350s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '109347%' OR `brand` LIKE '109347%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.005221s ]