提交 0f9726ff 编写于 作者: 1 18356073052

群发消息任务代码重构

上级 6f4aca72
package com.linkwechat.wecom.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linkwechat.common.utils.SecurityUtils;
import com.linkwechat.common.utils.SnowFlakeUtil;
import com.linkwechat.wecom.domain.WeCustomerMessage;
import com.linkwechat.wecom.mapper.WeCustomerMessageMapper;
import com.linkwechat.wecom.service.IWeCustomerMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
......@@ -14,4 +17,12 @@ import org.springframework.stereotype.Service;
*/
@Service
public class WeCustomerMessageServiceImpl extends ServiceImpl<WeCustomerMessageMapper, WeCustomerMessage> implements IWeCustomerMessageService {
@Autowired
private WeCustomerMessageMapper weCustomerMessageMapper;
@Override
public int updateWeCustomerMessageMsgId(WeCustomerMessage customerMessage) {
return weCustomerMessageMapper.updateWeCustomerMessageMsgIdById(customerMessage);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册