class ImTalkExecute implements MemberInfoChangeEvent, StoreSettingChangeEvent {

    @Autowired
    private ImTalkService imTalkService;

    @Override
    public void memberInfoChange(Member member) {
        //当与UserId1相等时
        List<ImTalk> imTalkList1 = imTalkService.list(new LambdaQueryWrapper<ImTalk>().eq(ImTalk::getUserId1, member.getId()));
        for (ImTalk imTalk : imTalkList1) {
            imTalk.setName1(member.getNickName());
            imTalk.setFace1(member.getFace());
        }
        imTalkService.updateBatchById(imTalkList1);
        List<ImTalk> imTalkList2 = imTalkService.list(new LambdaQueryWrapper<ImTalk>().eq(ImTalk::getUserId2, member.getId()));
        for (ImTalk imTalk : imTalkList2) {
            imTalk.setName2(member.getNickName());
            imTalk.setFace2(member.getFace());
        }
        imTalkService.updateBatchById(imTalkList2);
    }

    @Override
    public void storeSettingChange(Store store) {<FILL_FUNCTION_BODY>}
}

        //当与UserId1相等时
        List<ImTalk> imTalkList1 = imTalkService.list(new LambdaQueryWrapper<ImTalk>().eq(ImTalk::getUserId1, store.getId()));
        for (ImTalk imTalk : imTalkList1) {
            imTalk.setName1(store.getStoreName());
            imTalk.setFace1(store.getStoreLogo());
        }
        imTalkService.updateBatchById(imTalkList1);
        List<ImTalk> imTalkList2 = imTalkService.list(new LambdaQueryWrapper<ImTalk>().eq(ImTalk::getUserId2, store.getId()));
        for (ImTalk imTalk : imTalkList2) {
            imTalk.setName2(store.getStoreName());
            imTalk.setFace2(store.getStoreLogo());
        }
        imTalkService.updateBatchById(imTalkList2);
    
<no_super_class>