This commit is contained in:
wucongxing8150 2025-07-30 10:34:42 +08:00
parent 6e076f2a37
commit 1401671c28

View File

@ -283,7 +283,6 @@ public class UserService {
// 发放积分
public boolean ReportUserScore(Integer type,String userId) throws BusinessException{
try {
// 获取积分发放记录
// 获取今天的日期并设置时间为 00:00:00
LocalDateTime startOfToday = LocalDate.now().atStartOfDay(); // 例如2025-07-30 00:00:00
@ -315,9 +314,7 @@ public class UserService {
data.setType(type);
data.setScoreType(5);
caseClinicalRecordScoreDao.insert(data);
} catch (Exception e) {
// 不处理
}
return true;