Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
cfedcf38
Commit
cfedcf38
authored
Mar 13, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-入离职登记提交
parent
a44409d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
131 additions
and
0 deletions
+131
-0
SysConfig.java
.../yifu/cloud/plus/v1/yifu/insurances/entity/SysConfig.java
+90
-0
SysConfigMapper.java
...v1/yifu/insurances/mapper/insurances/SysConfigMapper.java
+41
-0
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/SysConfig.java
0 → 100644
View file @
cfedcf38
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* @Author fxj
* @Description 系统配置表
* @Date 9:38 2025/3/13
* @Param
* @return
**/
@Data
@TableName
(
"sys_config"
)
@Schema
(
description
=
"系统配置表"
)
public
class
SysConfig
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 配置键
*/
@ExcelAttribute
(
name
=
"配置键"
,
isNotEmpty
=
true
,
errorInfo
=
"配置键不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"配置键不能为空"
)
@Length
(
max
=
32
,
message
=
"配置键不能超过32个字符"
)
@ExcelProperty
(
"配置键"
)
@Schema
(
description
=
"配置键"
)
private
String
configKey
;
/**
* 配置值
*/
@ExcelAttribute
(
name
=
"配置值"
,
isNotEmpty
=
true
,
errorInfo
=
"配置值不能为空"
)
@NotBlank
(
message
=
"配置值不能为空"
)
@ExcelProperty
(
"配置值"
)
@Schema
(
description
=
"配置值"
)
private
String
configValue
;
/**
* 配置值1
*/
@ExcelAttribute
(
name
=
"配置值1"
)
@ExcelProperty
(
"配置值1"
)
@Schema
(
description
=
"配置值1"
)
private
String
configValue1
;
/**
* 配置值2
*/
@ExcelAttribute
(
name
=
"配置值2"
)
@ExcelProperty
(
"配置值2"
)
@Schema
(
description
=
"配置值2"
)
private
String
configValue2
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
255
)
@Length
(
max
=
255
,
message
=
"备注不能超过255个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/insurances/SysConfigMapper.java
0 → 100644
View file @
cfedcf38
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
mapper
.
insurances
;
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.SysConfig
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* @Author fxj
* @Description 系统配置表
* @Date 9:40 2025/3/13
* @Param
* @return
**/
@Mapper
public
interface
SysConfigMapper
extends
BaseMapper
<
SysConfig
>
{
/**
* 系统限制配置表简单分页查询
*
* @param configKey 键
* @return
*/
SysConfig
getSysConfigLimitByKey
(
@Param
(
"configKey"
)
String
configKey
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment