Commit 9c146672 by 向延琳

关闭调频设置新增字段默认值

1 parent 93f6a4a2
......@@ -207,4 +207,15 @@ public final class Constants {
* 失效状态
*/
public static final int STATUS_ENABLE = 0;
/**
* 发送中
*/
public static final int STATUS_RESPONSE_SENDING = 1;
/**
* 永久有效
*/
public static final int FREQ_DURATION_PERMANENT = -1;
}
......@@ -92,6 +92,8 @@ public class DeviceFreqService {
deviceFreq.setUpdatedDate(new Date());
//设置操作渠道 4 新E盾系统 5 小程序
deviceFreq.setChannel(4);
deviceFreq.setDuration(Constants.FREQ_DURATION_PERMANENT);
deviceFreq.setResponseStatus(Constants.STATUS_RESPONSE_SENDING);
deviceFreqMapper.insert(deviceFreq);
// 向大数据侧发送调频请求
sendRequest(resetAdjFreqBO.getSn(), value);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!