Commit fac33f8e by 赵剑炜

修复误删

parent d472bd69
...@@ -79,12 +79,12 @@ public class Inventory implements Serializable { ...@@ -79,12 +79,12 @@ public class Inventory implements Serializable {
private String state; private String state;
/** /**
* 业务状 * 业务状
*/ */
private String bussiness_state; private String bussiness_state;
/** /**
* 位置状 * 位置状
*/ */
@TableField("location_state") @TableField("location_state")
private String locationState; private String locationState;
...@@ -97,13 +97,13 @@ public class Inventory implements Serializable { ...@@ -97,13 +97,13 @@ public class Inventory implements Serializable {
private Date productionDate; private Date productionDate;
/** /**
* 质保 * 质保
*/ */
@TableField("warranty_period") @TableField("warranty_period")
private long warrantyPeriod; private long warrantyPeriod;
/** /**
* 维保 * 维保
*/ */
@TableField("maintenance_period") @TableField("maintenance_period")
private Integer maintenancePeriod; private Integer maintenancePeriod;
......
#server:
# port: 10030
# 应用服务器
server:
tomcat:
uri-encoding: UTF-8 #tomcat编码
port: 10031 #tomcat端口
spring:
main:
#bea同名类进行注册时,准许覆盖注册
allow-bean-definition-overriding: true
application:
name: jyzb-app
profiles:
#@spring.active@
active: local
servlet:
multipart:
max-request-size: 200MB
max-file-size: 200MB
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
locale: zh_CN
serialization:
indent_output: false
property-naming-strategy: com.fasterxml.jackson.databind.PropertyNamingStrategy$PascalCaseStrategy
flyway:
enable: ture
locations: classpath:db/migration
# 当迁移时发现目标schema非空,而且带有没有元数据的表时,是否自动执行基准迁移
baseline-on-migrate: true
# 是否允许无序的迁移 开发环境最好开启, 生产环境关闭
out-of-order: true
# 关闭占位符替换,因为插入的sql里边可能包含${}关键字
placeholder-replacement: false
mybatis-plus:
configuration:
cache-enabled: true
lazy-loading-enabled: true
multiple-result-sets-enabled: true
map-underscore-to-camel-case: true #开启驼峰命名
global-config:
banner: false
enable-sql-runner: true
db-config:
id-type: assign_id
table-underline: true
mapper-locations: classpath*:/mapper/**/*Mapper.xml
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论