Commit 14390a5d by 黄静

hj

parent c317000a
......@@ -48,6 +48,7 @@ def customBatch(custom_currentIssue,offset,timeType):
currentIssue = batchInfo_New['data']
return currentIssue
#获取L期数信息
def Transformer(currentYear,YearyearInfo,issueNum):
if "L" in YearyearInfo:
......@@ -266,6 +267,14 @@ try:
taxCode = tasks["taxCode"]
timeType = tasks["timeType"]
currentYear = int(currentIssue[0:4])
#获取时间单位
if "Q" in times:
timeType = "Q"
elif "Y" in times:
timeType = "Y"
else:
timeType = "M"
timeType = timeType
# 获取L期数信息
if "L" in YearyearInfo:
Info_LBatch = Transformer(currentYear, YearyearInfo, issueNum)
......
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