护理部审核BUG

parent dd54780c
......@@ -1273,7 +1273,7 @@ public bool ConfirmAudit(int userId, SecondAuditRequest request)
var hospital = hospitalRepository.GetEntity(w => w.ID == allot.HospitalId);
if (hospital == null) return true;
if (hospital.IsOpenNursingDeptAudit != 1 || second.NursingDeptStatus != 3)
if (hospital.IsOpenNursingDeptAudit == 1 && second.NursingDeptStatus != 3)
return true;
var computes = new List<ag_compute>();
......
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