更新java17,springboot3.3.9,maven3.9.10,

This commit is contained in:
wuchunlei
2025-07-07 09:55:09 +08:00
parent 596922cf83
commit 1fae61bfec
150 changed files with 422 additions and 3697 deletions

View File

@@ -123,7 +123,7 @@ public class AiRecordFolderController {
//删除病例夹
@RequestMapping("/delRecordFolder")
public R delRecordFolder(@RequestBody Map<String,Object> params){
int count = aiRecordFolderChatService.count(new LambdaQueryWrapper<AiRecordFolderChat>()
Long count = aiRecordFolderChatService.count(new LambdaQueryWrapper<AiRecordFolderChat>()
.eq(AiRecordFolderChat::getFolderId,params.get("id").toString()));
if (count > 0){
return R.error("存在患者记录,请清空后删除");

View File

@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.transaction.Transactional;
import jakarta.transaction.Transactional;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

View File

@@ -16,11 +16,9 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@Slf4j
@RestController("taihumedCourse")
@@ -129,7 +127,7 @@ public class CourseController {
wrapper.orderByAsc(CourseCatalogueEntity::getSort);
List<Map<String,Object>> list = courseService.listMaps(wrapper);
for (Map<String,Object> courseEntity : list) {
int ucb = userCourseBuyService.count(new LambdaQueryWrapper<UserCourseBuyEntity>()
Long ucb = userCourseBuyService.count(new LambdaQueryWrapper<UserCourseBuyEntity>()
.eq(UserCourseBuyEntity::getUserId,ShiroUtils.getUId())
.eq(UserCourseBuyEntity::getCatalogueId,courseEntity.get("catalogueId")));
if (ucb == 0) {

View File

@@ -13,8 +13,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.OutputStream;
import java.net.URLEncoder;