| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | @Service |
| | | public class RectifierPowerCtrlService { |
| | |
| | | return new Response<IPage<RectifierPowerControl>>().set(1,rectifierPowerControlIPage); |
| | | } |
| | | |
| | | public Response<List<RectifierPowerControl>> getAll() { |
| | | List<RectifierPowerControl> rectifierPowerControlList = mapper.selectList(null); |
| | | return new Response<List<RectifierPowerControl>>().set(1,rectifierPowerControlList); |
| | | } |
| | | |
| | | public Response<RectifierPowerControl> getInfoByDevId(int devId) { |
| | | QueryWrapper<RectifierPowerControl> query = Wrappers.query(); |
| | | query.eq("dev_id",devId); |