Commit 120066ee by 1391696987

预留金额Soure字段改为string

parent 7fc1c778
......@@ -19,7 +19,7 @@ public class EmployeeReservedDto
/// <summary>
///
/// </summary>
public int Source { get; set; }
public string Source { get; set; }
/// <summary>
///
......
......@@ -391,7 +391,7 @@ public List<EmployeeReservedDto> GetEmployeeReserved(ReservedRequest request)
string sql = $"SELECT * FROM {view} WHERE HospitalID=@HospitalID AND Year=@Year";
var reserveds = DapperQuery<EmployeeReservedDto>(sql, new { HospitalID = request.HospitalId, Year = request.Year }, commandTimeout : 60 * 60 )?.ToList();
reserveds.ForEach(t=>t.Source = request.Source);
return reserveds;
}
......
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