Commit b303ec82 by 纪旭 韦

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

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