From 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4 Mon Sep 17 00:00:00 2001 From: whycrzg <ruanzhigang@whycst.com> Date: 星期二, 23 二月 2021 17:19:23 +0800 Subject: [PATCH] update --- src/main/java/com/fgkj/controller/Fbsdev_Statechange_infController.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/fgkj/controller/Fbsdev_Statechange_infController.java b/src/main/java/com/fgkj/controller/Fbsdev_Statechange_infController.java index b62594c..1755f86 100644 --- a/src/main/java/com/fgkj/controller/Fbsdev_Statechange_infController.java +++ b/src/main/java/com/fgkj/controller/Fbsdev_Statechange_infController.java @@ -1,27 +1,29 @@ package com.fgkj.controller; -import com.fgkj.util.*; - import com.fgkj.dto.Fbsdev_Statechange_inf; import com.fgkj.dto.ServiceModel; import com.fgkj.services.Fbsdev_Statechange_infService; import io.swagger.annotations.Api; -import org.springframework.beans.factory.annotation.Autowired; +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; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; + @RequestMapping("fbsDevStateChangeInf") @RestController -@Api +@Api(tags = "fbsDevStateChangeInf鎺ュ彛") +//Perry TODO public class Fbsdev_Statechange_infController{ - @Autowired + @Resource private Fbsdev_Statechange_infService service; //鏍规嵁璁惧id锛屾椂闂寸瓑鏉′欢绛涢�夎澶� @GetMapping("byCondition") + @ApiOperation(notes = "",value="鏍规嵁璁惧id锛屾椂闂寸瓑鏉′欢绛涢�夎澶�") public ServiceModel serchByCondition(@RequestBody Fbsdev_Statechange_inf state_inf){ // Fbsdev_Statechange_inf state_inf=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Fbsdev_Statechange_inf.class); ServiceModel model=service.serchByCondition(state_inf); -- Gitblit v1.9.1