whyclxw
5 天以前 8c635598000e40edfb3edf5934124ad48d60f62d
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);
    }
}