Commit aea7634d authored by 赵啸非's avatar 赵啸非

添加接口同步效能记录

parent 1ef2f387
...@@ -163,7 +163,7 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf ...@@ -163,7 +163,7 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
effectRecordQuery.setWindowNum(effectSaveReq.getWindowNum()); effectRecordQuery.setWindowNum(effectSaveReq.getWindowNum());
effectRecordQuery.setRuleId(rule.getId()); effectRecordQuery.setRuleId(rule.getId());
PerformEffectRecordEntity performEffectRecordEntity = this.selectOne(effectRecordQuery, context); PerformEffectRecordEntity performEffectRecordEntity = this.selectOne(effectRecordQuery, context);
if (ObjectUtils.isEmpty(performEffectRecordEntity)) { if (!ObjectUtils.isEmpty(performEffectRecordEntity)) {
performEffectRecordEntity.setRemark(effectSaveReq.getExt()); performEffectRecordEntity.setRemark(effectSaveReq.getExt());
performEffectRecordEntity.setUpdateTime(new Date()); performEffectRecordEntity.setUpdateTime(new Date());
this.update(performEffectRecordEntity, context); this.update(performEffectRecordEntity, context);
......
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