zqy
2024-06-23 a69aafe60ce001834b981778f12fd74d4af77e23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.ruoyi.service.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.domain.ZRotation;
import com.ruoyi.mapper.ZRotationMapper;
import com.ruoyi.service.ZRotationService;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * @Author Jinquan_Ou
 * @Description
 * @Date 2023-07-15 0:19
 * @Version 1.0.0
 **/
@Service
public class ZRotationServiceImpl extends ServiceImpl<ZRotationMapper, ZRotation> implements ZRotationService {
    @Override
    public List<ZRotation> getByUserId(Long userId) {
        LambdaQueryWrapper<ZRotation> lqw = new LambdaQueryWrapper<>();
        lqw.eq(ZRotation::getUid,userId);
        return list(lqw);
    }
}