[提交]:增加了上传文件到阿里云oss接口
# Conflicts: # src/main/resources/application.properties
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
spring.application.name=intelligent-application-orchestration-service
|
||||
|
||||
|
||||
# ?????
|
||||
# 数据库配置
|
||||
spring.datasource.url=jdbc:kingbase8://116.205.121.200:54321/Ipz
|
||||
spring.datasource.username=system
|
||||
spring.datasource.password=root
|
||||
@ -10,7 +10,7 @@ spring.datasource.hikari.maximum-pool-size=10
|
||||
spring.datasource.hikari.minimum-idle=5
|
||||
spring.datasource.hikari.connection-timeout=30000
|
||||
|
||||
# MyBatis??
|
||||
# MyBatis配置
|
||||
mybatis.mapper-locations=classpath:mapper/*.xml
|
||||
mybatis.type-aliases-package=com.bipt.intelligentapplicationorchestrationservice.pojo
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
@ -26,7 +26,7 @@ spring.data.redis.database=0
|
||||
spring.data.redis.timeout=3000
|
||||
spring.data.redis.ssl.enabled=false
|
||||
|
||||
# ??????
|
||||
# 服务路由配置
|
||||
spring.cloud.gateway.routes[0].id=request-service-route
|
||||
spring.cloud.gateway.routes[0].uri=lb://intelligent-application-orchestration-service
|
||||
spring.cloud.gateway.routes[0].predicates[0]=Path=/request
|
||||
@ -36,8 +36,18 @@ spring.cloud.gateway.routes[0].predicates[0]=Path=/request
|
||||
logging.level.org.springframework.web=DEBUG
|
||||
|
||||
|
||||
#SQL ????????
|
||||
#SQL语句日志输出配置
|
||||
logging.level.com.bipt.intelligentapplicationorchestrationservice.mapper=DEBUG
|
||||
mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||
|
||||
management.health.rabbit.enabled=false
|
||||
management.health.rabbit.enabled=false
|
||||
|
||||
# 文件上传配置
|
||||
spring.servlet.multipart.enabled=true
|
||||
spring.servlet.multipart.max-file-size=100MB
|
||||
spring.servlet.multipart.max-request-size=100MB
|
||||
|
||||
# 激活开发环境!告诉 Spring:加载 application-dev.properties 里的配置
|
||||
spring.profiles.active=dev
|
||||
|
||||
|
||||
|
@ -41,19 +41,25 @@
|
||||
</select>
|
||||
|
||||
<!--更新模型信息-->
|
||||
<update id="update">
|
||||
<update id="updateModel">
|
||||
UPDATE model_version
|
||||
<set>
|
||||
<if test="modelSize != null">
|
||||
model_size = #{modelSize},
|
||||
</if>
|
||||
<if test="modelSuperArgs != null">
|
||||
model_super_args = #{modelSuperArgs},
|
||||
</if>
|
||||
<if test="modelArgsSize != null">
|
||||
model_args_size = #{modelArgsSize},
|
||||
</if>
|
||||
<if test="datasetId != null">dataset_id = #{datasetId},</if>
|
||||
<if test="modelConfig != null">model_config = #{modelConfig},</if>
|
||||
<if test="modelPath != null">model_path = #{modelPath},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="modelSize != null">model_size = #{modelSize},</if>
|
||||
<if test="dataPreHandleFile != null">data_pre_handle_file = #{dataPreHandleFile},</if>
|
||||
<if test="modelSuperArgs != null">model_super_args = #{modelSuperArgs},</if>
|
||||
<if test="modelArgsSize != null">model_args_size = #{modelArgsSize},</if>
|
||||
<if test="modelSourceCodeUrl != null">model_source_code_url = #{modelSourceCodeUrl},</if>
|
||||
<if test="modelFile != null">model_file = #{modelFile},</if>
|
||||
<if test="modelDesignDocument != null">model_design_document = #{modelDesignDocument},</if>
|
||||
<if test="lifeCycle != null">life_cycle = #{lifeCycle},</if>
|
||||
<if test="operateUser != null">operate_user = #{operateUser},</if>
|
||||
</set>
|
||||
WHERE id = #{id
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
</mapper>
|
Reference in New Issue
Block a user