|
@@ -1,8 +1,8 @@
|
|
|
package com.gyee.gaia.meter.controller;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
-import com.gyee.gaia.meter.entity.Powerstation;
|
|
|
-import com.gyee.gaia.meter.service.impl.PowerstationServiceImpl;
|
|
|
+import com.gyee.gaia.meter.entity.PowerStation;
|
|
|
+import com.gyee.gaia.meter.service.impl.PowerStationServiceImpl;
|
|
|
import org.springframework.web.bind.annotation.CrossOrigin;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -21,13 +21,13 @@ import java.util.List;
|
|
|
public class BaseInfoController {
|
|
|
|
|
|
@Resource
|
|
|
- PowerstationServiceImpl powerstationService;
|
|
|
+ PowerStationServiceImpl powerStationService;
|
|
|
|
|
|
@GetMapping("/powerstation")
|
|
|
public void getBaseInfo(){
|
|
|
- QueryWrapper<Powerstation> wrapper = new QueryWrapper<>();
|
|
|
+ QueryWrapper<PowerStation> wrapper = new QueryWrapper<>();
|
|
|
wrapper.eq("code","MHS_FDC");
|
|
|
- List<Powerstation> list = powerstationService.list(wrapper);
|
|
|
+ List<PowerStation> list = powerStationService.list(wrapper);
|
|
|
System.out.println(list);
|
|
|
|
|
|
}
|