Files
华佗 1d21661a78 feat: Spring Boot 3.5.14 全量升级 + 组件升级
核心升级:
- Spring Boot 2.7.18 → 3.5.14
- MyBatis Plus 3.5.5 → 3.5.16 (spring-boot3-starter)
- Springdoc 1.8.0 → 2.8.6 (OpenAPI 3)
- Flowable 6.8.0 → 7.1.0
- Druid 1.2.x → 1.2.28 (boot3-starter)
- kotlin-reflect 1.9.10 → 1.9.25

迁移适配:
- javax → jakarta 命名空间 (620+ 文件)
- Swagger 注解迁移到 OpenAPI 3 (@Tag/@Schema/@Operation/@Parameter)
- Spring Security 6.2 适配 (antMatchers→requestMatchers, EnableMethodSecurity)
- Druid 包名迁移 (boot→boot3)
- Redis 配置路径迁移 (spring.redis→spring.data.redis)
- Flyway 适配 (flyway-database-postgresql)
- Flowable 7.x 适配 (MULE_TASK_IMAGE 移除)

修复:
- spring-boot-maven-plugin 2.5.15→3.5.14 (SPI服务发现失效)
- mybatis-plus-boot-starter 3.5.5→3.5.16 (kotlin-reflect+fastjson2冲突)
- Flowable database-schema-update 启用自动建表

验证: 23/23 测试通过, 1374 API端点正常
2026-06-04 22:39:49 +08:00

90 lines
2.2 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import request from '@/utils/request';
// 查询调价审核列表
export function getPriceAdjustmentPage (query) {
// 创建请求参数对象,确保使用后端期望的参数名
const requestParams = {
// 映射pageNum到pageNo因为后端API期望使用pageNo
pageNo: query.pageNum || query.current || query.page || 1,
// 映射pageSize到pageSize保持一致
pageSize: query.pageSize || query.size || query.limit || 10,
// 保留其他查询参数
...Object.entries(query).reduce((acc, [key, value]) => {
if (!['pageNum', 'current', 'page', 'pageSize', 'size', 'limit'].includes(key)) {
acc[key] = value;
}
return acc;
}, {})
};
return request ({
url: '/change/price/list/getPage',
method: 'get',
params: requestParams,
});
}
// 查询调价申请详情
export function getPriceAdjustmentDetail (query) {
return request({
url: '/change/price/list/searchSupplyRequestInfo',
method: 'post',
params: query
});
}
// 作废价格调整申请
export function cancelSupplyRequestData (query) {
return request({
url: '/change/price/list/cancelChangePriceData',
method: 'post',
params: query
});
}
// 查询挂号调价详情
export function searchSupplyRequestByHealth (query) {
return request({
url: '/change/price/list/searchChangePriceDataByHealth',
method: 'post',
params: query
});
}
// 查询诊疗调价详情
export function searchSupplyRequestByActivity (query) {
return request({
url: '/change/price/list/searchChangePriceDataByActivity',
method: 'post',
params: query || {}
});
}
// 查询耗材调价详情
export function searchSupplyRequestByDevice (query) {
return request({
url: '/change/price/list/searchChangePriceDataByDevice',
method: 'post',
params: query
});
}
// 查询药品调价详情
export function searchSupplyRequestByMed(query) {
return request({
url: '/change/price/list/searchChangePriceDataByMed',
method: 'post',
params: query || {}
});
}
// 提审价格调整申请
export function submitApprovalForPriceAdjustment (query) {
return request({
url: '/change/price/list/updateStatusByApproval',
method: 'post',
params: query
});
}