package com.ylx.point.service.impl; import java.util.List; import com.ylx.common.utils.DateUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ylx.point.mapper.PointUserSignLogMapper; import com.ylx.point.domain.PointUserSignLog; import com.ylx.point.service.IPointUserSignLogService; /** * 用户签到记录Service业务层处理 * * @author wzj * @date 2026-03-25 */ @Service public class PointUserSignLogServiceImpl implements IPointUserSignLogService { @Autowired private PointUserSignLogMapper pointUserSignLogMapper; /** * 查询用户签到记录 * * @param id 用户签到记录主键 * @return 用户签到记录 */ @Override public PointUserSignLog selectPointUserSignLogById(String id) { return pointUserSignLogMapper.selectPointUserSignLogById(id); } /** * 查询用户签到记录列表 * * @param pointUserSignLog 用户签到记录 * @return 用户签到记录 */ @Override public List selectPointUserSignLogList(PointUserSignLog pointUserSignLog) { return pointUserSignLogMapper.selectPointUserSignLogList(pointUserSignLog); } /** * 新增用户签到记录 * * @param pointUserSignLog 用户签到记录 * @return 结果 */ @Override public int insertPointUserSignLog(PointUserSignLog pointUserSignLog) { pointUserSignLog.setCreateTime(DateUtils.getNowDate()); return pointUserSignLogMapper.insertPointUserSignLog(pointUserSignLog); } /** * 修改用户签到记录 * * @param pointUserSignLog 用户签到记录 * @return 结果 */ @Override public int updatePointUserSignLog(PointUserSignLog pointUserSignLog) { return pointUserSignLogMapper.updatePointUserSignLog(pointUserSignLog); } /** * 批量删除用户签到记录 * * @param ids 需要删除的用户签到记录主键 * @return 结果 */ @Override public int deletePointUserSignLogByIds(String[] ids) { return pointUserSignLogMapper.deletePointUserSignLogByIds(ids); } /** * 删除用户签到记录信息 * * @param id 用户签到记录主键 * @return 结果 */ @Override public int deletePointUserSignLogById(String id) { return pointUserSignLogMapper.deletePointUserSignLogById(id); } }