|
@@ -12,6 +12,7 @@ import io.swagger.annotations.ApiImplicitParam;
|
|
|
import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
@@ -31,7 +32,7 @@ public class RecommenController {
|
|
|
* 获得当日健康推荐检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/getRecommenmainDay1")
|
|
|
+ @GetMapping("/getRecommenmainDay1")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得当日健康推荐检修风机", notes = "获得当日健康推荐检修风机")
|
|
|
public AjaxResult getRecommenmainDay1() {
|
|
@@ -51,7 +52,7 @@ public class RecommenController {
|
|
|
* 获得3日健康推荐检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/getRecommenmainDay3")
|
|
|
+ @GetMapping("/getRecommenmainDay3")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得3日健康推荐检修风机", notes = "获得3日健康推荐检修风机")
|
|
|
public AjaxResult getRecommenmainDay3() {
|
|
@@ -71,7 +72,7 @@ public class RecommenController {
|
|
|
* 获得7日健康推荐检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/getRecommenmainDay7")
|
|
|
+ @GetMapping("/getRecommenmainDay7")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得7日健康推荐检修风机", notes = "获得7日健康推荐检修风机")
|
|
|
public AjaxResult getRecommenmainDay7() {
|
|
@@ -91,7 +92,7 @@ public class RecommenController {
|
|
|
* 确认推荐检修风机,并添加记录到生产系统
|
|
|
* @param rid
|
|
|
*/
|
|
|
- @PostMapping("/confirpush")
|
|
|
+ @GetMapping("/confirpush")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "确认推荐检修风机,并添加记录到生产系统", notes = "确认推荐检修风机,并添加记录到生产系统")
|
|
|
@ApiImplicitParams({
|
|
@@ -113,7 +114,7 @@ public class RecommenController {
|
|
|
* 全部确认不同时间段的推荐检修风机
|
|
|
* @param typeid 1代表全部确认当日推荐 2 代表全部确认三天推荐 3 代表全部确认未来七天推荐
|
|
|
*/
|
|
|
- @PostMapping("/confirpushAll")
|
|
|
+ @GetMapping("/confirpushAll")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "全部确认不同时间段的推荐检修风机", notes = "全部确认不同时间段的推荐检修风机")
|
|
|
@ApiImplicitParams({
|
|
@@ -168,7 +169,7 @@ public class RecommenController {
|
|
|
* 取消推荐检修风机
|
|
|
* @param rid
|
|
|
*/
|
|
|
- @PostMapping("/ignorepush")
|
|
|
+ @GetMapping("/ignorepush")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "取消推荐检修风机", notes = "取消推荐检修风机")
|
|
|
@ApiImplicitParams({
|
|
@@ -190,7 +191,7 @@ public class RecommenController {
|
|
|
* 全部取消不同时间段的推荐检修风机
|
|
|
* @param typeid 1代表全部取消当日推荐 2 代表全部取消三天推荐 3 代表全部取消未来七天推荐
|
|
|
*/
|
|
|
- @PostMapping("/ignorepushAll")
|
|
|
+ @GetMapping("/ignorepushAll")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "全部取消不同时间段的推荐检修风机", notes = "全部取消不同时间段的推荐检修风机")
|
|
|
@ApiImplicitParams({
|
|
@@ -246,7 +247,7 @@ public class RecommenController {
|
|
|
* 获得已经确认检修风机
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/recommenConfirmedList")
|
|
|
+ @GetMapping("/recommenConfirmedList")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得已经确认检修风机", notes = "获得已经确认检修风机")
|
|
|
|
|
@@ -276,7 +277,7 @@ public class RecommenController {
|
|
|
* map.put("datechart", datechart);//日期
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @PostMapping("/findAllChartjz")
|
|
|
+ @GetMapping("/findAllChartjz")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得健康状态预测", notes = "获得健康状态预测")
|
|
|
@ApiImplicitParams({
|
|
@@ -306,7 +307,7 @@ public class RecommenController {
|
|
|
* @param rid
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/findMainTrack")
|
|
|
+ @GetMapping("/findMainTrack")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "通过消缺单获得详细信息", notes = "通过消缺单获得详细信息")
|
|
|
@ApiImplicitParams({
|
|
@@ -330,7 +331,7 @@ public class RecommenController {
|
|
|
* 获得未完成消缺单列表
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/unfinishedList")
|
|
|
+ @GetMapping("/unfinishedList")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得未完成消缺单列表", notes = "获得未完成消缺单列表")
|
|
|
@ApiImplicitParams({
|
|
@@ -360,7 +361,7 @@ public class RecommenController {
|
|
|
* 获得完成消缺单列表
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/finishedList")
|
|
|
+ @GetMapping("/finishedList")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得完成消缺单列表", notes = "获得完成消缺单列表")
|
|
|
@ApiImplicitParams({
|
|
@@ -396,7 +397,7 @@ public class RecommenController {
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- @PostMapping("/findShbraceletList")
|
|
|
+ @GetMapping("/findShbraceletList")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "通过用户姓名和开始检修时间和结束检修时间获取手环实时和历史数据", notes = "通过用户姓名和开始检修时间和结束检修时间获取手环实时和历史数据")
|
|
|
@ApiImplicitParams({
|
|
@@ -427,7 +428,7 @@ public class RecommenController {
|
|
|
* 获取部件结构树
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/findLocationTreeByWtId")
|
|
|
+ @GetMapping("/findLocationTreeByWtId")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获取部件结构树", notes = "获取部件结构树")
|
|
|
@ApiImplicitParams({
|
|
@@ -452,7 +453,7 @@ public class RecommenController {
|
|
|
* 通过位置编号获得缺陷单信息
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/findWobugeqByLocation")
|
|
|
+ @GetMapping("/findWobugeqByLocation")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "通过位置编号获得缺陷单信息", notes = "通过位置编号获得缺陷单信息")
|
|
|
@ApiImplicitParams({
|
|
@@ -492,7 +493,7 @@ public class RecommenController {
|
|
|
* 获得对应风机的1个月健康推荐检修记录
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/getRecommenmainMonth")
|
|
|
+ @GetMapping("/getRecommenmainMonth")
|
|
|
@ResponseBody
|
|
|
@ApiOperation(value = "获得对应风机的1个月健康推荐检修记录", notes = "获得对应风机的1个月健康推荐检修记录")
|
|
|
@ApiImplicitParams({
|