| | |
| | | const string IsSchoolID = "IsShoodsID:"; |
| | | const string IsSchoolMangerID = "IsSchoolManger:"; |
| | | const string IsDeliverManageKey = "IsDeliverManageKey:"; |
| | | private readonly ISqlSugarClient _CyDbClient; |
| | | private readonly IUnitOfWork _UnitOfWork; |
| | | private readonly ISqlSugarClient _CyDbClient; |
| | | private readonly IHttpContextUser _User; |
| | | private readonly ICoreCmsUserServices _coreCmsUserServices; |
| | | private readonly IRedisOperationRepository _redisOperationRepository; |
| | |
| | | IRedisOperationRepository redisOperationRepository, ICoreCmsUserServices coreCmsUser) |
| | | { |
| | | |
| | | _UnitOfWork = unitOfWork; |
| | | |
| | | _CyDbClient = unitOfWork.GetDbClient().GetConnection(AppSettingsConstVars.CYDbDbID); |
| | | _User = contextUser; |
| | | _coreCmsUserServices = coreCmsUserServices; |
| | |
| | | sheng = "", |
| | | shi = "", |
| | | quxian = "", |
| | | CreatTime = "", |
| | | |
| | | |
| | | }); |
| | |
| | | where = where.And(n => n.pianqu.Contains(obj.pianqu)); |
| | | |
| | | |
| | | } |
| | | if (!string.IsNullOrEmpty(obj.CreatTime)) |
| | | { |
| | | var date = obj.CreatTime.ParseDateTimeRange(); |
| | | if (date.StartDate != null && date.EndDate != null) |
| | | { |
| | | |
| | | where = where.And(n => n.createTime > date.StartDate && n.createTime < date.EndDate); |
| | | } |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(obj.shipAddress)) |
| | |
| | | shi = "", |
| | | quxian = "", |
| | | DeliveryMoble="", |
| | | CreatTime = "", |
| | | |
| | | |
| | | |
| | | }); |
| | |
| | | { |
| | | |
| | | where = where.And(n => n.deliverOrder.MakeTime > date.StartDate && n.deliverOrder.MakeTime < date.EndDate); |
| | | } |
| | | } |
| | | if (!string.IsNullOrEmpty(obj.CreatTime)) |
| | | { |
| | | var date = obj.CreatTime.ParseDateTimeRange(); |
| | | if (date.StartDate != null && date.EndDate != null) |
| | | { |
| | | |
| | | where = where.And(n => n.createTime > date.StartDate && n.createTime < date.EndDate); |
| | | } |
| | | } |
| | | |
| | |
| | | shipAddress = "", |
| | | shi = "", |
| | | quxian = "", |
| | | DeliverState = "" |
| | | |
| | | DeliverState = "", |
| | | CreatTime="" |
| | | |
| | | |
| | | }); |
| | |
| | | |
| | | |
| | | } |
| | | if (!string.IsNullOrEmpty(obj.CreatTime)) |
| | | { |
| | | var date = obj.CreatTime.ParseDateTimeRange(); |
| | | if (date.StartDate != null && date.EndDate != null) |
| | | { |
| | | |
| | | where = where.And(n => n.createTime > date.StartDate && n.createTime < date.EndDate); |
| | | } |
| | | } |
| | | |
| | | } |
| | | where = where.And(n => n.isdelete == false); |