移动系统liao
2024-10-14 18a4451e5b7bf8f7f6a260796acb24adb3b2ccda
cylsg/cylsg.Application/Orders/OrderCompanyAppService.cs
@@ -565,6 +565,7 @@
                          WorkPrice = a.WorkPrice,
                          TodaySalary = c.TodaySalary,
                          IsShenPi = c.IsShenPi,
                          ShenPitime = c.ShenPitime,
                          WorkCount = c.WorkCount,
                          WorkerUserId = b.WorkerUserId,
                          WorkerUserName = d.name,
@@ -723,6 +724,14 @@
            //{
            //    throw Oops.Oh("该招工状态已无法打卡确认!");
            //}
            if (orderBiddingDetail.IsShenPi.HasValue && orderBiddingDetail.IsShenPi == (int)IsShenPis.yishenpi && orderBiddingDetail.ShenPitime.HasValue && orderBiddingDetail.ShenPitime <= DateTime.Now.AddMinutes(-5))
            {
                throw Oops.Oh("审批时间已经超过5分钟,无法重新审批!");
            }
            var res = false;
            try
            {