1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| package com.gkhy.fourierSpecialGasMonitor.utils;
|
| import org.springframework.stereotype.Component;
|
| @Component
| public class PositionHandle {
|
| public String positionHandleMethod(Integer position){
|
| StringBuilder result = new StringBuilder();
|
| if (position == 1){
| result.append("点位1");
| }
| if (position == 2){
| result.append("点位2");
| }
| if (position == 3){
| result.append("点位3");
| }
|
| return result.toString();
| }
| }
|
|