修改店铺信息发送跟新mq
This commit is contained in:
@@ -10,6 +10,7 @@ import com.czg.account.entity.*;
|
|||||||
import com.czg.account.enums.BranchDataSyncMethodEnum;
|
import com.czg.account.enums.BranchDataSyncMethodEnum;
|
||||||
import com.czg.account.enums.ShopTypeEnum;
|
import com.czg.account.enums.ShopTypeEnum;
|
||||||
import com.czg.account.service.*;
|
import com.czg.account.service.*;
|
||||||
|
import com.czg.config.RabbitPublisher;
|
||||||
import com.czg.config.RedisCst;
|
import com.czg.config.RedisCst;
|
||||||
import com.czg.enums.StatusEnum;
|
import com.czg.enums.StatusEnum;
|
||||||
import com.czg.enums.YesNoEnum;
|
import com.czg.enums.YesNoEnum;
|
||||||
@@ -55,6 +56,8 @@ import java.util.stream.Collectors;
|
|||||||
@DubboService
|
@DubboService
|
||||||
@CacheConfig(cacheNames = "shopInfo")
|
@CacheConfig(cacheNames = "shopInfo")
|
||||||
public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> implements ShopInfoService {
|
public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> implements ShopInfoService {
|
||||||
|
@Resource
|
||||||
|
private RabbitPublisher rabbitPublisher;
|
||||||
@Resource
|
@Resource
|
||||||
private SysUserService sysUserService;
|
private SysUserService sysUserService;
|
||||||
@Resource
|
@Resource
|
||||||
@@ -315,6 +318,9 @@ public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> i
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rabbitPublisher.sendOrderDetailStatusMsg(shopInfo.getId().toString());
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user