From 97a161a5042d9ef92605f306163f040823491f1f Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期四, 10 七月 2025 18:06:46 +0800 Subject: [PATCH] 代码提交 --- smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml b/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml index 6822850..50f29e7 100644 --- a/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml +++ b/smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml @@ -382,6 +382,10 @@ CREATE TABLE ${newName} LIKE ${templateName} </update> + <update id="createPatMedOuthospAutoAdd"> + ALTER TABLE ${newName} MODIFY COLUMN id BIGINT NOT NULL AUTO_INCREMENT; + </update> + <update id="setAutoIncrement"> ALTER TABLE ${tableName} AUTO_INCREMENT = #{autoInc} </update> -- Gitblit v1.9.3