jiangqs
2023-05-03 00f3a60a31dd5f6bcc4a02f03beb15d91cd4b6f8
ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopServiceImpl.java
@@ -51,8 +51,8 @@
    @Resource
    private ShopCertificateService shopCertificateService;
    @Resource
    private RemoteConfigService configService;
    /*@Resource
    private RemoteConfigService configService;*/
    @Resource
    private RemoteUserService sysUserService;
@@ -138,12 +138,12 @@
            for(String str : shopTagIdArray){
                shopRelTag = new ShopRelTag();
                tagid = Long.valueOf(str);
                sysTag = configService.getSysTag(tagid).getData();
                //sysTag = configService.getSysTag(tagid).getData();
                shopRelTag.setDelFlag(0);
                shopRelTag.setShopId(shop.getShopId());
                shopRelTag.setTagId(tagid);
                shopRelTagService.save(shopRelTag);
                shopTagSj.add(sysTag.getTagName());
                //shopTagSj.add(sysTag.getTagName());
            }
            shop.setShopTags(shopTagSj.toString());
            this.saveOrUpdate(shop);
@@ -303,7 +303,7 @@
            StringJoiner shopTagSj = new StringJoiner(",");
            for(String str : shopTagIdArray){
                tagId = Long.valueOf(str);
                sysTag = configService.getSysTag(tagId).getData();
                sysTag = sysUserService.getSysTag(tagId).getData();
                shopRelTag = new ShopRelTag();
                shopRelTag.setDelFlag(0);
                shopRelTag.setShopId(shopId);