修改了数据库为hw202201090127

This commit is contained in:
xmf 2024-10-27 23:48:21 +08:00
parent 08147bcc54
commit 496959e191
2 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,8 @@ spring.devtools.restart.exclude=static/**
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://10.33.66.120:3306/mb202201090127
spring.datasource.username=mb202201090127
spring.datasource.url=jdbc:mysql://10.33.66.120:3306/hw202201090127
spring.datasource.username=hw202201090127
spring.datasource.password=ZDVWBF743635
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
mybatis.configuration.map-underscore-to-camel-case=true

View File

@ -17,6 +17,7 @@
<update id="update">
update course
<set>
<if test="id != null"> id = #{id},</if>
<if test="name != null"> name = #{name},</if>
<if test="updateBy != null"> update_by = #{updateBy},</if>
<if test="updateTime != null"> update_time = #{updateTime}</if>