跳到主要内容

check_need_update

以下两种情况需要更新dat文件

  1. 如果dat文件的修改时间早于配置文件的修改时间

  2. 如果是xlsx 依赖文件的修改时间晚于dat文件的时间

声明

bool check_need_update(string file_name)

参数

参数名描述
file_name配置表名称

返回值

需要更新返回true,反之返回false

使用方式

返回文档