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 getInfo() { QueryWrapper wrapper=new QueryWrapper(); wrapper.orderByAsc("num"); return mapper.selectList(wrapper); } }