Commit 5d7d1b69 authored by duanruiming's avatar duanruiming

[update] 全红黄闪删除测试程序

parent 00f60b5f
......@@ -65,9 +65,6 @@ public class FeignProxyServiceImpl implements FeignProxyService {
@Override
public JsonViewObject allRedControl(ControlCommandVO commandVO) {
Integer controlType = commandVO.getControlType();
if (true) {
return JsonViewObject.newInstance().success();
}
JsonViewObject jsonViewObject = JsonViewObject.newInstance();
if (1 == controlType) {
jsonViewObject = utcFeignClients.allRedControl(commandVO);
......@@ -87,9 +84,6 @@ public class FeignProxyServiceImpl implements FeignProxyService {
@Override
public JsonViewObject stepControl(StepControlVO stepControlVO) {
if (true) {
return JsonViewObject.newInstance().success();
}
JsonViewObject jsonViewObject = utcFeignClients.stepControl(stepControlVO.getCode(), stepControlVO.getCommand(), stepControlVO.getStepNum());
if (Objects.isNull(jsonViewObject) || jsonViewObject.getCode() != 200) {
return jsonViewObject.fail("步进控制-步进控制/恢复UTC服务调用异常");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment