Bladeren bron

fix: 置空创建和更新时间

shc 3 jaren geleden
bovenliggende
commit
f194960395

+ 2 - 0
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/controller/WmScorePackageController.java

@@ -3387,6 +3387,8 @@ public class WmScorePackageController {
 		// 缓存记录key
 		String key = String.format(CacheConstants.BATCH_PACKAGE_HISTORY, user.getDeptId(), user.getId());
 		Map<String, Object> history = new HashMap<>(2);
+		scorePackage.setCreateTime(null);
+		scorePackage.setUpdateTime(null);
 		history.put("history", scorePackage);
 		history.put("timestamp", DateTimeFormatter.ofPattern(DatePattern.CHINESE_DATE_TIME_PATTERN).format(LocalDateTime.now()));
 		redisTemplate.opsForValue().set(key, JSONUtil.toJsonStr(history));