| | |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.whyc.constant.BattCapperformanceEnum; |
| | | import com.whyc.constant.PwrCapperformanceEnum; |
| | | import com.whyc.dto.Param.ParamAlmDto; |
| | | import com.whyc.dto.PowerDto; |
| | | import com.whyc.dto.Response; |
| | |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service |
| | | public class PowerInfService { |
| | |
| | | public List<Integer> getPowerIdList(ParamAlmDto dto) { |
| | | return mapper.getPowerIdList(dto); |
| | | } |
| | | //获取电源性能(下拉) |
| | | public Response getPwrCapperformance() { |
| | | Map<Integer,String> map= PwrCapperformanceEnum.getOpInfo(); |
| | | return new Response().setII(1,true,map,"获取电源性能(下拉)"); |
| | | } |
| | | } |