diff --git a/main.py b/main.py index 7713e09..3819fb9 100644 --- a/main.py +++ b/main.py @@ -259,7 +259,7 @@ for index, row in BaseData.iterrows(): break History_pd.loc[len(History_pd)] = [calctime, "", "", "", "", "", "五年晋级"] except: - raise Exception(f"晋级、档起始时间格式错误:{row['晋档起始']}或{row['晋级起始']}") + raise Exception(f"晋级、档起始或间隔时间格式错误:{row['晋级起始']}-{row['晋档起始']}-{row['晋级间隔']}-{row['晋档间隔']}") for rule in Rule_Level: # 工资调标 if row["入职时间"] < rule["start"]: History_pd.loc[len(History_pd)] = [rule["start"], "", "", "", "", "", "工资调标"]