sunpengfei
4 天以前 a17848fca2fd7643951e2342a8985e249ec7b93f
FlexJobApi.FlexJobServer.Application/Tasks/Commands/TaskInfoCommandHandler.cs
@@ -249,6 +249,7 @@
            if (entity.SettlementStatus == null) throw Oops.Oh(EnumErrorCodeType.s510, "未开始结算,请先上传结算单并确认");
            if (entity.SettlementStatus == EnumTaskSettlementStatus.Completed) throw Oops.Oh(EnumErrorCodeType.s510, "已结算");
            entity.SettlementStatus = EnumTaskSettlementStatus.InProcess;
            entity.SettlementOperatorUserId = logier.Id;
            entity.SettlementStartTime = DateTime.Now;
            foreach (var user in entity.TaskInfoUsers)
            {