|
@@ -82,7 +82,7 @@ public class TeDataServiceImpl implements TeDataService {
|
82
|
82
|
RestTemplate restTemplate = new RestTemplate();
|
83
|
83
|
ReMsg reMsg1 = restTemplate.postForObject(base_url + "equipmentTestingIsReady", teData, ReMsg.class);
|
84
|
84
|
if (reMsg1 != null) {
|
85
|
|
- if (reMsg1.getCode() == "0") {
|
|
85
|
+ if (reMsg1.getCode().equals("0")) {
|
86
|
86
|
ReMsg reMsg2 = restTemplate.postForObject(base_url + "equipmentTestingStart", teData, ReMsg.class);
|
87
|
87
|
return reMsg2;
|
88
|
88
|
}
|