Bläddra i källkod

指标功能提交 修改

wangchangsheng 2 år sedan
förälder
incheckning
9607f7ac51

+ 7 - 5
web/backmanagerconfig/src/main/java/com/gyee/backconfig/controller/IndicatorsController.java

@@ -29,19 +29,21 @@ public class IndicatorsController {
     /**
      * 查询
      * @param id
-     * @param name
+     * @param stationid
+     * @param stationname
+     * @param kay
      * @param pageNum
      * @param pageSize
      * @return
      */
     @GetMapping(value = "/List")
     public R findList(@RequestParam(value = "id",required = false) String id,
-                      @RequestParam(value = "name",required = false) String name,
-                      @RequestParam(value = "code",required = false) String code,
-                      @RequestParam(value = "windpowerstationid",required = false) String windpowerstationid,
+                      @RequestParam(value = "stationid",required = false) String stationid,
+                      @RequestParam(value = "stationname",required = false) String stationname,
+                      @RequestParam(value = "kay",required = false) String kay,
                       @RequestParam(value = "pageNum",required = true) String pageNum,
                       @RequestParam(value = "pageSize",required = true) String pageSize){
-        IPage<Indicators> list = iIndicatorsService.getList(id,name,code,windpowerstationid,pageNum,pageSize);
+        IPage<Indicators> list = iIndicatorsService.getList( id,  stationid,  stationname,  kay,  pageNum,  pageSize) ;
         if (null != list){
             return R.ok().data(list);
         }else {

+ 4 - 0
web/backmanagerconfig/src/main/java/com/gyee/backconfig/model/auto/Indicators.java

@@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.extension.activerecord.Model;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
+import java.util.Date;
+
 /**
  * <p>
  * 
@@ -28,5 +30,7 @@ public class Indicators extends Model {
 
     private String value;
 
+    private Date createtime;
+
 
 }