Commit f73b8bf3 by 黄静

hj

parent e59aae29
......@@ -87,11 +87,12 @@ def posmap(coordinate,position):
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)
cellDesc =str(cellDesc)
cellPos = str(cellPos)
currentIssue =str(currentIssue)
currentIssue =str(Info_LBatch)
fileCode = str(fileCode)
taxCode = str(taxCode)
timeType =str(timeType)
......@@ -272,7 +273,7 @@ try:
# 获取自定义期数
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
factors = factorsnew
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