username@email.com
2024-10-14 571ccea5b3dc11ca107aac9ce88e46e2b2b809c2
cylsg/cylsg.Application/Orders/OrderCompanyAppService.cs
@@ -212,6 +212,7 @@
                order.WorkerType = orderDto.WorkerType;
                order.WorkPrice = orderDto.WorkPrice;
                order.WorkPriceMax = orderDto.WorkPriceMax;
                order.Zixinganpai = orderDto.Zixinganpai;
                order.OrderStatus = 0;
                order.IsEn = true;
                order.UpDataBy = NickName;
@@ -564,6 +565,7 @@
                          WorkPrice = a.WorkPrice,
                          TodaySalary = c.TodaySalary,
                          IsShenPi = c.IsShenPi,
                          ShenPitime = c.ShenPitime,
                          WorkCount = c.WorkCount,
                          WorkerUserId = b.WorkerUserId,
                          WorkerUserName = d.name,
@@ -722,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
            {