public string AddOutApply(T_HR_OUTAPPLYRECORD entOTRd) { using (OutApplyBLL bllOverTimeRecord = new OutApplyBLL()) { if (entOTRd.STARTDATE <= DateTime.Now) { string str = "外出申请的开始时间:必须大于当前时间"; Tracer.Debug(str); return str; } return bllOverTimeRecord.AddOutApply(entOTRd); } }
public string AddOutApply(T_HR_OUTAPPLYRECORD entOTRd) { using (OutApplyBLL bllOverTimeRecord = new OutApplyBLL()) { if (entOTRd.STARTDATE <= DateTime.Now) { string str = "外出申请的开始时间:必须大于当前时间"; Tracer.Debug(str); return(str); } return(bllOverTimeRecord.AddOutApply(entOTRd)); } }