Commit f73b8bf3 by 黄静

hj

parent e59aae29
...@@ -87,11 +87,12 @@ def posmap(coordinate,position): ...@@ -87,11 +87,12 @@ def posmap(coordinate,position):
return posmap_result return posmap_result
#获取本期指定报表的单元格值 #获取本期指定报表的单元格值
def getValue(batchCode,cellDesc,cellPos,currentIssue,fileCode,taxCode,timeType): def getValue(batchCode, cellDesc, cellPos, Info_LBatch, fileCode, taxCode, timeType):
print(Info_LBatch,"==========传入的期数")
batchCode = str(batchCode) batchCode = str(batchCode)
cellDesc =str(cellDesc) cellDesc =str(cellDesc)
cellPos = str(cellPos) cellPos = str(cellPos)
currentIssue =str(currentIssue) currentIssue =str(Info_LBatch)
fileCode = str(fileCode) fileCode = str(fileCode)
taxCode = str(taxCode) taxCode = str(taxCode)
timeType =str(timeType) timeType =str(timeType)
...@@ -272,7 +273,7 @@ try: ...@@ -272,7 +273,7 @@ try:
# 获取自定义期数 # 获取自定义期数
Info_LBatch = customBatch(currentIssue, offset, timeType) Info_LBatch = customBatch(currentIssue, offset, timeType)
# 获取单元格值 # 获取单元格值
index_Value = getValue(batchCode, cellDesc, cellPos, currentIssue, fileCode, taxCode, timeType) index_Value = getValue(batchCode, cellDesc, cellPos, Info_LBatch, fileCode, taxCode, timeType)
factorsnew[factor] = index_Value factorsnew[factor] = index_Value
factors = factorsnew factors = factorsnew
rc = RiskComputer() # 构建指标计算对象 rc = RiskComputer() # 构建指标计算对象
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment