|
|
|
@ -93,7 +93,7 @@ public class TankShellDeviceInfoServiceImpl implements ITankShellDeviceInfoServi
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String getDeviceParameterValue() {
|
|
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
|
|
/*Calendar calendar = Calendar.getInstance();
|
|
|
|
|
calendar.setTime(new Date());
|
|
|
|
|
calendar.add(Calendar.MINUTE,-1);
|
|
|
|
|
QueryWrapper<TankShellDevicePrameterValue> wrapper = new QueryWrapper<TankShellDevicePrameterValue>();
|
|
|
|
@ -102,7 +102,8 @@ public class TankShellDeviceInfoServiceImpl implements ITankShellDeviceInfoServi
|
|
|
|
|
.and(x->
|
|
|
|
|
x.like("prameterName","伺服").or().like("prameterName","伺服")
|
|
|
|
|
);
|
|
|
|
|
List<TankShellDevicePrameterValue> tankShellDevicePrameterValues = tankShellDevicePrameterValueMapper.selectList(wrapper);
|
|
|
|
|
List<TankShellDevicePrameterValue> tankShellDevicePrameterValues = tankShellDevicePrameterValueMapper.selectList(wrapper);*/
|
|
|
|
|
List<TankShellDevicePrameterValue> tankShellDevicePrameterValues = tankShellDevicePrameterValueMapper.SelectDevicePrameterValues();
|
|
|
|
|
return JSONArray.toJSONString(tankShellDevicePrameterValues);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|