6666
This commit is contained in:
parent
3e4642d937
commit
6e076f2a37
@ -283,6 +283,7 @@ public class UserService {
|
|||||||
|
|
||||||
// 发放积分
|
// 发放积分
|
||||||
public boolean ReportUserScore(Integer type,String userId) throws BusinessException{
|
public boolean ReportUserScore(Integer type,String userId) throws BusinessException{
|
||||||
|
try {
|
||||||
// 获取积分发放记录
|
// 获取积分发放记录
|
||||||
// 获取今天的日期,并设置时间为 00:00:00
|
// 获取今天的日期,并设置时间为 00:00:00
|
||||||
LocalDateTime startOfToday = LocalDate.now().atStartOfDay(); // 例如:2025-07-30 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.setType(type);
|
||||||
data.setScoreType(5);
|
data.setScoreType(5);
|
||||||
caseClinicalRecordScoreDao.insert(data);
|
caseClinicalRecordScoreDao.insert(data);
|
||||||
|
} catch (Exception e) {
|
||||||
|
// 不处理
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user