66664
This commit is contained in:
parent
6e076f2a37
commit
1401671c28
@ -283,7 +283,6 @@ 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
|
||||||
@ -315,9 +314,7 @@ 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