mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	多模块重构 8:bom 模块,基本完成重构
This commit is contained in:
		@@ -18,6 +18,12 @@ spring:
 | 
			
		||||
      async-init: true # 单元测试,异步初始化 Druid 连接池,提升启动速度
 | 
			
		||||
      initial-size: 1 # 单元测试,配置为 1,提升启动速度
 | 
			
		||||
 | 
			
		||||
  # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
 | 
			
		||||
  redis:
 | 
			
		||||
    host: 127.0.0.1 # 地址
 | 
			
		||||
    port: 16379 # 端口(单元测试,使用 16379 端口)
 | 
			
		||||
    database: 0 # 数据库索引
 | 
			
		||||
 | 
			
		||||
mybatis:
 | 
			
		||||
  lazy-initialization: true # 单元测试,设置 MyBatis Mapper 延迟加载,加速每个单元测试
 | 
			
		||||
 | 
			
		||||
@@ -36,3 +42,9 @@ mybatis:
 | 
			
		||||
--- #################### 芋道相关配置 ####################
 | 
			
		||||
 | 
			
		||||
# 芋道配置项,设置当前项目所有自定义的配置
 | 
			
		||||
yudao:
 | 
			
		||||
  info:
 | 
			
		||||
    base-package: cn.iocoder.yudao.module.member.dal.mysql
 | 
			
		||||
    base-package2: cn.iocoder.yudao.module
 | 
			
		||||
  core-service:
 | 
			
		||||
    base-package: cn.iocoder.yudao.module.member.dal.mysql # TODO 芋艿:要清理掉
 | 
			
		||||
 
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
spring:
 | 
			
		||||
  application:
 | 
			
		||||
    name: yudao-module-bpm-service
 | 
			
		||||
 | 
			
		||||
  # Jackson 配置项
 | 
			
		||||
  jackson:
 | 
			
		||||
    serialization:
 | 
			
		||||
      write-dates-as-timestamps: true # 设置 Date 的格式,使用时间戳
 | 
			
		||||
      write-date-timestamps-as-nanoseconds: false # 设置不使用 nanoseconds 的格式。例如说 1611460870.401,而是直接 1611460870401
 | 
			
		||||
      write-durations-as-timestamps: true # 设置 Duration 的格式,使用时间戳
 | 
			
		||||
      fail-on-empty-beans: false # 允许序列化无属性的 Bean
 | 
			
		||||
 | 
			
		||||
# MyBatis Plus 的配置项
 | 
			
		||||
mybatis-plus:
 | 
			
		||||
  configuration:
 | 
			
		||||
    map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
 | 
			
		||||
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 打印日志
 | 
			
		||||
  global-config:
 | 
			
		||||
    db-config:
 | 
			
		||||
      id-type: AUTO # 自增 ID
 | 
			
		||||
      logic-delete-value: 1 # 逻辑已删除值(默认为 1)
 | 
			
		||||
      logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
 | 
			
		||||
  mapper-locations: classpath*:mapper/*.xml
 | 
			
		||||
  type-aliases-package: ${yudao.core-service.base-package}.modules.*.dal.dataobject
 | 
			
		||||
 | 
			
		||||
--- #################### 芋道相关配置 ####################
 | 
			
		||||
 | 
			
		||||
yudao:
 | 
			
		||||
  info:
 | 
			
		||||
    version: 1.0.0
 | 
			
		||||
    base-package: cn.iocoder.yudao.adminserver
 | 
			
		||||
  core-service:
 | 
			
		||||
    base-package: cn.iocoder.yudao.coreservice
 | 
			
		||||
 | 
			
		||||
debug: false
 | 
			
		||||
		Reference in New Issue
	
	Block a user