Commit 77e60885 by dong

fix20221127

parent a24451db
......@@ -5,5 +5,6 @@ api_manage = Blueprint("api_manage", __name__)
from . import view
from . import siku_view
from . import project_manager
from . import statistic_analysis_view
"招商资源管理"
......@@ -597,9 +597,9 @@ def add_project():
other_source = req_dic['other_source']
remark = req_dic['remark']
if not all([project_name, investor_name, investor_district, project_type,
investment_volume, project_info, thread_people, thread_people_unity,
thread_people_mobile, thread_progress, investment_volume1, project_info1,
stop_reason, thread_source, cooperation_way, other_source, remark]):
investment_volume, thread_people, thread_people_unity,
thread_people_mobile, thread_progress, investment_volume1,
thread_source, cooperation_way, remark]):
return jsonify(code=RET.NODATA, msg='无有效数据!')
upload_time = datetime.now().strftime("%Y/%m/%d")
......
......@@ -1281,6 +1281,7 @@ class MoneyArrive(db.Model):
__table_args__ = ({'comment': '项目化管理-固定资产投资项目资金到位表'}) # 添加表注释
id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='主键id')
is_delete = db.Column(db.Integer, comment='逻辑删除')
file_name = db.Column(db.String(30), comment='文件名称')
data_time = db.Column(db.String(30), comment='数据年份')
upload_time = db.Column(db.String(30), comment='上传日期')
upload_unit = db.Column(db.String(30), comment='上传部门')
......
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