This commit is contained in:
wucongxing8150 2025-07-30 10:30:44 +08:00
parent 3e4642d937
commit 6e076f2a37

View File

@ -283,6 +283,7 @@ 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
@ -314,6 +315,10 @@ public class UserService {
data.setType(type);
data.setScoreType(5);
caseClinicalRecordScoreDao.insert(data);
} catch (Exception e) {
// 不处理
}
return true;
}