From 6293aab5383150da9769353c1c350d9156a9ca55 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期日, 01 九月 2024 14:00:05 +0800
Subject: [PATCH] 考核积分排序
---
ycl-server/src/main/java/com/ycl/platform/service/impl/ReportServiceImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ycl-server/src/main/java/com/ycl/platform/service/impl/ReportServiceImpl.java b/ycl-server/src/main/java/com/ycl/platform/service/impl/ReportServiceImpl.java
index 37757c2..2ccf8e2 100644
--- a/ycl-server/src/main/java/com/ycl/platform/service/impl/ReportServiceImpl.java
+++ b/ycl-server/src/main/java/com/ycl/platform/service/impl/ReportServiceImpl.java
@@ -69,7 +69,7 @@
entity.setSerialNumber(form.getPointId());
entity.setErrorType(String.join(",", form.getErrorType()));
entity.setStatus(0);
- entity.setIdentify(IdUtils.timeAddRandomNO(3));
+ entity.setIdentify(IdUtils.randomNO());
Date now = new Date();
entity.setCreateTime(now);
entity.setUpdateTime(now);
@@ -108,7 +108,7 @@
entity.setImportBatchNumber(String.valueOf(l));
entity.setSerialNumber(item.getSerialNumber());
entity.setStatus(0);
- entity.setIdentify(IdUtils.timeAddRandomNO(3));
+ entity.setIdentify(IdUtils.randomNO());
entity.setCreateTime(DateUtils.getNowDate());
entity.setUpdateTime(DateUtils.getNowDate());
reports.add(entity);
--
Gitblit v1.8.0