Commit ee261ceb authored by wang zhengwei's avatar wang zhengwei

修复时间持仓报告时间停滞问题

parent c4ffc22d
......@@ -233,7 +233,7 @@ class DataIntegrate:
data = {
# 全局数据
'customer_name': self.customer_name,
'year_month': self.user_customer.end_date.strftime("%Y-%m-%d"),
'year_month': datetime.now().strftime("%Y-%m-%d"),
'valueSex': self.user_customer.valueSex,
'month': self.user_customer.month_start_date.strftime("%m"),
'start_date': self.user_customer.start_date.strftime("%Y-%m-%d"),
......
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