package com.dy.pipirrWebChat.payment; import com.dy.pipIrrGlobal.daoSe.SeWebchatLogonStateMapper; import com.dy.pipIrrGlobal.pojoSe.SeWebchatLogonState; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * @author ZhuBaoMin * @date 2024-02-22 17:39 * @LastEditTime 2024-02-22 17:39 * @Description */ @Slf4j @Service public class PaymentSv { @Autowired private SeWebchatLogonStateMapper seWebchatLogonStateMapper; /** * 添加登录态状态记录 * @param po * @return */ Long insert(SeWebchatLogonState po) { seWebchatLogonStateMapper.insert(po); return po.getId(); } SeWebchatLogonState selectOne(Long id) { return seWebchatLogonStateMapper.selectByPrimaryKey(id); } }