SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001340s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.035415s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.027824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10979807 LIMIT 5 [ RunTime:0.110053s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10979807 ORDER BY `minOrder` ASC [ RunTime:0.049580s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.045524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10979807 ORDER BY `unit` DESC [ RunTime:0.042474s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10979807 LIMIT 2 [ RunTime:0.042365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10979807 ORDER BY `minOrder` ASC [ RunTime:0.029130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18776074 LIMIT 5 [ RunTime:0.085727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18776074 ORDER BY `minOrder` ASC [ RunTime:0.031503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18776074 ORDER BY `unit` DESC [ RunTime:0.081498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18776074 LIMIT 2 [ RunTime:0.050354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18776074 ORDER BY `minOrder` ASC [ RunTime:0.016104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13542437 LIMIT 5 [ RunTime:0.052416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13542437 ORDER BY `minOrder` ASC [ RunTime:0.060750s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13542437 ORDER BY `unit` DESC [ RunTime:0.022674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13542437 LIMIT 2 [ RunTime:0.048835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13542437 ORDER BY `minOrder` ASC [ RunTime:0.053840s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040438s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.118428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61016864 LIMIT 5 [ RunTime:0.027270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61016864 ORDER BY `minOrder` ASC [ RunTime:0.059074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61016864 ORDER BY `unit` DESC [ RunTime:0.050932s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61016864 LIMIT 2 [ RunTime:0.058955s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61016864 ORDER BY `minOrder` ASC [ RunTime:0.088561s ]
select * from pdf where partno='103569-58' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.025627s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103569-58' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.010665s ]
SELECT `id` FROM `stock` WHERE `id` <> 61016864 AND `partno` = '103569-58' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.005632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10979807 [ RunTime:0.013282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61151617 LIMIT 5 [ RunTime:0.018748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61151617 ORDER BY `minOrder` ASC [ RunTime:0.008007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61151617 ORDER BY `unit` DESC [ RunTime:0.017110s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61151617 LIMIT 2 [ RunTime:0.009135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61151617 ORDER BY `minOrder` ASC [ RunTime:0.001440s ]
select * from pdf where partno='103569-107' and brandshort='TE Connectivity Deutsch Connectors' limit 1 [ RunTime:0.008243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103569-107' OR `brand` LIKE 'TE Connectivity Deutsch Connectors%' ) ) LIMIT 1 [ RunTime:0.011480s ]
SELECT `id` FROM `stock` WHERE `id` <> 61151617 AND `partno` = '103569-107' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity deutsch connectors%' ) [ RunTime:0.011215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64538763 LIMIT 5 [ RunTime:0.005559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64538763 ORDER BY `minOrder` ASC [ RunTime:0.020254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64538763 ORDER BY `unit` DESC [ RunTime:0.026566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64538763 LIMIT 2 [ RunTime:0.029362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64538763 ORDER BY `minOrder` ASC [ RunTime:0.003207s ]
select * from pdf where partno='103569' and brandshort='Brady Corporation' limit 1 [ RunTime:0.006395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103569' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.006766s ]
SELECT `id` FROM `stock` WHERE `id` <> 64538763 AND `partno` = '103569' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.027005s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13542437 [ RunTime:0.024412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61204139 LIMIT 5 [ RunTime:0.017318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61204139 ORDER BY `minOrder` ASC [ RunTime:0.010126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61204139 ORDER BY `unit` DESC [ RunTime:0.009975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61204139 LIMIT 2 [ RunTime:0.006321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61204139 ORDER BY `minOrder` ASC [ RunTime:0.005196s ]
select * from pdf where partno='103569-107' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.020094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103569-107' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.013037s ]
SELECT `id` FROM `stock` WHERE `id` <> 61204139 AND `partno` = '103569-107' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.013839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61203692 LIMIT 5 [ RunTime:0.025004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61203692 ORDER BY `minOrder` ASC [ RunTime:0.047661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61203692 ORDER BY `unit` DESC [ RunTime:0.000457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61203692 LIMIT 2 [ RunTime:0.002923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61203692 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='103569-58' and brandshort='TE Connectivity AMP Connectors' limit 1 [ RunTime:0.004250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103569-58' OR `brand` LIKE 'TE Connectivity AMP Connectors%' ) ) LIMIT 1 [ RunTime:0.000363s ]
SELECT `id` FROM `stock` WHERE `id` <> 61203692 AND `partno` = '103569-58' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te connectivity amp connectors%' ) [ RunTime:0.012862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38513816 LIMIT 5 [ RunTime:0.014075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38513816 ORDER BY `minOrder` ASC [ RunTime:0.046978s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38513816 ORDER BY `unit` DESC [ RunTime:0.025052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38513816 LIMIT 2 [ RunTime:0.014155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38513816 ORDER BY `minOrder` ASC [ RunTime:0.004893s ]
select * from pdf where partno='1035694' and brandshort='SICK, Inc.' limit 1 [ RunTime:0.026316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1035694' OR `brand` LIKE 'SICK, Inc.%' ) ) LIMIT 1 [ RunTime:0.030204s ]
SELECT `id` FROM `stock` WHERE `id` <> 38513816 AND `partno` = '1035694' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%sick, inc.%' ) [ RunTime:0.005428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18776074 [ RunTime:0.019854s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008135s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011769s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012185s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009283s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.036360s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024134s ]
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 '103569%' OR `brand` LIKE '103569%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.026071s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '103569%' OR `brand` LIKE '103569%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.010978s ]