搭建工时3.0版本的框架
This commit is contained in:
79
src/main/resources/application.properties
Normal file
79
src/main/resources/application.properties
Normal file
@ -0,0 +1,79 @@
|
||||
server.port = 7600
|
||||
|
||||
## 数据源配置
|
||||
spring.datasource.url = jdbc:postgresql://118.24.27.47:5432/work_management
|
||||
spring.datasource.userName = worker
|
||||
spring.datasource.password = qwer0329
|
||||
spring.datasource.driverClassName = org.postgresql.Driver
|
||||
|
||||
#spring.datasource.url = jdbc:postgresql://localhost:5432/work_management
|
||||
#spring.datasource.userName = postgres
|
||||
#spring.datasource.password = 123456
|
||||
#spring.datasource.driverClassName = org.postgresql.Driver
|
||||
|
||||
server.tomcat.uri-encoding=UTF-8
|
||||
|
||||
# 关闭spring data 的redis仓库
|
||||
spring.data.redis.repositories.enabled = false
|
||||
|
||||
# jackson 配置
|
||||
spring.jackson.serialization.write-date-keys-as-timestamps=false
|
||||
|
||||
## Hikari连接池设置
|
||||
spring.datasource.hikari.auto-commit = true
|
||||
spring.datasource.hikari.maximum-pool-size = 100
|
||||
spring.datasource.hikari.idle-timeout = 10000
|
||||
spring.datasource.hikari.minimum-idle = 5
|
||||
spring.datasource.hikari.validation-timeout = 3000
|
||||
|
||||
## Spring Data JPA 配置
|
||||
spring.jpa.database = POSTGRESQL
|
||||
spring.jpa.database-platform = org.hibernate.dialect.PostgreSQLDialect
|
||||
spring.jpa.show-sql = false
|
||||
# 指定 ddl mode (none, validate, create, create-drop, update)
|
||||
spring.jpa.hibernate.ddl-auto = update
|
||||
# 命名策略
|
||||
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
|
||||
#spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQL95Dialect
|
||||
spring.jpa.properties.hibernate.dialect = org.hibernate.spatial.dialect.postgis.PostgisDialect
|
||||
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
|
||||
|
||||
## Redis配置
|
||||
#spring.cache.type = redis
|
||||
#spring.redis.database = 9
|
||||
#spring.redis.host = localhost
|
||||
#spring.redis.port = 6379
|
||||
#spring.redis.password = sdust2020
|
||||
#spring.redis.timeout = 10000
|
||||
#spring.redis.lettuce.pool.max-active = 100
|
||||
#spring.redis.lettuce.pool.max-wait = 10000
|
||||
#spring.redis.lettuce.pool.max-idle = 100
|
||||
#spring.redis.lettuce.pool.min-idle = 1
|
||||
#spring.redis.lettuce.shutdown-timeout = 0
|
||||
|
||||
## Devtools配置
|
||||
spring.devtools.livereload.enabled = true
|
||||
|
||||
## 多国语言配置
|
||||
spring.messages.basename = i18n/messages
|
||||
spring.messages.encoding = UTF-8
|
||||
|
||||
# 上传文件配置
|
||||
spring.servlet.multipart.enabled=true
|
||||
# 最大文件大小
|
||||
spring.servlet.multipart.max-file-size = 64MB
|
||||
# 最大请求大小
|
||||
spring.servlet.multipart.max-request-size = 70MB
|
||||
|
||||
# Geoserver服务器地址
|
||||
my.GeoserverAdress = http://139.199.98.175:9080/geoserver/
|
||||
|
||||
# 文件服务器地址
|
||||
my.FileServerAdress = http://139.199.98.175:4096/
|
||||
my.FileServerAdminAdress = http://127.0.0.1:4096/
|
||||
|
||||
## 自定义用户最大登录错误尝试次数
|
||||
my.MaxLoginErrorCount = 5
|
||||
|
||||
## 自定义用户登录错误间隔时间(分钟)
|
||||
my.LoginErrorIntervalTime = 60
|
162
src/main/resources/i18n/messages.properties
Normal file
162
src/main/resources/i18n/messages.properties
Normal file
@ -0,0 +1,162 @@
|
||||
sys.message.success = 成功
|
||||
sys.message.null = 暂时还没有数据
|
||||
sys.message.exit = 已存在相关内容,请勿重复操作
|
||||
sys.message.user.not_logged_in = 用户未登录
|
||||
sys.message.user.login_error = 用户登陆失败
|
||||
sys.message.user.account_forbidden = 用户已被禁止
|
||||
sys.message.user.account_not_activated = 用户未激活
|
||||
sys.message.user.overtime = 用户登录超时
|
||||
sys.message.user.no_permission = 用户权限不足
|
||||
sys.message.user.already_logged = 用户已经登录
|
||||
sys.message.param.null = 参数为空
|
||||
sys.message.param.illegal = 参数非法
|
||||
sys.message.data.none = 数据为空
|
||||
sys.message.data.wrong = 数据错误
|
||||
sys.message.process.fail = 处理失败
|
||||
sys.message.process.overtime = 处理超时
|
||||
sys.message.system.inner_error = 系统内部错误
|
||||
sys.message.system.abnormal = 系统异常
|
||||
sys.message.system.busy = 系统正忙,请稍后
|
||||
sys.message.system.maintain = 系统维护中
|
||||
sys.message.database.error = 数据库错误
|
||||
sys.message.file.exists = 文件已存在
|
||||
sys.message.file.write.error = 文件写入失败
|
||||
sys.message.file.read.error = 文件读取失败
|
||||
|
||||
SysUser.id.blank = 用户id不能为空
|
||||
SysUser.userName.blank = 用户名不能为空
|
||||
SysUser.userName.length.illegal = 用户名长度不合法
|
||||
SysUser.userName.format.illegal = 用户名格式不合法
|
||||
SysUser.nickName.length.illegal = 用户昵称长度不合法
|
||||
SysUser.userCode.length.illegal = 用户编码长度不合法
|
||||
SysUser.userCode.format.illegal = 用户编码含有非法字符
|
||||
SysUser.password.blank = 用户密码不能为空
|
||||
SysUser.password.length.illegal = 用户密码长度不合法
|
||||
SysUser.password.format.illegal = 用户密码格式不合法
|
||||
SysUser.sex.num.null = 用户性别数字不能为空
|
||||
SysUser.sex.num.illegal = 用户性别数字不合法
|
||||
SysUser.telephone.format.illegal = 用户手机号码不合法
|
||||
SysUser.email.length.illegal = 用户邮箱长度不合法
|
||||
SysUser.email.format.illegal = 用户邮箱格式不合法
|
||||
SysUser.admCode.illegal = 用户行政区划代码不合法
|
||||
SysUser.address.length.illegal = 用户详细地址长度不合法
|
||||
SysUser.birthday.format.illegal = 用户出生日期必须是 yyyy-MM-dd
|
||||
SysUser.personalSignature.length.illegal = 用户个性签名长度非法
|
||||
SysUser.portraitId.illegal = 用户头像id非法
|
||||
SysUser.statusCode.null = 用户当前状态编码为空
|
||||
SysUser.statusCode.illegal = 用户当前状态编码非法
|
||||
SysUser.deleteFlag.null = 用户删除标记不能是空
|
||||
|
||||
TrajectoryRecord.id.null = id 不能为空
|
||||
TrajectoryRecord.startTimeTs.null = startTimeTs 不能为空
|
||||
|
||||
SatelliteFirePoint.id.null = id 不能为空
|
||||
SatelliteFirePoint.fireCode.null = fireCode 不能为空
|
||||
SatelliteFirePoint.fireCode.length.illegal = fireCode 长度过长
|
||||
SatelliteFirePoint.countyCode.null = countyCode 不能为空
|
||||
SatelliteFirePoint.countyCode.length.illegal = countyCode 长度过长
|
||||
SatelliteFirePoint.countyName.null = countyName 不能为空
|
||||
SatelliteFirePoint.countyName.length.illegal = countyName 长度过长
|
||||
SatelliteFirePoint.satelliteType.null = satelliteType 不能为空
|
||||
SatelliteFirePoint.fireStatus.null = fireStatus 不能为空
|
||||
SatelliteFirePoint.verifyStatus.null = verifyStatus 不能为空
|
||||
SatelliteFirePoint.satelliteTimeTs.null = satelliteTimeTs 不能为空
|
||||
|
||||
PictureFirePoint.id.null = id 不能为空
|
||||
PictureFirePoint.fireCode.null = fireCode 不能为空
|
||||
PictureFirePoint.fireCode.length.illegal = fireCode 长度过长
|
||||
PictureFirePoint.pictureName.length.illegal = pictureName 长度过长
|
||||
PictureFirePoint.picturePath.null = picturePath 不能为空
|
||||
PictureFirePoint.picturePath.length.illegal = picturePath 长度过长
|
||||
PictureFirePoint.memo.length.illegal = memo 长度过长
|
||||
PictureFirePoint.size.length.illegal = size 长度过长
|
||||
PictureFirePoint.md5.null = md5 不能为空
|
||||
PictureFirePoint.md5.length.illegal = md5 长度过长
|
||||
PictureFirePoint.shootTimeTs.null = shootTimeTs 不能为空
|
||||
|
||||
PersonInvestigator.id.null = id 不能为空
|
||||
PersonInvestigator.name.null = name 不能为空
|
||||
PersonInvestigator.name.length.illegal = name 长度过长
|
||||
PersonInvestigator.code.length.illegal = code 长度过长
|
||||
PersonInvestigator.telephone.null = telephone 不能为空
|
||||
PersonInvestigator.telephone.format.illegal = telephone 格式非法
|
||||
PersonInvestigator.sex.null = sex 不能为空
|
||||
PersonInvestigator.sex.format.illegal = sex 格式非法
|
||||
PersonInvestigator.idCard.length.illegal = idCard 长度过长
|
||||
PersonInvestigator.memo.length.illegal = memo 长度过长
|
||||
PersonInvestigator.linkUserName.null = linkUserName 不能为空
|
||||
PersonInvestigator.linkUserName.format.illegal = linkUserName 格式非法
|
||||
PersonInvestigator.password.null = password 不能为空
|
||||
PersonInvestigator.password.format.illegal = password 格式非法
|
||||
InvestigateFirePoint.verifyTimeTs.null = verifyTimeTs 不能为空
|
||||
|
||||
InvestigateFirePoint.id.null = id 不能为空
|
||||
InvestigateFirePoint.fireCode.null = fireCode 不能为空
|
||||
InvestigateFirePoint.fireCode.length.illegal = fireCode 长度过长
|
||||
InvestigateFirePoint.countyCode.null = countyCode 不能为空
|
||||
InvestigateFirePoint.countyCode.length.illegal = countyCode 长度过长
|
||||
InvestigateFirePoint.countyName.null = countyName 不能为空
|
||||
InvestigateFirePoint.countyName.length.illegal = countyName 长度过长
|
||||
InvestigateFirePoint.address.null = address 不能为空
|
||||
InvestigateFirePoint.fireArea.null = fireArea 不能为空
|
||||
InvestigateFirePoint.verifyType.null = verifyType 不能为空
|
||||
InvestigateFirePoint.satelliteType.null = satelliteType 不能为空
|
||||
InvestigateFirePoint.satelliteType.length.illegal = satelliteType 长度过长
|
||||
|
||||
FileDocument.id.null = id 不能为空
|
||||
FileDocument.name.null = name 不能为空
|
||||
FileDocument.name.length.illegal = name 长度过长
|
||||
FileDocument.category.length.illegal = category 长度过长
|
||||
FileDocument.filePath.null = filePath 不能为空
|
||||
FileDocument.filePath.length.illegal = filePath 长度过长
|
||||
FileDocument.size.length.illegal = size 长度过长
|
||||
FileDocument.md5.null = md5 不能为空
|
||||
FileDocument.md5.length.illegal = md5 长度过长
|
||||
FileDocument.memo.length.illegal = memo 长度过长
|
||||
FileDocument.checkingToken.length.illegal = checkingToken 长度过长
|
||||
|
||||
AppFile.id.null = id 不能为空
|
||||
AppFile.name.null = name 不能为空
|
||||
AppFile.name.length.illegal = name 长度过长
|
||||
AppFile.appPath.null = appPath 不能为空
|
||||
AppFile.appPath.length.illegal = appPath 长度过长
|
||||
AppFile.versionNumber.null = versionNumber 不能为空
|
||||
AppFile.versionNumber.length.illegal = versionNumber 长度过长
|
||||
AppFile.versionNumber.format.illegal = versionNumber 格式不合法
|
||||
AppFile.size.null = size 不能为空
|
||||
AppFile.size.length.illegal = size 长度过长
|
||||
AppFile.md5.null = md5 不能为空
|
||||
AppFile.md5.length.illegal = md5 长度过长
|
||||
AppFile.memo.length.illegal = memo 长度过长
|
||||
|
||||
RealFirePoint.id.null = id 不能为空
|
||||
RealFirePoint.fireCode.null = fireCode 不能为空
|
||||
RealFirePoint.fireCode.length.illegal = fireCode 不合法
|
||||
RealFirePoint.countyCode.null = countyCode 不能为空
|
||||
RealFirePoint.countyCode.length.illegal = countyCode 不合法
|
||||
RealFirePoint.countyName.null = countyName 不能为空
|
||||
RealFirePoint.countyName.length.illegal = countyName 不合法
|
||||
RealFirePoint.address.null = address 不能为空
|
||||
RealFirePoint.address.length.illegal = address 不合法
|
||||
RealFirePoint.fireArea.null = fireArea 不能为空
|
||||
RealFirePoint.verifyTimeTs.null = verifyTimeTs 不能为空
|
||||
RealFirePoint.verifyType.null = verifyType 不能为空
|
||||
|
||||
InvestigationTeam.id.null = id 不能为空
|
||||
InvestigationTeam.teamName.null = teamName 不能为空
|
||||
InvestigationTeam.teamName.length.illegal = teamName 长度过长
|
||||
InvestigationTeam.memo.length.illegal = memo 长度过长
|
||||
InvestigationTeam.userName.null = userName 不能为空
|
||||
InvestigationTeam.userName.length.illegal = userName 长度过长
|
||||
InvestigationTeam.userRealName.null = userRealName 不能为空
|
||||
InvestigationTeam.userRealName.length.illegal = userRealName 长度过长
|
||||
|
||||
RelTeamInvestigator.id.null = id 不能为空
|
||||
RelTeamInvestigator.teamCode.null = teamCode 不能为空
|
||||
RelTeamInvestigator.teamCode.length.illegal = teamCode 长度过长
|
||||
RelTeamInvestigator.userName.null = userName 不能为空
|
||||
RelTeamInvestigator.userName.length.illegal = userName 长度过长
|
||||
RelTeamInvestigator.teamDeputy.null = teamDeputy 不能为空
|
||||
RelTeamInvestigator.memo.length.illegal = memo 长度过长
|
||||
RelTeamInvestigator.userRealName.null = userRealName 不能为空
|
||||
RelTeamInvestigator.userRealName.length.illegal = userRealName 长度过长
|
162
src/main/resources/i18n/messages_en_US.properties
Normal file
162
src/main/resources/i18n/messages_en_US.properties
Normal file
@ -0,0 +1,162 @@
|
||||
sys.message.success = success
|
||||
sys.message.null = null
|
||||
sys.message.exit = data already exists
|
||||
sys.message.user.not_logged_in = user not logged in
|
||||
sys.message.user.login_error = user login failed
|
||||
sys.message.user.account_forbidden = this account is forbidden
|
||||
sys.message.user.account_not_activated = this account not activated
|
||||
sys.message.user.overtime = user login timeout
|
||||
sys.message.user.no_permission = user permission denied
|
||||
sys.message.user.already_logged = user already logged
|
||||
sys.message.param.null = parameter is null
|
||||
sys.message.param.illegal = parameter is illegal
|
||||
sys.message.data.none = data is none
|
||||
sys.message.data.wrong = data is wrong
|
||||
sys.message.process.fail = process fail
|
||||
sys.message.process.overtime = process overtime
|
||||
sys.message.system.inner_error = system inner error
|
||||
sys.message.system.abnormal = system abnormal
|
||||
sys.message.system.busy = system is busy
|
||||
sys.message.system.maintain = system maintenance
|
||||
sys.message.database.error = database error
|
||||
sys.message.file.exists = file exists
|
||||
sys.message.file.write.error = file write error
|
||||
sys.message.file.read.error = file read error
|
||||
|
||||
SysUser.id.blank = user id can't be blank
|
||||
SysUser.userName.blank = user name can't be blank
|
||||
SysUser.userName.length.illegal = user name length illegal
|
||||
SysUser.userName.format.illegal = user name format illegal
|
||||
SysUser.nickName.length.illegal = user nickname length illegal
|
||||
SysUser.userCode.length.illegal = user code length illegal
|
||||
SysUser.userCode.format.illegal = user code cantains illegal character
|
||||
SysUser.password.blank = user password can't be blank
|
||||
SysUser.password.length.illegal = user password length illegal
|
||||
SysUser.password.format.illegal = user password format illegal
|
||||
SysUser.sex.num.null = user sex num can't be blank
|
||||
SysUser.sex.num.illegal = user sex num illegal
|
||||
SysUser.telephone.format.illegal = user telephone format illegal
|
||||
SysUser.email.length.illegal = user email length illegal
|
||||
SysUser.email.format.illegal = user email format illegal
|
||||
SysUser.admCode.illegal = user administrative area code illegal
|
||||
SysUser.address.length.illegal = user address length illegal
|
||||
SysUser.birthday.format.illegal = user birthday must be yyyy-MM-dd
|
||||
SysUser.personalSignature.length.illegal = user personal signature length illegal
|
||||
SysUser.portraitId.illegal = user portrait id illegal
|
||||
SysUser.statusCode.null = user current status code can't be blank
|
||||
SysUser.statusCode.illegal = user current status code illegal
|
||||
SysUser.deleteFlag.null = user delete flag can't be null
|
||||
|
||||
TrajectoryRecord.id.null = id can't be null
|
||||
TrajectoryRecord.startTimeTs.null = startTimeTs can't be null
|
||||
|
||||
SatelliteFirePoint.id.null = id can't be blank
|
||||
SatelliteFirePoint.fireCode.null = fireCode can't be blank
|
||||
SatelliteFirePoint.fireCode.length.illegal = fireCode length illegal
|
||||
SatelliteFirePoint.countyCode.null = countyCode can't be blank
|
||||
SatelliteFirePoint.countyCode.length.illegal = countyCode length illegal
|
||||
SatelliteFirePoint.countyName.null = countyName can't be blank
|
||||
SatelliteFirePoint.countyName.length.illegal = countyName length illegal
|
||||
SatelliteFirePoint.satelliteType.null = satelliteType can't be blank
|
||||
SatelliteFirePoint.fireStatus.null = fireStatus can't be blank
|
||||
SatelliteFirePoint.verifyStatus.null = verifyStatus can't be blank
|
||||
SatelliteFirePoint.satelliteTimeTs.null = satelliteTimeTs can't be blank
|
||||
|
||||
PictureFirePoint.id.null = id can't be blank
|
||||
PictureFirePoint.fireCode.null = fireCode can't be blank
|
||||
PictureFirePoint.fireCode.length.illegal = fireCode length illegal
|
||||
PictureFirePoint.pictureName.length.illegal = pictureName length illegal
|
||||
PictureFirePoint.picturePath.null = picturePath can't be blank
|
||||
PictureFirePoint.picturePath.length.illegal = picturePath length illegal
|
||||
PictureFirePoint.memo.length.illegal = memo length illegal
|
||||
PictureFirePoint.size.length.illegal = size length illegal
|
||||
PictureFirePoint.md5.null = md5 can't be blank
|
||||
PictureFirePoint.md5.length.illegal = md5 length illegal
|
||||
PictureFirePoint.shootTimeTs.null = shootTimeTs can't be blank
|
||||
|
||||
PersonInvestigator.id.null = id can't be blank
|
||||
PersonInvestigator.name.null = name can't be blank
|
||||
PersonInvestigator.name.length.illegal = name length illegal
|
||||
PersonInvestigator.code.length.illegal = code length illegal
|
||||
PersonInvestigator.telephone.null = telephone can't be blank
|
||||
PersonInvestigator.telephone.format.illegal = telephone format illegal
|
||||
PersonInvestigator.sex.null = sex format can't be blank
|
||||
PersonInvestigator.sex.format.illegal = sex format illegal
|
||||
PersonInvestigator.idCard.length.illegal = idCard length illegal
|
||||
PersonInvestigator.memo.length.illegal = memo length illegal
|
||||
PersonInvestigator.linkUserName.null = linkUserName can't be blank
|
||||
PersonInvestigator.linkUserName.format.illegal = linkUserName format illegal
|
||||
PersonInvestigator.password.null = password can't be blank
|
||||
PersonInvestigator.password.format.illegal = password format
|
||||
InvestigateFirePoint.verifyTimeTs.null = verifyTimeTs can't be blank
|
||||
|
||||
InvestigateFirePoint.id.null = id can't be blank
|
||||
InvestigateFirePoint.fireCode.null = fireCode can't be blank
|
||||
InvestigateFirePoint.fireCode.length.illegal = fireCode length illegal
|
||||
InvestigateFirePoint.countyCode.null = countyCode can't be blank
|
||||
InvestigateFirePoint.countyCode.length.illegal = countyCode length illegal
|
||||
InvestigateFirePoint.countyName.null = countyName can't be blank
|
||||
InvestigateFirePoint.countyName.length.illegal = countyName length illegal
|
||||
InvestigateFirePoint.address.null = address can't be blank
|
||||
InvestigateFirePoint.fireArea.null = fireArea can't be blank
|
||||
InvestigateFirePoint.verifyType.null = verifyType can't be blank
|
||||
InvestigateFirePoint.satelliteType.null = satelliteType can't be blank
|
||||
InvestigateFirePoint.satelliteType.length.illegal = satelliteType length illegal
|
||||
|
||||
FileDocument.id.null = id can't be blank
|
||||
FileDocument.name.null = name can't be blank
|
||||
FileDocument.name.length.illegal = name length illegal
|
||||
FileDocument.category.length.illegal = category length illegal
|
||||
FileDocument.filePath.null = filePath can't be blank
|
||||
FileDocument.filePath.length.illegal = filePath length illegal
|
||||
FileDocument.size.length.illegal = size length illegal
|
||||
FileDocument.md5.null = md5 can't be blank
|
||||
FileDocument.md5.length.illegal = md5 length illegal
|
||||
FileDocument.memo.length.illegal = memo length illegal
|
||||
FileDocument.checkingToken.length.illegal = checkingToken length illegal
|
||||
|
||||
AppFile.id.null = id can't be blank
|
||||
AppFile.name.null = name can't be blank
|
||||
AppFile.name.length.illegal = name length illegal
|
||||
AppFile.appPath.null = appPath can't be blank
|
||||
AppFile.appPath.length.illegal = appPath length illegal
|
||||
AppFile.versionNumber.null = versionNumber can't be blank
|
||||
AppFile.versionNumber.length.illegal = versionNumber length illegal
|
||||
AppFile.versionNumber.format.illegal = versionNumber illegal
|
||||
AppFile.size.null = size can't be blank
|
||||
AppFile.size.length.illegal = size length illegal
|
||||
AppFile.md5.null = md5 can't be blank
|
||||
AppFile.md5.length.illegal = md5 length illegal
|
||||
AppFile.memo.length.illegal = memo length illegal
|
||||
|
||||
RealFirePoint.id.null = id can't be blank
|
||||
RealFirePoint.fireCode.null = fireCode can't be blank
|
||||
RealFirePoint.fireCode.length.illegal = fireCode illegal
|
||||
RealFirePoint.countyCode.null = countyCode can't be blank
|
||||
RealFirePoint.countyCode.length.illegal = countyCode
|
||||
RealFirePoint.countyName.null = countyName can't be blank
|
||||
RealFirePoint.countyName.length.illegal = countyName illegal
|
||||
RealFirePoint.address.null = address can't be blank
|
||||
RealFirePoint.address.length.illegal = address illegal
|
||||
RealFirePoint.fireArea.null = fireArea can't be blank
|
||||
RealFirePoint.verifyTimeTs.null = verifyTimeTs can't be blank
|
||||
RealFirePoint.verifyType.null = verifyType can't be blank
|
||||
|
||||
InvestigationTeam.id.null = id can't be blank
|
||||
InvestigationTeam.teamName.null = teamName can't be blank
|
||||
InvestigationTeam.teamName.length.illegal = teamName length illegal
|
||||
InvestigationTeam.memo.length.illegal = memo length illegal
|
||||
InvestigationTeam.userName.null = userName can't be blank
|
||||
InvestigationTeam.userName.length.illegal = userName length illegal
|
||||
InvestigationTeam.userRealName.null = userRealName can't be blank
|
||||
InvestigationTeam.userRealName.length.illegal = userRealName length illegal
|
||||
|
||||
RelTeamInvestigator.id.null = id can't be blank
|
||||
RelTeamInvestigator.teamCode.null = teamCode can't be blank
|
||||
RelTeamInvestigator.teamCode.length.illegal = teamCode length illegal
|
||||
RelTeamInvestigator.userName.null = userName can't be blank
|
||||
RelTeamInvestigator.userName.length.illegal = userName length illegal
|
||||
RelTeamInvestigator.teamDeputy.null = teamDeputy can't be blank
|
||||
RelTeamInvestigator.memo.length.illegal = memo length illegal
|
||||
RelTeamInvestigator.userRealName.null = userRealName can't be blank
|
||||
RelTeamInvestigator.userRealName.length.illegal = userRealName length illegal
|
162
src/main/resources/i18n/messages_zh_CN.properties
Normal file
162
src/main/resources/i18n/messages_zh_CN.properties
Normal file
@ -0,0 +1,162 @@
|
||||
sys.message.success = 成功
|
||||
sys.message.null = 暂时还没有数据
|
||||
sys.message.exit = 已存在相关内容,请勿重复操作
|
||||
sys.message.user.not_logged_in = 用户未登录
|
||||
sys.message.user.login_error = 用户登陆失败
|
||||
sys.message.user.account_forbidden = 用户已被禁止
|
||||
sys.message.user.account_not_activated = 用户未激活
|
||||
sys.message.user.overtime = 用户登录超时
|
||||
sys.message.user.no_permission = 用户权限不足
|
||||
sys.message.user.already_logged = 用户已经登录
|
||||
sys.message.param.null = 参数为空
|
||||
sys.message.param.illegal = 参数非法
|
||||
sys.message.data.none = 数据为空
|
||||
sys.message.data.wrong = 数据错误
|
||||
sys.message.process.fail = 处理失败
|
||||
sys.message.process.overtime = 处理超时
|
||||
sys.message.system.inner_error = 系统内部错误
|
||||
sys.message.system.abnormal = 系统异常
|
||||
sys.message.system.busy = 系统正忙,请稍后
|
||||
sys.message.system.maintain = 系统维护中
|
||||
sys.message.database.error = 数据库错误
|
||||
sys.message.file.exists = 文件已存在
|
||||
sys.message.file.write.error = 文件写入失败
|
||||
sys.message.file.read.error = 文件读取失败
|
||||
|
||||
SysUser.id.blank = 用户id不能为空
|
||||
SysUser.userName.blank = 用户名不能为空
|
||||
SysUser.userName.length.illegal = 用户名长度不合法
|
||||
SysUser.userName.format.illegal = 用户名格式不合法
|
||||
SysUser.nickName.length.illegal = 用户昵称长度不合法
|
||||
SysUser.userCode.length.illegal = 用户编码长度不合法
|
||||
SysUser.userCode.format.illegal = 用户编码含有非法字符
|
||||
SysUser.password.blank = 用户密码不能为空
|
||||
SysUser.password.length.illegal = 用户密码长度不合法
|
||||
SysUser.password.format.illegal = 用户密码格式不合法
|
||||
SysUser.sex.num.null = 用户性别数字不能为空
|
||||
SysUser.sex.num.illegal = 用户性别数字不合法
|
||||
SysUser.telephone.format.illegal = 用户手机号码不合法
|
||||
SysUser.email.length.illegal = 用户邮箱长度不合法
|
||||
SysUser.email.format.illegal = 用户邮箱格式不合法
|
||||
SysUser.admCode.illegal = 用户行政区划代码不合法
|
||||
SysUser.address.length.illegal = 用户详细地址长度不合法
|
||||
SysUser.birthday.format.illegal = 用户出生日期必须是 yyyy-MM-dd
|
||||
SysUser.personalSignature.length.illegal = 用户个性签名长度非法
|
||||
SysUser.portraitId.illegal = 用户头像id非法
|
||||
SysUser.statusCode.null = 用户当前状态编码为空
|
||||
SysUser.statusCode.illegal = 用户当前状态编码非法
|
||||
SysUser.deleteFlag.null = 用户删除标记不能是空
|
||||
|
||||
TrajectoryRecord.id.null = id 不能为空
|
||||
TrajectoryRecord.startTimeTs.null = startTimeTs 不能为空
|
||||
|
||||
SatelliteFirePoint.id.null = id 不能为空
|
||||
SatelliteFirePoint.fireCode.null = fireCode 不能为空
|
||||
SatelliteFirePoint.fireCode.length.illegal = fireCode 长度过长
|
||||
SatelliteFirePoint.countyCode.null = countyCode 不能为空
|
||||
SatelliteFirePoint.countyCode.length.illegal = countyCode 长度过长
|
||||
SatelliteFirePoint.countyName.null = countyName 不能为空
|
||||
SatelliteFirePoint.countyName.length.illegal = countyName 长度过长
|
||||
SatelliteFirePoint.satelliteType.null = satelliteType 不能为空
|
||||
SatelliteFirePoint.fireStatus.null = fireStatus 不能为空
|
||||
SatelliteFirePoint.verifyStatus.null = verifyStatus 不能为空
|
||||
SatelliteFirePoint.satelliteTimeTs.null = satelliteTimeTs 不能为空
|
||||
|
||||
PictureFirePoint.id.null = id 不能为空
|
||||
PictureFirePoint.fireCode.null = fireCode 不能为空
|
||||
PictureFirePoint.fireCode.length.illegal = fireCode 长度过长
|
||||
PictureFirePoint.pictureName.length.illegal = pictureName 长度过长
|
||||
PictureFirePoint.picturePath.null = picturePath 不能为空
|
||||
PictureFirePoint.picturePath.length.illegal = picturePath 长度过长
|
||||
PictureFirePoint.memo.length.illegal = memo 长度过长
|
||||
PictureFirePoint.size.length.illegal = size 长度过长
|
||||
PictureFirePoint.md5.null = md5 不能为空
|
||||
PictureFirePoint.md5.length.illegal = md5 长度过长
|
||||
PictureFirePoint.shootTimeTs.null = shootTimeTs 不能为空
|
||||
|
||||
PersonInvestigator.id.null = id 不能为空
|
||||
PersonInvestigator.name.null = name 不能为空
|
||||
PersonInvestigator.name.length.illegal = name 长度过长
|
||||
PersonInvestigator.code.length.illegal = code 长度过长
|
||||
PersonInvestigator.telephone.null = telephone 不能为空
|
||||
PersonInvestigator.telephone.format.illegal = telephone 格式非法
|
||||
PersonInvestigator.sex.null = sex 不能为空
|
||||
PersonInvestigator.sex.format.illegal = sex 格式非法
|
||||
PersonInvestigator.idCard.length.illegal = idCard 长度过长
|
||||
PersonInvestigator.memo.length.illegal = memo 长度过长
|
||||
PersonInvestigator.linkUserName.null = linkUserName 不能为空
|
||||
PersonInvestigator.linkUserName.format.illegal = linkUserName 格式非法
|
||||
PersonInvestigator.password.null = password 不能为空
|
||||
PersonInvestigator.password.format.illegal = password 格式非法
|
||||
InvestigateFirePoint.verifyTimeTs.null = verifyTimeTs 不能为空
|
||||
|
||||
InvestigateFirePoint.id.null = id 不能为空
|
||||
InvestigateFirePoint.fireCode.null = fireCode 不能为空
|
||||
InvestigateFirePoint.fireCode.length.illegal = fireCode 长度过长
|
||||
InvestigateFirePoint.countyCode.null = countyCode 不能为空
|
||||
InvestigateFirePoint.countyCode.length.illegal = countyCode 长度过长
|
||||
InvestigateFirePoint.countyName.null = countyName 不能为空
|
||||
InvestigateFirePoint.countyName.length.illegal = countyName 长度过长
|
||||
InvestigateFirePoint.address.null = address 不能为空
|
||||
InvestigateFirePoint.fireArea.null = fireArea 不能为空
|
||||
InvestigateFirePoint.verifyType.null = verifyType 不能为空
|
||||
InvestigateFirePoint.satelliteType.null = satelliteType 不能为空
|
||||
InvestigateFirePoint.satelliteType.length.illegal = satelliteType 长度过长
|
||||
|
||||
FileDocument.id.null = id 不能为空
|
||||
FileDocument.name.null = name 不能为空
|
||||
FileDocument.name.length.illegal = name 长度过长
|
||||
FileDocument.category.length.illegal = category 长度过长
|
||||
FileDocument.filePath.null = filePath 不能为空
|
||||
FileDocument.filePath.length.illegal = filePath 长度过长
|
||||
FileDocument.size.length.illegal = size 长度过长
|
||||
FileDocument.md5.null = md5 不能为空
|
||||
FileDocument.md5.length.illegal = md5 长度过长
|
||||
FileDocument.memo.length.illegal = memo 长度过长
|
||||
FileDocument.checkingToken.length.illegal = checkingToken 长度过长
|
||||
|
||||
AppFile.id.null = id 不能为空
|
||||
AppFile.name.null = name 不能为空
|
||||
AppFile.name.length.illegal = name 长度过长
|
||||
AppFile.appPath.null = appPath 不能为空
|
||||
AppFile.appPath.length.illegal = appPath 长度过长
|
||||
AppFile.versionNumber.null = versionNumber 不能为空
|
||||
AppFile.versionNumber.length.illegal = versionNumber 长度过长
|
||||
AppFile.versionNumber.format.illegal = versionNumber 格式不合法
|
||||
AppFile.size.null = size 不能为空
|
||||
AppFile.size.length.illegal = size 长度过长
|
||||
AppFile.md5.null = md5 不能为空
|
||||
AppFile.md5.length.illegal = md5 长度过长
|
||||
AppFile.memo.length.illegal = memo 长度过长
|
||||
|
||||
RealFirePoint.id.null = id 不能为空
|
||||
RealFirePoint.fireCode.null = fireCode 不能为空
|
||||
RealFirePoint.fireCode.length.illegal = fireCode 不合法
|
||||
RealFirePoint.countyCode.null = countyCode 不能为空
|
||||
RealFirePoint.countyCode.length.illegal = countyCode 不合法
|
||||
RealFirePoint.countyName.null = countyName 不能为空
|
||||
RealFirePoint.countyName.length.illegal = countyName 不合法
|
||||
RealFirePoint.address.null = address 不能为空
|
||||
RealFirePoint.address.length.illegal = address 不合法
|
||||
RealFirePoint.fireArea.null = fireArea 不能为空
|
||||
RealFirePoint.verifyTimeTs.null = verifyTimeTs 不能为空
|
||||
RealFirePoint.verifyType.null = verifyType 不能为空
|
||||
|
||||
InvestigationTeam.id.null = id 不能为空
|
||||
InvestigationTeam.teamName.null = teamName 不能为空
|
||||
InvestigationTeam.teamName.length.illegal = teamName 长度过长
|
||||
InvestigationTeam.memo.length.illegal = memo 长度过长
|
||||
InvestigationTeam.userName.null = userName 不能为空
|
||||
InvestigationTeam.userName.length.illegal = userName 长度过长
|
||||
InvestigationTeam.userRealName.null = userRealName 不能为空
|
||||
InvestigationTeam.userRealName.length.illegal = userRealName 长度过长
|
||||
|
||||
RelTeamInvestigator.id.null = id 不能为空
|
||||
RelTeamInvestigator.teamCode.null = teamCode 不能为空
|
||||
RelTeamInvestigator.teamCode.length.illegal = teamCode 长度过长
|
||||
RelTeamInvestigator.userName.null = userName 不能为空
|
||||
RelTeamInvestigator.userName.length.illegal = userName 长度过长
|
||||
RelTeamInvestigator.teamDeputy.null = teamDeputy 不能为空
|
||||
RelTeamInvestigator.memo.length.illegal = memo 长度过长
|
||||
RelTeamInvestigator.userRealName.null = userRealName 不能为空
|
||||
RelTeamInvestigator.userRealName.length.illegal = userRealName 长度过长
|
Reference in New Issue
Block a user