whycrzh
2021-01-28 c8332186836b3dfe1fbd32d7bec7cd29a57e1888
src/main/java/com/fgkj/controller/BadBatt_monController.java
@@ -6,6 +6,7 @@
import com.fgkj.services.BadBatt_monService;
import com.fgkj.util.ActionUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -15,7 +16,7 @@
@RequestMapping("badBattMon")
@RestController
@Api
@Api(tags = "badBattMon接口")
public class BadBatt_monController{
   @Resource
@@ -24,6 +25,7 @@
   
   //查询落后单体总数
   @GetMapping("nums")
   @ApiOperation(notes = "",value="查询落后单体总数")
   public ServiceModel searchNums() {
       User_inf userInf=(User_inf) ActionUtil.getUser();
//      User_inf userInf=new User_inf();
@@ -35,6 +37,7 @@
   
   //落后单体查询:根据条件查询落后单体
   @GetMapping("byInfo")
   @ApiOperation(notes = "",value="落后单体查询:根据条件查询落后单体")
   public ServiceModel serchByInfo(@RequestBody Batt_Maint_Dealarm bmd) {
      // Batt_Maint_Dealarm bmd = getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Batt_Maint_Dealarm.class);
       User_inf uinf=(User_inf) ActionUtil.getUser();