Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangkb
indicators
Commits
d94d480c
Commit
d94d480c
authored
Oct 29, 2020
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对标运算加try捕获未知异常
parent
82229af3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
118 additions
and
44 deletions
+118
-44
BeforeCompareUnitCalActor.java
...tors/akka/actor/indicators/BeforeCompareUnitCalActor.java
+36
-12
CompareUnitCalActor.java
...indicators/akka/actor/indicators/CompareUnitCalActor.java
+17
-2
DriveIndIdCalActor.java
.../indicators/akka/actor/indicators/DriveIndIdCalActor.java
+0
-0
DriveIndIdObjCalActor.java
...dicators/akka/actor/indicators/DriveIndIdObjCalActor.java
+0
-0
GetBaseIndValueActor.java
...ndicators/akka/actor/indicators/GetBaseIndValueActor.java
+53
-28
StartCompareUnitCalActor.java
...ators/akka/actor/indicators/StartCompareUnitCalActor.java
+0
-0
GetBaseIndValueMsg.java
...ndicators/akka/message/indicators/GetBaseIndValueMsg.java
+12
-2
No files found.
src/main/java/com/keymobile/indicators/akka/actor/indicators/BeforeCompareUnitCalActor.java
View file @
d94d480c
...
@@ -10,6 +10,7 @@ import com.keymobile.indicators.constant.Constants;
...
@@ -10,6 +10,7 @@ import com.keymobile.indicators.constant.Constants;
import
com.keymobile.indicators.model.entity.indicators.CompareUnitCalLog
;
import
com.keymobile.indicators.model.entity.indicators.CompareUnitCalLog
;
import
com.keymobile.indicators.service.hytobacco.CompareUnitCalLogService
;
import
com.keymobile.indicators.service.hytobacco.CompareUnitCalLogService
;
import
com.keymobile.indicators.utils.LogManager
;
import
com.keymobile.indicators.utils.LogManager
;
import
com.netflix.discovery.converters.jackson.EurekaXmlJacksonCodec
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
...
@@ -51,6 +52,7 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -51,6 +52,7 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
@Override
@Override
public
Receive
createReceive
()
{
public
Receive
createReceive
()
{
try
{
return
receiveBuilder
()
return
receiveBuilder
()
.
match
(
StartCompareUnitCalMsg
.
class
,
beforeCompareUnitCalMsg
->
{
.
match
(
StartCompareUnitCalMsg
.
class
,
beforeCompareUnitCalMsg
->
{
List
<
CompareUnitDef
>
compareUnitDefs
=
beforeCompareUnitCalMsg
.
getCompareInitDefs
();
List
<
CompareUnitDef
>
compareUnitDefs
=
beforeCompareUnitCalMsg
.
getCompareInitDefs
();
...
@@ -88,7 +90,7 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -88,7 +90,7 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
}
}
if
(!
currentCompareUnitDef
.
isEmpty
())
{
if
(!
currentCompareUnitDef
.
isEmpty
())
{
currentDate
=
currentCompareUnitDef
.
get
(
0
).
getDate
();
currentDate
=
currentCompareUnitDef
.
get
(
0
).
getDate
();
if
(
"0"
.
equals
(
isTest
))
{
if
(
"0"
.
equals
(
isTest
))
{
logger
.
info
(
"进行date:"
+
currentDate
+
" 的对标单元试运行计算....."
);
logger
.
info
(
"进行date:"
+
currentDate
+
" 的对标单元试运行计算....."
);
}
else
{
}
else
{
...
@@ -108,10 +110,10 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -108,10 +110,10 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
if
(
"1"
.
equals
(
isTest
))
{
//正式对标单元运算才进行报表数据生成
if
(
"1"
.
equals
(
isTest
))
{
//正式对标单元运算才进行报表数据生成
Map
<
String
,
String
>
compareObjMap
=
new
HashMap
<>();
Map
<
String
,
String
>
compareObjMap
=
new
HashMap
<>();
logger
.
info
(
"进行date:"
+
currentDate
+
" 指标本期同期报表数据和考核指标报表数据2数据整合"
);
logger
.
info
(
"进行date:"
+
currentDate
+
" 指标本期同期报表数据和考核指标报表数据2数据整合"
);
//整合考核指标报表数据2
//整合考核指标报表数据2
for
(
CompareUnitDef
unitDef
:
currentCompareUnitDef
)
{
for
(
CompareUnitDef
unitDef
:
currentCompareUnitDef
)
{
if
(
StringUtils
.
isNotBlank
(
unitDef
.
getIndIds
())
&&
if
(
StringUtils
.
isNotBlank
(
unitDef
.
getIndIds
())
&&
StringUtils
.
isNotBlank
(
unitDef
.
getCompareObjs
()))
{
StringUtils
.
isNotBlank
(
unitDef
.
getCompareObjs
()))
{
//用map整合对标机构
//用map整合对标机构
List
<
String
>
compareObjsList
=
Arrays
List
<
String
>
compareObjsList
=
Arrays
...
@@ -122,31 +124,31 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -122,31 +124,31 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
//整合指标本期同期报表数据
//整合指标本期同期报表数据
indicatorsReportService
.
dealReportOne
(
indicatorsReportService
.
dealReportOne
(
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
Arrays
.
asList
(
unitDef
.
getCompareObjs
().
split
(
","
)),
Arrays
.
asList
(
unitDef
.
getCompareObjs
().
split
(
","
)),
unitDef
.
getDate
(),
code
);
unitDef
.
getDate
(),
code
);
//整合考核指标报表数据2
//整合考核指标报表数据2
indicatorsReportService
.
dealDriveIndReportTwoData
(
indicatorsReportService
.
dealDriveIndReportTwoData
(
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
Arrays
.
asList
(
unitDef
.
getCompareObjs
().
split
(
","
)),
unitDef
.
getDate
(),
code
);
Arrays
.
asList
(
unitDef
.
getCompareObjs
().
split
(
","
)),
unitDef
.
getDate
(),
code
);
}
}
}
}
//整合基础项本期同期报表数据
//整合基础项本期同期报表数据
logger
.
info
(
"进行date:"
+
currentDate
+
" 基础项本期同期报表数据整合"
);
logger
.
info
(
"进行date:"
+
currentDate
+
" 基础项本期同期报表数据整合"
);
if
(!
compareObjMap
.
isEmpty
())
{
if
(!
compareObjMap
.
isEmpty
())
{
List
<
String
>
compareObjs
=
new
ArrayList
<
String
>(
compareObjMap
.
keySet
());
List
<
String
>
compareObjs
=
new
ArrayList
<
String
>(
compareObjMap
.
keySet
());
indicatorsReportService
.
dealBaseIndReportOneData
(
currentDate
,
compareObjs
,
code
);
indicatorsReportService
.
dealBaseIndReportOneData
(
currentDate
,
compareObjs
,
code
);
}
}
//整合考核指标报表数据3
//整合考核指标报表数据3
logger
.
info
(
"进行date:"
+
currentDate
+
" 指标报表3数据整合"
);
logger
.
info
(
"进行date:"
+
currentDate
+
" 指标报表3数据整合"
);
//删除历史数据
//删除历史数据
indicatorsReportService
.
deleteReportThreeDataByParam
(
currentDate
,
indicatorsReportService
.
deleteReportThreeDataByParam
(
currentDate
,
new
ArrayList
<
String
>(
compareObjMap
.
keySet
()),
code
);
new
ArrayList
<
String
>(
compareObjMap
.
keySet
()),
code
);
for
(
CompareUnitDef
unitDef
:
currentCompareUnitDef
)
{
for
(
CompareUnitDef
unitDef
:
currentCompareUnitDef
)
{
indicatorsReportService
.
dealDriveIndReportThreeData
(
indicatorsReportService
.
dealDriveIndReportThreeData
(
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
unitDef
.
getDate
(),
code
);
unitDef
.
getDate
(),
code
);
}
}
}
}
...
@@ -156,6 +158,12 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -156,6 +158,12 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
if
(
compCalLog
!=
null
)
{
if
(
compCalLog
!=
null
)
{
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
compCalLog
.
setRunStatus
(
"1"
);
compCalLog
.
setRunStatus
(
"1"
);
String
logInfo
=
compCalLog
.
getLogInfo
();
if
(
StringUtils
.
isBlank
(
logInfo
)){
logInfo
=
"没异常"
;
}
logInfo
=
"整体试运算成功-运算过程:"
+
logInfo
;
compCalLog
.
setLogInfo
(
logInfo
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
}
LogManager
.
logInfo
(
Constants
.
LOG_INDICATOR_UNIT_CAL_API
,
"完成对标单元id:{},日期:{} 的试运行计算"
,
compCalLogId
,
currentDate
);
LogManager
.
logInfo
(
Constants
.
LOG_INDICATOR_UNIT_CAL_API
,
"完成对标单元id:{},日期:{} 的试运行计算"
,
compCalLogId
,
currentDate
);
...
@@ -164,18 +172,34 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -164,18 +172,34 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
if
(
compCalLog
!=
null
)
{
if
(
compCalLog
!=
null
)
{
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
compCalLog
.
setRunStatus
(
"1"
);
compCalLog
.
setRunStatus
(
"1"
);
if
(
compCalLog
.
getStatus
()==
1
){
String
logInfo
=
compCalLog
.
getLogInfo
();
compCalLog
.
setLogInfo
(
"运算成功"
);
if
(
StringUtils
.
isBlank
(
logInfo
)){
logInfo
=
"没异常"
;
}
}
logInfo
=
"整体运算成功-运算过程:"
+
logInfo
;
compCalLog
.
setLogInfo
(
logInfo
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
}
LogManager
.
logInfo
(
Constants
.
LOG_INDICATOR_UNIT_CAL_API
,
"完成对标单元id:{},日期:{} 的
试
运行计算"
,
compCalLogId
,
currentDate
);
LogManager
.
logInfo
(
Constants
.
LOG_INDICATOR_UNIT_CAL_API
,
"完成对标单元id:{},日期:{} 的
正式
运行计算"
,
compCalLogId
,
currentDate
);
logger
.
info
(
"本期同期对标单元计算完成"
);
logger
.
info
(
"本期同期对标单元计算完成"
);
}
}
}
}
}
}
})
})
.
build
();
.
build
();
}
catch
(
Exception
e
){
e
.
printStackTrace
();
CompareUnitCalLog
compCalLog
=
compareUnitCalLogService
.
findById
(
compCalLogId
);
if
(
compCalLog
!=
null
){
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
compCalLog
.
setRunStatus
(
"1"
);
compCalLog
.
setStatus
(
0
);
compCalLog
.
setLogInfo
(
"运算失败"
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
}
return
null
;
}
}
}
}
src/main/java/com/keymobile/indicators/akka/actor/indicators/CompareUnitCalActor.java
View file @
d94d480c
...
@@ -65,6 +65,8 @@ public class CompareUnitCalActor extends AbstractActor{
...
@@ -65,6 +65,8 @@ public class CompareUnitCalActor extends AbstractActor{
@Override
@Override
public
Receive
createReceive
()
{
public
Receive
createReceive
()
{
try
{
return
receiveBuilder
()
return
receiveBuilder
()
.
match
(
CompareUnitCalMsg
.
class
,
compareUnitCalMsg
->
{
.
match
(
CompareUnitCalMsg
.
class
,
compareUnitCalMsg
->
{
CompareUnitDef
compareUnitDef
=
compareUnitCalMsg
.
getCompareUnitDef
();
CompareUnitDef
compareUnitDef
=
compareUnitCalMsg
.
getCompareUnitDef
();
...
@@ -75,7 +77,7 @@ public class CompareUnitCalActor extends AbstractActor{
...
@@ -75,7 +77,7 @@ public class CompareUnitCalActor extends AbstractActor{
objScoreRuleId
=
compareUnitDef
.
getObjScoreRuleId
();
objScoreRuleId
=
compareUnitDef
.
getObjScoreRuleId
();
code
=
compareUnitCalMsg
.
getCode
();
code
=
compareUnitCalMsg
.
getCode
();
isTest
=
compareUnitCalMsg
.
getIsTest
();
isTest
=
compareUnitCalMsg
.
getIsTest
();
compCalLogId
=
compareUnitCalMsg
.
getCompCalLogId
();
// //新增运行日志记录
// //新增运行日志记录
// CompareUnitCalLog compCalLog = new CompareUnitCalLog(compareId,date,
// CompareUnitCalLog compCalLog = new CompareUnitCalLog(compareId,date,
// System.currentTimeMillis()+"","0");
// System.currentTimeMillis()+"","0");
...
@@ -85,7 +87,7 @@ public class CompareUnitCalActor extends AbstractActor{
...
@@ -85,7 +87,7 @@ public class CompareUnitCalActor extends AbstractActor{
// compCalLog.setType(isTest);
// compCalLog.setType(isTest);
//保存
//保存
// Integer compCalLogId = compareUnitCalLogService.saveOrUndate(compCalLog);
// Integer compCalLogId = compareUnitCalLogService.saveOrUndate(compCalLog);
compCalLogId
=
compareUnitCalMsg
.
getCompCalLogId
();
//获取对标对象
//获取对标对象
String
compareObjsString
=
compareUnitDef
.
getCompareObjs
();
String
compareObjsString
=
compareUnitDef
.
getCompareObjs
();
//获取对标指标
//获取对标指标
...
@@ -161,5 +163,18 @@ public class CompareUnitCalActor extends AbstractActor{
...
@@ -161,5 +163,18 @@ public class CompareUnitCalActor extends AbstractActor{
}
}
})
})
.
build
();
.
build
();
}
catch
(
Exception
e
){
e
.
printStackTrace
();
CompareUnitCalLog
compCalLog
=
compareUnitCalLogService
.
findById
(
compCalLogId
);
if
(
compCalLog
!=
null
){
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
compCalLog
.
setRunStatus
(
"1"
);
compCalLog
.
setStatus
(
0
);
compCalLog
.
setLogInfo
(
"运算失败"
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
}
return
null
;
}
}
}
}
src/main/java/com/keymobile/indicators/akka/actor/indicators/DriveIndIdCalActor.java
View file @
d94d480c
This diff is collapsed.
Click to expand it.
src/main/java/com/keymobile/indicators/akka/actor/indicators/DriveIndIdObjCalActor.java
View file @
d94d480c
This diff is collapsed.
Click to expand it.
src/main/java/com/keymobile/indicators/akka/actor/indicators/GetBaseIndValueActor.java
View file @
d94d480c
...
@@ -4,6 +4,8 @@ import java.util.Map;
...
@@ -4,6 +4,8 @@ import java.util.Map;
import
com.keymobile.indicators.akka.message.indicators.BaseIndValueMsg
;
import
com.keymobile.indicators.akka.message.indicators.BaseIndValueMsg
;
import
com.keymobile.indicators.akka.message.indicators.GetBaseIndValueMsg
;
import
com.keymobile.indicators.akka.message.indicators.GetBaseIndValueMsg
;
import
com.keymobile.indicators.model.entity.indicators.CompareUnitCalLog
;
import
com.keymobile.indicators.service.hytobacco.CompareUnitCalLogService
;
import
com.keymobile.indicators.service.hytobacco.IndicatorsValueService
;
import
com.keymobile.indicators.service.hytobacco.IndicatorsValueService
;
import
com.keymobile.indicators.utils.SpringUtil
;
import
com.keymobile.indicators.utils.SpringUtil
;
...
@@ -13,37 +15,60 @@ public class GetBaseIndValueActor extends AbstractActor{
...
@@ -13,37 +15,60 @@ public class GetBaseIndValueActor extends AbstractActor{
private
IndicatorsValueService
indicatorsValueService
=
SpringUtil
.
getBean
(
IndicatorsValueService
.
class
);
private
IndicatorsValueService
indicatorsValueService
=
SpringUtil
.
getBean
(
IndicatorsValueService
.
class
);
private
CompareUnitCalLogService
compareUnitCalLogService
=
SpringUtil
.
getBean
(
CompareUnitCalLogService
.
class
);
private
Integer
compCalLogId
=
null
;
@Override
@Override
public
Receive
createReceive
()
{
public
Receive
createReceive
()
{
return
receiveBuilder
()
.
match
(
GetBaseIndValueMsg
.
class
,
getBaseIndValueMsg
->
{
Receive
receive
=
null
;
//根据维度值和基础指标id获取指标值
try
{
Map
<
String
,
Object
>
indValueMap
=
indicatorsValueService
.
getIndicatorsValue
(
getBaseIndValueMsg
.
getIndId
(),
getBaseIndValueMsg
.
getDimValue
(),
receive
=
receiveBuilder
()
getBaseIndValueMsg
.
getCode
());
.
match
(
GetBaseIndValueMsg
.
class
,
getBaseIndValueMsg
->
{
if
(
indValueMap
!=
null
)
{
//根据维度值和基础指标id获取指标值
if
(
indValueMap
.
get
(
"value"
)==
null
)
{
//如果指标值为空,返回失败结果
compCalLogId
=
getBaseIndValueMsg
.
getCompCalLogId
();
Map
<
String
,
Object
>
indValueMap
=
indicatorsValueService
.
getIndicatorsValue
(
getBaseIndValueMsg
.
getIndId
(),
getBaseIndValueMsg
.
getDimValue
(),
getBaseIndValueMsg
.
getCode
());
if
(
indValueMap
!=
null
)
{
if
(
indValueMap
.
get
(
"value"
)
==
null
)
{
//如果指标值为空,返回失败结果
//返回指标值结果
getSender
().
tell
(
new
BaseIndValueMsg
(
getBaseIndValueMsg
.
getIndId
()
,
null
,
indValueMap
.
get
(
"compareObjDesc"
).
toString
(),
0
,
"获取指标id:"
+
getBaseIndValueMsg
.
getIndId
()
+
";维度:"
+
getBaseIndValueMsg
.
getDimValue
().
get
(
0
).
getDimvalue
()
+
","
+
getBaseIndValueMsg
.
getDimValue
().
get
(
1
).
getDimvalue
()
+
" 的指标值为空;"
),
getSelf
());
}
else
{
getSender
().
tell
(
new
BaseIndValueMsg
(
getBaseIndValueMsg
.
getIndId
()
,
indValueMap
.
get
(
"value"
).
toString
(),
indValueMap
.
get
(
"compareObjDesc"
).
toString
(),
1
,
""
),
getSelf
());
}
}
else
{
//返回指标值结果
//返回指标值结果
getSender
().
tell
(
new
BaseIndValueMsg
(
getBaseIndValueMsg
.
getIndId
()
getSender
().
tell
(
new
BaseIndValueMsg
(
getBaseIndValueMsg
.
getIndId
(),
null
,
null
,
,
null
,
indValueMap
.
get
(
"compareObjDesc"
).
toString
(),
0
,
0
,
"无法获取指标id:"
+
"获取指标id:"
+
getBaseIndValueMsg
.
getIndId
()
+
";维度:"
+
getBaseIndValueMsg
.
getIndId
()+
";维度:"
+
getBaseIndValueMsg
.
getDimValue
().
get
(
0
).
getDimvalue
()
+
","
+
getBaseIndValueMsg
.
getDimValue
().
get
(
0
).
getDimvalue
()+
","
+
getBaseIndValueMsg
.
getDimValue
().
get
(
1
).
getDimvalue
()
+
" 的指标值;"
),
getSelf
());
getBaseIndValueMsg
.
getDimValue
().
get
(
1
).
getDimvalue
()+
" 的指标值为空;"
),
getSelf
());
}
else
{
getSender
().
tell
(
new
BaseIndValueMsg
(
getBaseIndValueMsg
.
getIndId
()
,
indValueMap
.
get
(
"value"
).
toString
(),
indValueMap
.
get
(
"compareObjDesc"
).
toString
(),
1
,
""
),
getSelf
());
}
}
}
else
{
})
//返回指标值结果
.
build
();
getSender
().
tell
(
new
BaseIndValueMsg
(
getBaseIndValueMsg
.
getIndId
(),
null
,
null
,
}
catch
(
Exception
e
){
0
,
"无法获取指标id:"
+
e
.
printStackTrace
();
getBaseIndValueMsg
.
getIndId
()+
";维度:"
+
getBaseIndValueMsg
.
getDimValue
().
get
(
0
).
getDimvalue
()+
","
+
CompareUnitCalLog
compCalLog
=
compareUnitCalLogService
.
findById
(
compCalLogId
);
getBaseIndValueMsg
.
getDimValue
().
get
(
1
).
getDimvalue
()+
" 的指标值;"
),
getSelf
());
if
(
compCalLog
!=
null
){
}
compCalLog
.
setEndTime
(
System
.
currentTimeMillis
()+
""
);
})
compCalLog
.
setRunStatus
(
"1"
);
.
build
();
compCalLog
.
setStatus
(
0
);
compCalLog
.
setLogInfo
(
"运算失败"
);
compareUnitCalLogService
.
saveOrUndate
(
compCalLog
);
}
}
return
receive
;
}
}
}
}
src/main/java/com/keymobile/indicators/akka/actor/indicators/StartCompareUnitCalActor.java
View file @
d94d480c
This diff is collapsed.
Click to expand it.
src/main/java/com/keymobile/indicators/akka/message/indicators/GetBaseIndValueMsg.java
View file @
d94d480c
...
@@ -17,13 +17,23 @@ public class GetBaseIndValueMsg implements Serializable{
...
@@ -17,13 +17,23 @@ public class GetBaseIndValueMsg implements Serializable{
private
List
<
DimValue
>
dimValue
=
new
ArrayList
<>();
//维度值
private
List
<
DimValue
>
dimValue
=
new
ArrayList
<>();
//维度值
private
String
code
;
private
String
code
;
private
Integer
compCalLogId
;
public
GetBaseIndValueMsg
(
String
indId
,
List
<
DimValue
>
dimValue
,
String
code
)
{
public
GetBaseIndValueMsg
(
String
indId
,
List
<
DimValue
>
dimValue
,
String
code
)
{
this
.
indId
=
indId
;
this
.
indId
=
indId
;
this
.
dimValue
.
addAll
(
dimValue
);
this
.
dimValue
.
addAll
(
dimValue
);
this
.
code
=
code
;
this
.
code
=
code
;
}
}
public
Integer
getCompCalLogId
()
{
return
compCalLogId
;
}
public
void
setCompCalLogId
(
Integer
compCalLogId
)
{
this
.
compCalLogId
=
compCalLogId
;
}
public
List
<
DimValue
>
getDimValue
()
{
public
List
<
DimValue
>
getDimValue
()
{
return
dimValue
;
return
dimValue
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment