whyclxw
1 天以前 9e428b3f4a90df003848d28aca5f358c7b6ef969
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.whyc.service;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.whyc.mapper.AlmAnalysisParamMapper;
import com.whyc.mapper.AlmSummaryParamMapper;
import com.whyc.pojo.db_param.AlmSummaryParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
@Service
public class AlmSummaryParamService {
    @Autowired(required = false)
    private AlmSummaryParamMapper mapper;
    //总的属性配置
    public List<AlmSummaryParam> getInfo() {
        QueryWrapper wrapper=new QueryWrapper();
        wrapper.orderByAsc("num");
        return mapper.selectList(wrapper);
    }
}