xiaochanghai 12 months ago
parent e7e2206345
commit 43f23473e6
  1. 347
      Model/Tiobon.Web.pdm
  2. 2
      Tiobon.Core.Services/Ghra/Ghra_StaffServices.cs

File diff suppressed because it is too large Load Diff

@ -33,7 +33,7 @@ public class Ghra_StaffServices : BaseServices<Ghra_Staff, Ghra_StaffDto, Insert
if (entity != null) if (entity != null)
{ {
var licences = await Db.Ado.SqlQueryAsync<Ghra_StaffLicenceDto>($"SELECT * FROM Ghra_StaffLicence WHERE StaffID='{id}' "); var licences = await Db.Ado.SqlQueryAsync<Ghra_StaffLicenceDto>($"SELECT * FROM Ghra_StaffLicence WHERE StaffID='{id}' AND IsEnable=1");
//var licences = await _ghra_StaffLicenceServices.QueryDto(x => x.StaffID == id); //var licences = await _ghra_StaffLicenceServices.QueryDto(x => x.StaffID == id);
licences.ForEach(x => licences.ForEach(x =>

Loading…
Cancel
Save