| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- 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<PointUserSignLog> 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);
- }
- }
|