| | |
| | | /// 财务报销控制器 |
| | | /// </summary> |
| | | [Authorize] |
| | | [ApiDescriptionSettings("CYOA")] |
| | | public class CyOSBaoXiaoCaiWuController: IDynamicApiController |
| | | { |
| | | private static readonly SemaphoreSlim _semaphore = new SemaphoreSlim(1); |
| | |
| | | } |
| | | |
| | | Expression<Func<OaWorkPlan, bool>> SearchList = (x) => true; |
| | | |
| | | SearchList = SearchList.And(x => x.ApprovalStatus != PlanStatusType.Uncommitted); |
| | | //川印工作单 |
| | | SearchList = SearchList.And(x => x.MemberId == _OAServices.firmId); |
| | | SearchList = SearchList.And(x => x.PlanType == 3); |
| | |
| | | try |
| | | { |
| | | data.EvaluationStatus = BaoxiaoStausType.Reimbursed; |
| | | data.PlanContent = plan.PlanContent; |
| | | //data.PlanContent = plan.PlanContent; |
| | | data.LastUpdateTime = DateTime.Now; |
| | | await _SugarClient.Updateable(data).ExecuteCommandAsync(); |
| | | |