build: 构建生产版本
**前端构建:** - Flutter Web 构建产物 (build/web) - 包含主题修复和绿色对比度优化 **后端修改:** - 添加 MyBatisPlusMetaObjectHandler (自动填充字段) - 更新实体类、DTO、Controller - 优化 Jackson 配置 - 更新 application-dev.yml **构建信息:** - Maven: monisuo-1.0.jar (41MB) - Flutter: build/web (22.9s) - 环境: prod
This commit is contained in:
@@ -26,6 +26,20 @@ spring:
|
||||
#mybatis-plus
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:com/it/rattan/monisuo/mapper/*.xml
|
||||
global-config:
|
||||
db-config:
|
||||
# 主键类型 AUTO-自增
|
||||
id-type: auto
|
||||
# 字段策略 IGNORED-忽略判断 NOT_NULL-非null判断 NOT_EMPTY-非空判断
|
||||
update-strategy: not_null
|
||||
insert-strategy: not_null
|
||||
# 关闭 MP3.0 的 banner
|
||||
banner: false
|
||||
configuration:
|
||||
# 开启驼峰命名转换
|
||||
map-underscore-to-camel-case: true
|
||||
# 打印 SQL 日志(开发环境)
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
bean-searcher:
|
||||
packages: com.it.rattan.monisuo
|
||||
|
||||
Reference in New Issue
Block a user