Commit b303ec82 by 纪旭 韦

医院其他绩效/不公示绩效上传跳过空行

parent 0a552956
......@@ -747,6 +747,9 @@ public ApiResponse AprMark(int userid, AprAmountMarkRequest request)
CreateUser = userid,
};
if (string.IsNullOrEmpty(entity.DoctorName) && string.IsNullOrEmpty(entity.PersonnelNumber) && string.IsNullOrEmpty(entity.PerforType) && entity.Amount == 0 && string.IsNullOrEmpty(entity.Remark))
continue;
if (string.IsNullOrEmpty(entity.DoctorName) || string.IsNullOrEmpty(entity.PersonnelNumber))
errors.Add(new Dictionary<string, string>
{
......@@ -1264,6 +1267,8 @@ public ApiResponse AprMarkHide(int userid, AprAmountMarkRequest request)
CreateDate = createtime,
CreateUser = userid,
};
if (string.IsNullOrEmpty(entity.DoctorName) && string.IsNullOrEmpty(entity.PersonnelNumber) && string.IsNullOrEmpty(entity.PerforType) && entity.Amount == 0 && string.IsNullOrEmpty(entity.Remark))
continue;
if (string.IsNullOrEmpty(entity.DoctorName) || string.IsNullOrEmpty(entity.PersonnelNumber))
errors.Add(new Dictionary<string, string>
......
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