chore(deps): Spring Boot 2.5.15→2.7.18 + MyBatis Plus 3.5.5→3.5.16
升级内容: - Spring Boot 2.5.15 → 2.7.18 (含 Spring Security 5.7, Tomcat 9.0.96) - MyBatis Plus 3.5.5 → 3.5.16 (含 mybatis-plus-jsqlparser 拆分模块) - JSqlParser 4.5 → 5.2 (MyBatis Plus 3.5.9+ 要求) - PageHelper 1.4.7 → 2.1.1 (兼容 JSqlParser 5.x) - mysql:mysql-connector-java → com.mysql:mysql-connector-j (Spring Boot 2.7 BOM 变更) 兼容性修复: - FieldStrategy.IGNORED → FieldStrategy.NEVER (3.5.16 重命名) - ScanOptionsBuilder → ScanOptions.scanOptions() 工厂方法 - saveOrUpdate(entity, wrapper) → saveOrUpdate(entity) (wrapper 签名移除) - PermitAllUrlProperties: getBean(class) → getBean(name,class) + null 检查 - application.yml: 添加 spring.mvc.pathmatch.matching-strategy=ant-path-matcher - application.yml: 禁用 springfox (与 Spring Boot 2.7 不兼容) 验证结果: - ✅ mvn clean package -DskipTests BUILD SUCCESS - ✅ 登录接口 HTTP 200 - ✅ 分页查询 (数据字典 326 条, 用户 84 条) - ✅ 路由信息 (22 个顶级菜单) - ✅ 流程引擎 (Flowable) 正常初始化
This commit is contained in:
@@ -43,7 +43,7 @@ public class BarCode extends HisBaseEntity {
|
||||
/**
|
||||
* 采样时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
private Date collectTime;
|
||||
/**
|
||||
* 采样人
|
||||
@@ -52,16 +52,16 @@ public class BarCode extends HisBaseEntity {
|
||||
/**
|
||||
* 送检时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
private Date sendTime;
|
||||
/**
|
||||
* 签收时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
private Date receiveTime;
|
||||
/**
|
||||
* 退检时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
private Date backFlag;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ public class InspectionLabApply extends HisBaseEntity {
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
private Date applyTime;
|
||||
/**
|
||||
* 临床诊断
|
||||
|
||||
@@ -41,7 +41,7 @@ public class Specimen extends HisBaseEntity {
|
||||
/** 样本定义ID,对应 adm_specimen_definition 表的 id */
|
||||
private Long specimenDefinitionId;
|
||||
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
/* 样本的采集日期和时间 */
|
||||
private Date collectionDate;
|
||||
|
||||
@@ -53,7 +53,7 @@ public class Specimen extends HisBaseEntity {
|
||||
private String specimenUnit; //样本单位
|
||||
|
||||
/** 样本接收日期 */
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(updateStrategy = FieldStrategy.NEVER)
|
||||
private Date receivedDate;
|
||||
|
||||
/** 采集状态,默认为待采集 */
|
||||
|
||||
@@ -48,11 +48,11 @@ public class OpSchedule extends HisBaseEntity {
|
||||
private String operName;
|
||||
|
||||
/** 术前诊断 */
|
||||
@TableField(value = "preoperative_diagnosis", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "preoperative_diagnosis", insertStrategy = FieldStrategy.NEVER)
|
||||
private String preoperativeDiagnosis;
|
||||
|
||||
/** 术后诊断 */
|
||||
@TableField(value = "postoperative_diagnosis", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "postoperative_diagnosis", insertStrategy = FieldStrategy.NEVER)
|
||||
private String postoperativeDiagnosis;
|
||||
|
||||
/** 手术安排日期时间 */
|
||||
@@ -95,43 +95,43 @@ public class OpSchedule extends HisBaseEntity {
|
||||
private String tableNo;
|
||||
|
||||
/** 麻醉方式 */
|
||||
@TableField(value = "anes_method", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "anes_method", insertStrategy = FieldStrategy.NEVER)
|
||||
private String anesMethod;
|
||||
|
||||
/** 麻醉医生1编码 */
|
||||
@TableField(value = "anes_doctor1_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "anes_doctor1_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String anesDoctor1Code;
|
||||
|
||||
/** 麻醉医生2编码 */
|
||||
@TableField(value = "anes_doctor2_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "anes_doctor2_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String anesDoctor2Code;
|
||||
|
||||
/** 麻醉医生3编码 */
|
||||
@TableField(value = "anes_doctor3_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "anes_doctor3_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String anesDoctor3Code;
|
||||
|
||||
/** 洗手护士编码 */
|
||||
@TableField(value = "scrub_nurse_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "scrub_nurse_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String scrubNurseCode;
|
||||
|
||||
/** 巡回护士1编码 */
|
||||
@TableField(value = "circu_nurse1_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "circu_nurse1_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String circuNurse1Code;
|
||||
|
||||
/** 巡回护士2编码 */
|
||||
@TableField(value = "circu_nurse2_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "circu_nurse2_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String circuNurse2Code;
|
||||
|
||||
/** 器械护士1编码 */
|
||||
@TableField(value = "scrub_nurse1_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "scrub_nurse1_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String scrubNurse1Code;
|
||||
|
||||
/** 器械护士2编码 */
|
||||
@TableField(value = "scrub_nurse2_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "scrub_nurse2_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String scrubNurse2Code;
|
||||
|
||||
/** 主刀医生编码 */
|
||||
@TableField(value = "surgeon_code", insertStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "surgeon_code", insertStrategy = FieldStrategy.NEVER)
|
||||
private String surgeonCode;
|
||||
|
||||
/** 助手1编码 */
|
||||
|
||||
Reference in New Issue
Block a user