增加打票机测试

This commit is contained in:
panjj 2025-01-10 11:07:52 +08:00
parent 0fd7d8ca8d
commit 5cd4daddb4

View File

@ -100,97 +100,97 @@ import static io.seata.common.util.LambdaUtils.distinctByKey;
@Service @Service
public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseMapper, ShopProductBase> implements ShopProductBaseService { public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseMapper, ShopProductBase> implements ShopProductBaseService {
private final Logger logger = LoggerFactory.getLogger(ShopProductBaseServiceImpl.class); private final Logger logger = LoggerFactory.getLogger(ShopProductBaseServiceImpl.class);
@Autowired @Resource
private ShopBaseProductCategoryService shopBaseProductCategoryService; private ShopBaseProductCategoryService shopBaseProductCategoryService;
@Autowired @Resource
private ShopProductMetaService shopProductMetaService; private ShopProductMetaService shopProductMetaService;
@Autowired @Resource
private ShopProductPreSaleService shopProductPreSaleService; private ShopProductPreSaleService shopProductPreSaleService;
@Autowired @Resource
private ShopProductBaseService shopProductBaseService; private ShopProductBaseService shopProductBaseService;
@Autowired @Resource
private ShopStoreAnalyticsService shopStoreAnalyticsService; private ShopStoreAnalyticsService shopStoreAnalyticsService;
@Autowired @Resource
private ShopProductAnalyticsService shopProductAnalyticsService; private ShopProductAnalyticsService shopProductAnalyticsService;
@Autowired @Resource
private ShopProductDetailService shopProductDetailService; private ShopProductDetailService shopProductDetailService;
@Autowired @Resource
private ShopProductInfoService shopProductInfoService; private ShopProductInfoService shopProductInfoService;
@Autowired @Resource
private ShopProductValidPeriodService shopProductValidPeriodService; private ShopProductValidPeriodService shopProductValidPeriodService;
@Autowired @Resource
private ShopProductItemService shopProductItemService; private ShopProductItemService shopProductItemService;
@Autowired @Resource
private AccountBaseConfigService accountBaseConfigService; private AccountBaseConfigService accountBaseConfigService;
@Autowired @Resource
private ShopBaseCurrencyService shopBaseCurrencyService; private ShopBaseCurrencyService shopBaseCurrencyService;
@Autowired @Resource
private ShopUserCartService shopUserCartService; private ShopUserCartService shopUserCartService;
@Autowired @Resource
private ShopStoreTransportTypeService transportTypeService; private ShopStoreTransportTypeService transportTypeService;
@Autowired @Resource
private ShopBaseProductCategoryService productCategoryService; private ShopBaseProductCategoryService productCategoryService;
@Autowired @Resource
private ShopProductIndexService shopProductIndexService; private ShopProductIndexService shopProductIndexService;
@Autowired @Resource
private ShopProductImageService shopProductImageService; private ShopProductImageService shopProductImageService;
@Autowired @Resource
private ShopStoreBaseService shopStoreBaseService; private ShopStoreBaseService shopStoreBaseService;
@Autowired @Resource
private ShopBaseProductSpecService baseProductSpecService; private ShopBaseProductSpecService baseProductSpecService;
@Autowired @Resource
private ShopBaseStoreGradeService baseStoreGradeService; private ShopBaseStoreGradeService baseStoreGradeService;
@Autowired @Resource
private ShopProductAssistIndexService assistIndexService; private ShopProductAssistIndexService assistIndexService;
@Autowired @Resource
private ShopProductDataService shopProductDataService; private ShopProductDataService shopProductDataService;
@Autowired @Resource
private ShopProductItemSeqService shopProductItemSeqService; private ShopProductItemSeqService shopProductItemSeqService;
@Autowired @Resource
private ShopProductValidPeriodService validPeriodService; private ShopProductValidPeriodService validPeriodService;
@Autowired @Resource
private ShopUserSearchHistoryService shopUserSearchHistoryService; private ShopUserSearchHistoryService shopUserSearchHistoryService;
@Autowired @Resource
private ShopBaseStateCodeService shopBaseStateCodeService; private ShopBaseStateCodeService shopBaseStateCodeService;
@Autowired @Resource
private ShopProductBaseMapper shopProductBaseMapper; private ShopProductBaseMapper shopProductBaseMapper;
@Autowired @Resource
private ShopStoreActivityBaseService shopStoreActivityBaseService; private ShopStoreActivityBaseService shopStoreActivityBaseService;
@Autowired @Resource
private ShopStoreActivityItemService shopStoreActivityItemService; private ShopStoreActivityItemService shopStoreActivityItemService;
@Autowired @Resource
private ShopActivityGroupbookingService shopActivityGroupbookingService; private ShopActivityGroupbookingService shopActivityGroupbookingService;
@Autowired @Resource
private ShopBaseProductTypeService shopBaseProductTypeService; private ShopBaseProductTypeService shopBaseProductTypeService;
@Autowired @Resource
private ShopNumberSeqService shopNumberSeqService; private ShopNumberSeqService shopNumberSeqService;
@Autowired @Resource
private EduService eduService; private EduService eduService;
@Autowired @Resource
private ShopBaseDistrictService shopBaseDistrictService; private ShopBaseDistrictService shopBaseDistrictService;
@Autowired @Resource
private ShopBaseContractTypeService shopBaseContractTypeService; private ShopBaseContractTypeService shopBaseContractTypeService;
@Autowired @Resource
private ShopBaseMarketCategoryService shopBaseMarketCategoryService; private ShopBaseMarketCategoryService shopBaseMarketCategoryService;
@Autowired @Resource
private MessageService messageService; private MessageService messageService;
@Autowired @Resource
private ShopOrderItemService shopOrderItemService; private ShopOrderItemService shopOrderItemService;
@Autowired @Resource
private SearchService searchService; private SearchService searchService;
@Autowired @Resource
private ShopChainItemService shopChainItemService; private ShopChainItemService shopChainItemService;
@Autowired @Resource
private ShopUserProductBrowseService shopUserProductBrowseService; private ShopUserProductBrowseService shopUserProductBrowseService;
@Autowired @Resource
private ShopUserProductBuyService shopUserProductBuyService; private ShopUserProductBuyService shopUserProductBuyService;
@Autowired @Resource
private ShopUserFavoritesItemService shopUserFavoritesItemService; private ShopUserFavoritesItemService shopUserFavoritesItemService;
@Autowired @Resource
private MqMessageService mqMessageService; private MqMessageService mqMessageService;
@Autowired @Resource
private ThreadPoolExecutor executor; private ThreadPoolExecutor executor;
@Autowired @Resource
private ShopBaseLangMetaService shopBaseLangMetaService; private ShopBaseLangMetaService shopBaseLangMetaService;
@Resource @Resource
private SxSyncGoodsService sxSyncGoodsService; private SxSyncGoodsService sxSyncGoodsService;
@ -808,7 +808,6 @@ public class ShopProductBaseServiceImpl extends BaseServiceImpl<ShopProductBaseM
return Pair.of(false, I18nUtil._("保存 productBase 商品信息出错!")); return Pair.of(false, I18nUtil._("保存 productBase 商品信息出错!"));
} }
// 商品辅助属性 // 商品辅助属性
List<String> assistItemList = new ArrayList<>(); List<String> assistItemList = new ArrayList<>();
if (CollUtil.isNotEmpty(shopProductAssistIndexList)) { if (CollUtil.isNotEmpty(shopProductAssistIndexList)) {