| | |
| | | package com.fgkj.controller; |
| | | |
| | | import com.fgkj.util.*; |
| | | |
| | | import com.fgkj.dto.BattInf; |
| | | import com.fgkj.dto.Batt_Maint_Dealarm; |
| | | import com.fgkj.dto.Batttestdata_inf; |
| | |
| | | import com.fgkj.services.Batttestdata_infService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.text.ParseException; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.text.ParseException; |
| | | |
| | | @RequestMapping("battTestDataInf") |
| | | @RestController |
| | | @Api(tags = "battTestDataInf接口") |
| | | //Perry TODO |
| | | public class Batttestdata_infController{ |
| | | |
| | | ServiceModel model = new ServiceModel(); |
| | |
| | | /* 根据电池组id查询电池组的inf表中的放电信息 <!------ 跨域访问 ---------> |
| | | */ |
| | | @GetMapping("battTestInfDataById_ky") |
| | | @ApiOperation(notes = "跨域访问",value="根据电池组id查询电池组的inf表中的放电信息") |
| | | @ApiOperation(tags = "跨域", notes = "",value="根据电池组id查询电池组的inf表中的放电信息 跨域专用") |
| | | public ServiceModel searchBattTestInfDataById_ky(@RequestBody Batttestdata_inf bti){ |
| | | // Batttestdata_inf bti = ActionUtil.getGson().fromJson(json, Batttestdata_inf.class); |
| | | model=service.serchByCondition_ky(bti); |