diff options
| author | maiohao <[email protected]> | 2024-10-28 15:51:48 +0800 |
|---|---|---|
| committer | maiohao <[email protected]> | 2024-10-28 15:51:48 +0800 |
| commit | 47a16db7c3856bcec2bdc9536e55810481215d49 (patch) | |
| tree | d4d13e71813b49154b5706a45499ba60debde106 /src/main/resources/mappers/CommandMapper.xml | |
| parent | e8a8f0907347bb8325a1590093c0cb8a322b9783 (diff) | |
2、指令状态记录,插入时间以查询到流量回传的当前时间为指令状态日志表的effective_time,而不是查到的流量的开始时间。因为后者有可能导致流量开始时间在上一个下发周期导致频繁往上一个下发周期插入。
Diffstat (limited to 'src/main/resources/mappers/CommandMapper.xml')
| -rw-r--r-- | src/main/resources/mappers/CommandMapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/mappers/CommandMapper.xml b/src/main/resources/mappers/CommandMapper.xml index b065915..80c2e89 100644 --- a/src/main/resources/mappers/CommandMapper.xml +++ b/src/main/resources/mappers/CommandMapper.xml @@ -957,7 +957,7 @@ ) select #{log_id}, - #{effective_time}, + NOW(), NULL, TASK_ID, RULE_ID, |
