修改了数据库为hw202201090127
This commit is contained in:
parent
08147bcc54
commit
496959e191
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue