“djh”
2024-12-04 d1549b8445c65a6775cf1ba093f5040ace0f87e7
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.huataiFourierSpecialGasMonitor.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();
    }
}