采购配置相关

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent cdd8e45057
commit 8d67827bc2

@ -1,18 +1,5 @@
package com.ms.api.service.impl;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
@ -26,90 +13,28 @@ import com.doudian.open.api.order_BatchSearchIndex.param.OrderBatchSearchIndexPa
import com.doudian.open.api.order_BatchSearchIndex.param.PlainTextListItem;
import com.ms.api.common.ApiResult;
import com.ms.api.common.Pager;
import com.ms.api.consts.AfterSaleConst;
import com.ms.api.consts.DsOrderConst;
import com.ms.api.consts.OrderChildTagConst;
import com.ms.api.consts.OrderConst;
import com.ms.api.consts.PurchaseOrderConst;
import com.ms.api.consts.RedisKeyConst;
import com.ms.api.consts.StatusConst;
import com.ms.api.consts.TblConst;
import com.ms.api.dto.order.AllowAutoPurchaseProductDTO;
import com.ms.api.dto.order.DsPurchaseSettingDTO;
import com.ms.api.dto.order.FilterAutoPurchaseProductDTO;
import com.ms.api.dto.order.PurchaseSettingDTO;
import com.ms.api.dto.order.SearchDsOrderFilterDTO;
import com.ms.api.service.AfterSaleService;
import com.ms.api.service.OpLogisticsPlatformService;
import com.ms.api.service.OpOrderAddressHistoryService;
import com.ms.api.service.OpOrderAmountDetailService;
import com.ms.api.service.OpOrderChildLogisticsService;
import com.ms.api.service.OpOrderDsService;
import com.ms.api.service.OpOrderEncryptIndexService;
import com.ms.api.service.OpOrderGivenProductService;
import com.ms.api.service.OpOrderOutstorageHistoryService;
import com.ms.api.service.OpOrderPhaseService;
import com.ms.api.service.OpOrderPriceProtectionService;
import com.ms.api.service.OpOrderRedpackInfoService;
import com.ms.api.service.OrderPrintService;
import com.ms.api.service.ProductToDsItemService;
import com.ms.api.service.PurchaseOrderService;
import com.ms.api.service.PurchaseSettingService;
import com.ms.api.service.ShopService;
import com.ms.api.tool.CommonTool;
import com.ms.api.tool.DsOrderTool;
import com.ms.api.tool.OrderPrintTool;
import com.ms.api.tool.OrderTool;
import com.ms.api.tool.PurchaseTool;
import com.ms.api.consts.*;
import com.ms.api.dto.order.*;
import com.ms.api.service.*;
import com.ms.api.tool.*;
import com.ms.api.util.DdRequestUtil;
import com.ms.api.util.WebUtil;
import com.ms.dal.bo.OpLogisticsPlatformBO;
import com.ms.dal.bo.OpOrderAddressHistoryBO;
import com.ms.dal.bo.OpOrderChildBO;
import com.ms.dal.bo.PurchaseOrderBO;
import com.ms.dal.entity.AfterSale;
import com.ms.dal.entity.DsAllowAutoPurchaseProduct;
import com.ms.dal.entity.DsAutoPurchaseLog;
import com.ms.dal.entity.DsFilterAutoPurchaseProduct;
import com.ms.dal.entity.DsPurchaseSetting;
import com.ms.dal.entity.OpOrder;
import com.ms.dal.entity.OpOrderAmountDetail;
import com.ms.dal.entity.OpOrderChildLogistics;
import com.ms.dal.entity.OpOrderEncryptIndex;
import com.ms.dal.entity.OpOrderExt;
import com.ms.dal.entity.OpOrderGivenProduct;
import com.ms.dal.entity.OpOrderOutstorageHistory;
import com.ms.dal.entity.OpOrderPhase;
import com.ms.dal.entity.OpOrderPriceProtection;
import com.ms.dal.entity.OpOrderRedpackInfo;
import com.ms.dal.entity.OpOrderSensitive;
import com.ms.dal.entity.ProductToDsItem;
import com.ms.dal.entity.PurchaseOrder;
import com.ms.dal.entity.PurchaseOrderItem;
import com.ms.dal.entity.PurchaseOrderSetting;
import com.ms.dal.entity.PurchaseSetting;
import com.ms.dal.entity.PurchaseSettingLog;
import com.ms.dal.entity.Shop;
import com.ms.dal.entity.ShopTo1688DsMember;
import com.ms.dal.mapper.DsAllowAutoPurchaseProductMapper;
import com.ms.dal.mapper.DsAutoPurchaseLogMapper;
import com.ms.dal.mapper.DsFilterAutoPurchaseProductMapper;
import com.ms.dal.mapper.DsPurchaseSettingMapper;
import com.ms.dal.mapper.OpOrderChildMapper;
import com.ms.dal.mapper.OpOrderEncryptIndexMapper;
import com.ms.dal.mapper.OpOrderMapper;
import com.ms.dal.mapper.PurchaseOrderItemMapper;
import com.ms.dal.mapper.PurchaseOrderMapper;
import com.ms.dal.mapper.PurchaseOrderSettingMapper;
import com.ms.dal.mapper.PurchaseSettingLogMapper;
import com.ms.dal.mapper.PurchaseSettingMapper;
import com.ms.dal.mapper.ShopTo1688DsMemberMapper;
import com.ms.dal.entity.*;
import com.ms.dal.mapper.*;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.math.BigDecimal;
import java.util.*;
import java.util.stream.Collectors;
/**
*
*/

Loading…
Cancel
Save