Commit 47c08e8e by 向延琳

设置默认响应状态

1 parent 7fdeeb9f
...@@ -144,4 +144,18 @@ public final class Constants { ...@@ -144,4 +144,18 @@ public final class Constants {
public static final String EMPTY_CONTENT_EXCEL = "--"; public static final String EMPTY_CONTENT_EXCEL = "--";
//--------------- 调频响应状态----------------
/**
* 响应状态已响应
*/
public static final int STATUS_RESPONSE = 2;
/**
* 发送中
*/
public static final int STATUS_RESPONSE_SENDING = 1;
} }
...@@ -1792,6 +1792,7 @@ public class VehicleService extends AbstractCommonService { ...@@ -1792,6 +1792,7 @@ public class VehicleService extends AbstractCommonService {
//设置操作渠道 4 新E盾系统 //设置操作渠道 4 新E盾系统
df.setChannel(4); df.setChannel(4);
df.setDuration(Optional.ofNullable(model.getDuration()).orElse(-1)); df.setDuration(Optional.ofNullable(model.getDuration()).orElse(-1));
df.setResponseStatus(Constants.STATUS_RESPONSE_SENDING);
deviceFreqMapper.insert(df); deviceFreqMapper.insert(df);
String url = PropertiesUtils.getProperty("bsj.adjFreq.location"); String url = PropertiesUtils.getProperty("bsj.adjFreq.location");
Map<String, String> params = new HashMap<>(); Map<String, String> params = new HashMap<>();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!