Commit fa6e104147aa8cb2ac3836d193f1361eef5c6e8e

Authored by 杨鸣坤
1 parent e3900c66

楚江ERP:审批完成,去除缓存

... ... @@ -366,8 +366,11 @@ public class ContractDistributorStandardServiceImpl extends
366 366 vo.setFormalApproved(formalApproved);
367 367 vo.setFormalTime(LocalDateTime.now());
368 368 vo.setFormalApproved(SecurityUtil.getCurrentUser().getId());
  369 +
369 370 OpLogUtil.setVariable("id", id);
370 371 OpLogUtil.setExtra(vo);
  372 +
  373 + cleanCacheByKey(id);
371 374 }
372 375
373 376 @Override
... ... @@ -394,6 +397,8 @@ public class ContractDistributorStandardServiceImpl extends
394 397
395 398 OpLogUtil.setVariable("id", id);
396 399 OpLogUtil.setExtra(vo);
  400 +
  401 + cleanCacheByKey(id);
397 402 }
398 403
399 404 @Override
... ...