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
af79d1c7
Commit
af79d1c7
authored
Jun 11, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 瓜子相关表代码初始化
parent
c1775c64
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
3085 additions
and
0 deletions
+3085
-0
LGuaziOfferRecord.java
...cloud/plus/v1/yifu/archives/entity/LGuaziOfferRecord.java
+77
-0
TGzOfferInfo.java
...yifu/cloud/plus/v1/yifu/archives/entity/TGzOfferInfo.java
+341
-0
LGuaziOfferRecordVo.java
...u/cloud/plus/v1/yifu/archives/vo/LGuaziOfferRecordVo.java
+31
-0
TGzOfferInfoVo.java
...m/yifu/cloud/plus/v1/yifu/archives/vo/TGzOfferInfoVo.java
+32
-0
LGuaziOfferRecordController.java
...yifu/archives/controller/LGuaziOfferRecordController.java
+85
-0
TGzOfferInfoController.java
...s/v1/yifu/archives/controller/TGzOfferInfoController.java
+99
-0
LGuaziOfferRecordMapper.java
...plus/v1/yifu/archives/mapper/LGuaziOfferRecordMapper.java
+41
-0
TGzOfferInfoMapper.java
...loud/plus/v1/yifu/archives/mapper/TGzOfferInfoMapper.java
+41
-0
LGuaziOfferRecordService.java
...us/v1/yifu/archives/service/LGuaziOfferRecordService.java
+39
-0
TGzOfferInfoService.java
...ud/plus/v1/yifu/archives/service/TGzOfferInfoService.java
+39
-0
LGuaziOfferRecordServiceImpl.java
...u/archives/service/impl/LGuaziOfferRecordServiceImpl.java
+46
-0
TGzOfferInfoServiceImpl.java
...1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
+47
-0
LGuaziOfferRecordMapper.xml
...biz/src/main/resources/mapper/LGuaziOfferRecordMapper.xml
+84
-0
TGzOfferInfoMapper.xml
...ives-biz/src/main/resources/mapper/TGzOfferInfoMapper.xml
+239
-0
SysOutEmpCategorizeFormInfo.java
...v1/yifu/admin/api/entity/SysOutEmpCategorizeFormInfo.java
+80
-0
SysOutEmpFormInfo.java
...loud.plus.v1/yifu/admin/api/entity/SysOutEmpFormInfo.java
+170
-0
SysOutRelDict.java
...fu.cloud.plus.v1/yifu/admin/api/entity/SysOutRelDict.java
+68
-0
SysOutRelDictItem.java
...loud.plus.v1/yifu/admin/api/entity/SysOutRelDictItem.java
+77
-0
SysOutEmpFormInfoVo.java
....cloud.plus.v1/yifu/admin/api/vo/SysOutEmpFormInfoVo.java
+39
-0
SysOutEmpCategorizeFormInfoController.java
...min/controller/SysOutEmpCategorizeFormInfoController.java
+112
-0
SysOutEmpFormInfoController.java
...v1/yifu/admin/controller/SysOutEmpFormInfoController.java
+124
-0
SysOutRelDictController.java
...lus/v1/yifu/admin/controller/SysOutRelDictController.java
+110
-0
SysOutRelDictItemController.java
...v1/yifu/admin/controller/SysOutRelDictItemController.java
+111
-0
SysOutEmpCategorizeFormInfoMapper.java
.../yifu/admin/mapper/SysOutEmpCategorizeFormInfoMapper.java
+42
-0
SysOutEmpFormInfoMapper.java
...ud/plus/v1/yifu/admin/mapper/SysOutEmpFormInfoMapper.java
+42
-0
SysOutRelDictItemMapper.java
...ud/plus/v1/yifu/admin/mapper/SysOutRelDictItemMapper.java
+32
-0
SysOutRelDictMapper.java
.../cloud/plus/v1/yifu/admin/mapper/SysOutRelDictMapper.java
+32
-0
SysOutEmpCategorizeFormInfoService.java
...ifu/admin/service/SysOutEmpCategorizeFormInfoService.java
+41
-0
SysOutEmpFormInfoService.java
.../plus/v1/yifu/admin/service/SysOutEmpFormInfoService.java
+42
-0
SysOutRelDictItemService.java
.../plus/v1/yifu/admin/service/SysOutRelDictItemService.java
+35
-0
SysOutRelDictService.java
...loud/plus/v1/yifu/admin/service/SysOutRelDictService.java
+35
-0
SysOutEmpCategorizeFormInfoServiceImpl.java
.../service/impl/SysOutEmpCategorizeFormInfoServiceImpl.java
+49
-0
SysOutEmpFormInfoServiceImpl.java
...yifu/admin/service/impl/SysOutEmpFormInfoServiceImpl.java
+74
-0
SysOutRelDictItemServiceImpl.java
...yifu/admin/service/impl/SysOutRelDictItemServiceImpl.java
+57
-0
SysOutRelDictServiceImpl.java
.../v1/yifu/admin/service/impl/SysOutRelDictServiceImpl.java
+57
-0
SysOutEmpCategorizeFormInfoMapper.xml
...in/resources/mapper/SysOutEmpCategorizeFormInfoMapper.xml
+100
-0
SysOutEmpFormInfoMapper.xml
...biz/src/main/resources/mapper/SysOutEmpFormInfoMapper.xml
+174
-0
SysOutRelDictItemMapper.xml
...biz/src/main/resources/mapper/SysOutRelDictItemMapper.xml
+74
-0
SysOutRelDictMapper.xml
...pms-biz/src/main/resources/mapper/SysOutRelDictMapper.xml
+67
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/LGuaziOfferRecord.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Data
@TableName
(
"l_guazi_offer_record"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子offer操作日志"
)
public
class
LGuaziOfferRecord
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 关联瓜子offerID
*/
@NotBlank
(
message
=
"关联瓜子offerID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子offerID不能超过32个字符"
)
@Schema
(
description
=
"关联瓜子offerID"
)
private
String
offerId
;
/**
* 操作内容
*/
@NotBlank
(
message
=
"操作内容不能为空"
)
@Schema
(
description
=
"操作内容"
)
private
String
content
;
/**
* 记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)
*/
@Length
(
max
=
2
,
message
=
"记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)不能超过2个字符"
)
@Schema
(
description
=
"记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)"
)
private
String
recordFrom
;
/**
* 删除标记
*/
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzOfferInfo.java
0 → 100644
View file @
af79d1c7
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/LGuaziOfferRecordVo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
lombok.Data
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Data
public
class
LGuaziOfferRecordVo
extends
LGuaziOfferRecord
{
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzOfferInfoVo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
lombok.Data
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Data
public
class
TGzOfferInfoVo
extends
TGzOfferInfo
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/LGuaziOfferRecordController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.LGuaziOfferRecordService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/lguaziofferrecord"
)
@Tag
(
name
=
"瓜子offer操作日志管理"
)
public
class
LGuaziOfferRecordController
{
private
final
LGuaziOfferRecordService
lGuaziOfferRecordService
;
/**
* 简单分页查询
* @param page 分页对象
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
LGuaziOfferRecord
>>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
LGuaziOfferRecord
lGuaziOfferRecord
)
{
return
new
R
<>(
lGuaziOfferRecordService
.
getLGuaziOfferRecordPage
(
page
,
lGuaziOfferRecord
));
}
/**
* 通过id查询瓜子offer操作日志
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_lguaziofferrecord_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_lguaziofferrecord_get')"
)
public
R
<
LGuaziOfferRecord
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
lGuaziOfferRecordService
.
getById
(
id
));
}
/**
* 新增瓜子offer操作日志
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return R
*/
@Operation
(
summary
=
"新增瓜子offer操作日志"
,
description
=
"新增瓜子offer操作日志:hasPermission('archives_lguaziofferrecord_add')"
)
@SysLog
(
"新增瓜子offer操作日志"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('archives_lguaziofferrecord_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
LGuaziOfferRecord
lGuaziOfferRecord
)
{
return
R
.
ok
(
lGuaziOfferRecordService
.
save
(
lGuaziOfferRecord
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzOfferInfoController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzOfferInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzofferinfo"
)
@Tag
(
name
=
"瓜子offer信息接收表管理"
)
public
class
TGzOfferInfoController
{
private
final
TGzOfferInfoService
tGzOfferInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzOfferInfo
>>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
TGzOfferInfo
tGzOfferInfo
)
{
return
new
R
<>(
tGzOfferInfoService
.
getTGzOfferInfoPage
(
page
,
tGzOfferInfo
));
}
/**
* 通过id查询瓜子offer信息接收表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzofferinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzofferinfo_get')"
)
public
R
<
TGzOfferInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzOfferInfoService
.
getById
(
id
));
}
/**
* 新增瓜子offer信息接收表
* @param tGzOfferInfo 瓜子offer信息接收表
* @return R
*/
@Operation
(
summary
=
"新增瓜子offer信息接收表"
,
description
=
"新增瓜子offer信息接收表:hasPermission('archives_tgzofferinfo_add')"
)
@SysLog
(
"新增瓜子offer信息接收表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzofferinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TGzOfferInfo
tGzOfferInfo
)
{
return
R
.
ok
(
tGzOfferInfoService
.
save
(
tGzOfferInfo
));
}
/**
* 修改瓜子offer信息接收表
* @param tGzOfferInfo 瓜子offer信息接收表
* @return R
*/
@Operation
(
summary
=
"修改瓜子offer信息接收表"
,
description
=
"修改瓜子offer信息接收表:hasPermission('archives_tgzofferinfo_edit')"
)
@SysLog
(
"修改瓜子offer信息接收表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzofferinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TGzOfferInfo
tGzOfferInfo
)
{
return
R
.
ok
(
tGzOfferInfoService
.
updateById
(
tGzOfferInfo
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/LGuaziOfferRecordMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Mapper
public
interface
LGuaziOfferRecordMapper
extends
BaseMapper
<
LGuaziOfferRecord
>
{
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
IPage
<
LGuaziOfferRecord
>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
@Param
(
"lGuaziOfferRecord"
)
LGuaziOfferRecord
lGuaziOfferRecord
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzOfferInfoMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Mapper
public
interface
TGzOfferInfoMapper
extends
BaseMapper
<
TGzOfferInfo
>
{
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
IPage
<
TGzOfferInfo
>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
@Param
(
"tGzOfferInfo"
)
TGzOfferInfo
tGzOfferInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/LGuaziOfferRecordService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
public
interface
LGuaziOfferRecordService
extends
IService
<
LGuaziOfferRecord
>
{
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
IPage
<
LGuaziOfferRecord
>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
LGuaziOfferRecord
lGuaziOfferRecord
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzOfferInfoService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
public
interface
TGzOfferInfoService
extends
IService
<
TGzOfferInfo
>
{
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
IPage
<
TGzOfferInfo
>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
TGzOfferInfo
tGzOfferInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/LGuaziOfferRecordServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.LGuaziOfferRecordMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.LGuaziOfferRecordService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Log4j2
@Service
public
class
LGuaziOfferRecordServiceImpl
extends
ServiceImpl
<
LGuaziOfferRecordMapper
,
LGuaziOfferRecord
>
implements
LGuaziOfferRecordService
{
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
@Override
public
IPage
<
LGuaziOfferRecord
>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
LGuaziOfferRecord
lGuaziOfferRecord
){
return
baseMapper
.
getLGuaziOfferRecordPage
(
page
,
lGuaziOfferRecord
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzOfferInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzOfferInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Log4j2
@Service
public
class
TGzOfferInfoServiceImpl
extends
ServiceImpl
<
TGzOfferInfoMapper
,
TGzOfferInfo
>
implements
TGzOfferInfoService
{
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
@Override
public
IPage
<
TGzOfferInfo
>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
TGzOfferInfo
tGzOfferInfo
){
return
baseMapper
.
getTGzOfferInfoPage
(
page
,
tGzOfferInfo
);
}
}
yifu-archives/yifu-archives-biz/src/main/resources/mapper/LGuaziOfferRecordMapper.xml
0 → 100644
View file @
af79d1c7
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ 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)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.LGuaziOfferRecordMapper"
>
<resultMap
id=
"lGuaziOfferRecordMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"offerId"
column=
"offer_id"
/>
<result
property=
"content"
column=
"content"
/>
<result
property=
"recordFrom"
column=
"record_from"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.offer_id,
a.content,
a.record_from,
a.del_flag,
a.create_time,
a.create_by,
a.create_name
</sql>
<sql
id=
"lGuaziOfferRecord_where"
>
<if
test=
"lGuaziOfferRecord != null"
>
<if
test=
"lGuaziOfferRecord.id != null and lGuaziOfferRecord.id.trim() != ''"
>
AND a.id = #{lGuaziOfferRecord.id}
</if>
<if
test=
"lGuaziOfferRecord.offerId != null and lGuaziOfferRecord.offerId.trim() != ''"
>
AND a.offer_id = #{lGuaziOfferRecord.offerId}
</if>
<if
test=
"lGuaziOfferRecord.content != null and lGuaziOfferRecord.content.trim() != ''"
>
AND a.content = #{lGuaziOfferRecord.content}
</if>
<if
test=
"lGuaziOfferRecord.recordFrom != null and lGuaziOfferRecord.recordFrom.trim() != ''"
>
AND a.record_from = #{lGuaziOfferRecord.recordFrom}
</if>
<if
test=
"lGuaziOfferRecord.delFlag != null and lGuaziOfferRecord.delFlag.trim() != ''"
>
AND a.del_flag = #{lGuaziOfferRecord.delFlag}
</if>
<if
test=
"lGuaziOfferRecord.createTime != null"
>
AND a.create_time = #{lGuaziOfferRecord.createTime}
</if>
<if
test=
"lGuaziOfferRecord.createBy != null and lGuaziOfferRecord.createBy.trim() != ''"
>
AND a.create_by = #{lGuaziOfferRecord.createBy}
</if>
<if
test=
"lGuaziOfferRecord.createName != null and lGuaziOfferRecord.createName.trim() != ''"
>
AND a.create_name = #{lGuaziOfferRecord.createName}
</if>
</if>
</sql>
<!--lGuaziOfferRecord简单分页查询-->
<select
id=
"getLGuaziOfferRecordPage"
resultMap=
"lGuaziOfferRecordMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM l_guazi_offer_record a
<where>
1=1
<include
refid=
"lGuaziOfferRecord_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzOfferInfoMapper.xml
0 → 100644
View file @
af79d1c7
This diff is collapsed.
Click to expand it.
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutEmpCategorizeFormInfo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_emp_categorize_form_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子采集表单信息分类表"
)
public
class
SysOutEmpCategorizeFormInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 分类名称
*/
@Length
(
max
=
100
,
message
=
"分类名称不能超过100个字符"
)
@Schema
(
description
=
"分类名称"
)
private
String
name
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* 分组类型(1:单个信息组,2:多个信息组)
*/
@Length
(
max
=
1
,
message
=
"分组类型(1:单个信息组,2:多个信息组)不能超过1个字符"
)
@Schema
(
description
=
"分组类型(1:单个信息组,2:多个信息组)"
)
private
String
groupType
;
/**
* C端是否可见(0:是,1:否)
*/
@Length
(
max
=
1
,
message
=
"C端是否可见(0:是,1:否)不能超过1个字符"
)
@Schema
(
description
=
"C端是否可见(0:是,1:否)"
)
private
String
isLookToc
;
/**
* 删除标记
*/
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutEmpFormInfo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_emp_form_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子采集字段配置表(前端用配置进行展示)"
)
public
class
SysOutEmpFormInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 归属分类ID
*/
@Length
(
max
=
32
,
message
=
"归属分类ID不能超过32个字符"
)
@Schema
(
description
=
"归属分类ID"
)
private
String
categorizeId
;
/**
* 字段标识名称
*/
@Length
(
max
=
100
,
message
=
"字段标识名称不能超过100个字符"
)
@Schema
(
description
=
"字段标识名称"
)
private
String
fieldName
;
/**
* 字段中文名称
*/
@Length
(
max
=
100
,
message
=
"字段中文名称不能超过100个字符"
)
@Schema
(
description
=
"字段中文名称"
)
private
String
fieldZhName
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* C端是否可见(0:是,1:否)
*/
@Length
(
max
=
1
,
message
=
"C端是否可见(0:是,1:否)不能超过1个字符"
)
@Schema
(
description
=
"C端是否可见(0:是,1:否)"
)
private
String
isLookToc
;
/**
* 是否员工侧填写(1:系统带出不可编辑,2:系统带出可编辑,3:系统未带出员工填写)
*/
@Length
(
max
=
2
,
message
=
"是否员工侧填写(1:系统带出不可编辑,2:系统带出可编辑,3:系统未带出员工填写)不能超过2个字符"
)
@Schema
(
description
=
"是否员工侧填写(1:系统带出不可编辑,2:系统带出可编辑,3:系统未带出员工填写)"
)
private
String
empFillType
;
/**
* 字段状态( 0正常 1停用)
*/
@Length
(
max
=
1
,
message
=
"字段状态( 0正常 1停用)不能超过1个字符"
)
@Schema
(
description
=
"字段状态( 0正常 1停用)"
)
private
String
fieldStatus
;
/**
* 字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)
*/
@Length
(
max
=
2
,
message
=
"字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)不能超过2个字符"
)
@Schema
(
description
=
"字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)"
)
private
String
fieldType
;
/**
* 对应字典标识
*/
@Length
(
max
=
100
,
message
=
"对应字典标识不能超过100个字符"
)
@Schema
(
description
=
"对应字典标识"
)
private
String
dictType
;
/**
* 是否必填(0:是,1:否,2:联动必填)
*/
@Length
(
max
=
2
,
message
=
"是否必填(0:是,1:否,2:联动必填)不能超过2个字符"
)
@Schema
(
description
=
"是否必填(0:是,1:否,2:联动必填)"
)
private
String
isRequired
;
/**
* 联动必填时,联动字段
*/
@Length
(
max
=
100
,
message
=
"联动必填时,联动字段不能超过100个字符"
)
@Schema
(
description
=
"联动必填时,联动字段"
)
private
String
relField
;
/**
* 联动必填时,联动字段值
*/
@Length
(
max
=
100
,
message
=
"联动必填时,联动字段值不能超过100个字符"
)
@Schema
(
description
=
"联动必填时,联动字段值"
)
private
String
relFieldValue
;
/**
* 删除标记
*/
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 是否有映射关系(0:是,1:否)
*/
@Length
(
max
=
1
,
message
=
"是否有映射关系(0:是,1:否)不能超过1个字符"
)
@Schema
(
description
=
"是否有映射关系(0:是,1:否)"
)
private
String
haveWanxinMapping
;
/**
* 有映射关系时,映射类型(0:字段映射,1:字典值映射)
*/
@Length
(
max
=
1
,
message
=
"有映射关系时,映射类型(0:字段映射,1:字典值映射)不能超过1个字符"
)
@Schema
(
description
=
"有映射关系时,映射类型(0:字段映射,1:字典值映射)"
)
private
String
wanxinMappingType
;
/**
* 有映射关系时,皖信字段标识名称
*/
@Length
(
max
=
100
,
message
=
"有映射关系时,皖信字段标识名称不能超过100个字符"
)
@Schema
(
description
=
"有映射关系时,皖信字段标识名称"
)
private
String
wanxinFieldName
;
/**
* 有映射关系时,皖信字段中文名称
*/
@Length
(
max
=
100
,
message
=
"有映射关系时,皖信字段中文名称不能超过100个字符"
)
@Schema
(
description
=
"有映射关系时,皖信字段中文名称"
)
private
String
wanxinFieldZhName
;
/**
* 有映射关系时,皖信字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)
*/
@Length
(
max
=
2
,
message
=
"有映射关系时,皖信字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)不能超过2个字符"
)
@Schema
(
description
=
"有映射关系时,皖信字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)"
)
private
String
wanxinFieldType
;
/**
* 是否校验(0:是,1:否)
*/
@Length
(
max
=
2
,
message
=
"是否校验(0:是,1:否)不能超过2个字符"
)
@Schema
(
description
=
"是否校验(0:是,1:否)"
)
private
String
isCheck
;
/**
* 校验规则(前端提供)
*/
@Length
(
max
=
100
,
message
=
"校验规则(前端提供)不能超过100个字符"
)
@Schema
(
description
=
"校验规则(前端提供)"
)
private
String
checkValue
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutRelDict.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
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.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_rel_dict"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"外部字典与皖信字典的映射关系表"
)
public
class
SysOutRelDict
extends
BaseEntity
{
/**
* 字典ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"字典ID"
)
private
Long
id
;
/**
* 外部端字典标识
*/
@Length
(
max
=
128
,
message
=
"外部端字典标识不能超过128个字符"
)
@Schema
(
description
=
"外部端字典标识"
)
private
String
clientType
;
/**
* 对照皖信字典项标识
*/
@Length
(
max
=
128
,
message
=
"对照皖信字典项标识不能超过128个字符"
)
@Schema
(
description
=
"对照皖信字典项标识"
)
private
String
sysDictType
;
/**
* 外部端标识(gz:瓜子)
*/
@Length
(
max
=
32
,
message
=
"外部端标识(gz:瓜子)不能超过32个字符"
)
@Schema
(
description
=
"外部端标识(gz:瓜子)"
)
private
String
clientId
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutRelDictItem.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
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.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_rel_dict_item"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"外部字典值数据表"
)
public
class
SysOutRelDictItem
extends
BaseEntity
{
/**
* 字典值ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"字典值ID"
)
private
Long
id
;
/**
* 外部端所属字典类型
*/
@Length
(
max
=
128
,
message
=
"外部端所属字典类型不能超过128个字符"
)
@Schema
(
description
=
"外部端所属字典类型"
)
private
String
dictType
;
/**
* 外部端字典值value
*/
@Length
(
max
=
20
,
message
=
"外部端字典值value不能超过20个字符"
)
@Schema
(
description
=
"外部端字典值value"
)
private
String
value
;
/**
* 对照皖信所属字典类型
*/
@Schema
(
description
=
"对照皖信所属字典类型"
)
private
Long
sysDictType
;
/**
* 对照皖信字典值
*/
@Schema
(
description
=
"对照皖信字典值"
)
private
Long
sysDictValue
;
/**
* 外部端标识(gz:瓜子)
*/
@Length
(
max
=
32
,
message
=
"外部端标识(gz:瓜子)不能超过32个字符"
)
@Schema
(
description
=
"外部端标识(gz:瓜子)"
)
private
String
clientId
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/vo/SysOutEmpFormInfoVo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
public
class
SysOutEmpFormInfoVo
extends
SysOutEmpFormInfo
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutEmpCategorizeFormInfoController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpCategorizeFormInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutempcategorizeforminfo"
)
@Tag
(
name
=
"瓜子采集表单信息分类表管理"
)
public
class
SysOutEmpCategorizeFormInfoController
{
private
final
SysOutEmpCategorizeFormInfoService
sysOutEmpCategorizeFormInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
SysOutEmpCategorizeFormInfo
>>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
new
R
<>(
sysOutEmpCategorizeFormInfoService
.
getSysOutEmpCategorizeFormInfoPage
(
page
,
sysOutEmpCategorizeFormInfo
));
}
/**
* 通过id查询瓜子采集表单信息分类表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutempcategorizeforminfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_get')"
)
public
R
<
SysOutEmpCategorizeFormInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
getById
(
id
));
}
/**
* 新增瓜子采集表单信息分类表
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return R
*/
@Operation
(
summary
=
"新增瓜子采集表单信息分类表"
,
description
=
"新增瓜子采集表单信息分类表:hasPermission('admin_sysoutempcategorizeforminfo_add')"
)
@SysLog
(
"新增瓜子采集表单信息分类表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
save
(
sysOutEmpCategorizeFormInfo
));
}
/**
* 修改瓜子采集表单信息分类表
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return R
*/
@Operation
(
summary
=
"修改瓜子采集表单信息分类表"
,
description
=
"修改瓜子采集表单信息分类表:hasPermission('admin_sysoutempcategorizeforminfo_edit')"
)
@SysLog
(
"修改瓜子采集表单信息分类表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
updateById
(
sysOutEmpCategorizeFormInfo
));
}
/**
* 通过id删除瓜子采集表单信息分类表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除瓜子采集表单信息分类表"
,
description
=
"通过id删除瓜子采集表单信息分类表:hasPermission('admin_sysoutempcategorizeforminfo_del')"
)
@SysLog
(
"通过id删除瓜子采集表单信息分类表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutEmpFormInfoController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpFormInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutempforminfo"
)
@Tag
(
name
=
"瓜子采集字段配置表(前端用配置进行展示)管理"
)
public
class
SysOutEmpFormInfoController
{
private
final
SysOutEmpFormInfoService
sysOutEmpFormInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
SysOutEmpFormInfoVo
>>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
SysOutEmpFormInfoVo
sysOutEmpFormInfo
)
{
return
new
R
<>(
sysOutEmpFormInfoService
.
getSysOutEmpFormInfoPage
(
page
,
sysOutEmpFormInfo
));
}
/**
* 不分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
SysOutEmpFormInfoVo
>>
getSysOutEmpFormInfoNoPage
(
@RequestBody
SysOutEmpFormInfoVo
sysOutEmpFormInfo
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
noPageDiy
(
sysOutEmpFormInfo
));
}
/**
* 通过id查询瓜子采集字段配置表(前端用配置进行展示)
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutempforminfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_get')"
)
public
R
<
SysOutEmpFormInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
getById
(
id
));
}
/**
* 新增瓜子采集字段配置表(前端用配置进行展示)
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return R
*/
@Operation
(
summary
=
"新增瓜子采集字段配置表(前端用配置进行展示)"
,
description
=
"新增瓜子采集字段配置表(前端用配置进行展示):hasPermission('admin_sysoutempforminfo_add')"
)
@SysLog
(
"新增瓜子采集字段配置表(前端用配置进行展示)"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutEmpFormInfo
sysOutEmpFormInfo
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
save
(
sysOutEmpFormInfo
));
}
/**
* 修改瓜子采集字段配置表(前端用配置进行展示)
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return R
*/
@Operation
(
summary
=
"修改瓜子采集字段配置表(前端用配置进行展示)"
,
description
=
"修改瓜子采集字段配置表(前端用配置进行展示):hasPermission('admin_sysoutempforminfo_edit')"
)
@SysLog
(
"修改瓜子采集字段配置表(前端用配置进行展示)"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutEmpFormInfo
sysOutEmpFormInfo
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
updateById
(
sysOutEmpFormInfo
));
}
/**
* 通过id删除瓜子采集字段配置表(前端用配置进行展示)
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除瓜子采集字段配置表(前端用配置进行展示)"
,
description
=
"通过id删除瓜子采集字段配置表(前端用配置进行展示):hasPermission('admin_sysoutempforminfo_del')"
)
@SysLog
(
"通过id删除瓜子采集字段配置表(前端用配置进行展示)"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutRelDictController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
controller
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutRelDictService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutreldict"
)
@Tag
(
name
=
"外部字典与皖信字典的映射关系表管理"
)
public
class
SysOutRelDictController
{
private
final
SysOutRelDictService
sysOutRelDictService
;
/**
* 不分页查询
* @param sysOutRelDict 外部字典与皖信字典的映射关系表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
SysOutRelDict
>>
getSysOutRelDictNoPage
(
@RequestBody
SysOutRelDict
sysOutRelDict
)
{
return
R
.
ok
(
sysOutRelDictService
.
noPageDiy
(
sysOutRelDict
));
}
/**
* 通过id查询外部字典与皖信字典的映射关系表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutreldict_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_get')"
)
public
R
<
SysOutRelDict
>
getById
(
@PathVariable
(
"id"
)
Long
id
)
{
return
R
.
ok
(
sysOutRelDictService
.
getById
(
id
));
}
/**
* 新增外部字典与皖信字典的映射关系表
* @param sysOutRelDict 外部字典与皖信字典的映射关系表
* @return R
*/
@Operation
(
summary
=
"新增外部字典与皖信字典的映射关系表"
,
description
=
"新增外部字典与皖信字典的映射关系表:hasPermission('admin_sysoutreldict_add')"
)
@SysLog
(
"新增外部字典与皖信字典的映射关系表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutRelDict
sysOutRelDict
)
{
return
R
.
ok
(
sysOutRelDictService
.
save
(
sysOutRelDict
));
}
/**
* 修改外部字典与皖信字典的映射关系表
* @param sysOutRelDict 外部字典与皖信字典的映射关系表
* @return R
*/
@Operation
(
summary
=
"修改外部字典与皖信字典的映射关系表"
,
description
=
"修改外部字典与皖信字典的映射关系表:hasPermission('admin_sysoutreldict_edit')"
)
@SysLog
(
"修改外部字典与皖信字典的映射关系表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutRelDict
sysOutRelDict
)
{
return
R
.
ok
(
sysOutRelDictService
.
updateById
(
sysOutRelDict
));
}
/**
* 通过id删除外部字典与皖信字典的映射关系表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除外部字典与皖信字典的映射关系表"
,
description
=
"通过id删除外部字典与皖信字典的映射关系表:hasPermission('admin_sysoutreldict_del')"
)
@SysLog
(
"通过id删除外部字典与皖信字典的映射关系表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
Long
id
)
{
return
R
.
ok
(
sysOutRelDictService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutRelDictItemController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
controller
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutRelDictItemService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutreldictitem"
)
@Tag
(
name
=
"外部字典值数据表管理"
)
public
class
SysOutRelDictItemController
{
private
final
SysOutRelDictItemService
sysOutRelDictItemService
;
/**
* 不分页查询
* @param sysOutRelDictItem 外部字典值数据表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
SysOutRelDictItem
>>
getSysOutRelDictItemNoPage
(
@RequestBody
SysOutRelDictItem
sysOutRelDictItem
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
noPageDiy
(
sysOutRelDictItem
));
}
/**
* 通过id查询外部字典值数据表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutreldictitem_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_get')"
)
public
R
<
SysOutRelDictItem
>
getById
(
@PathVariable
(
"id"
)
Long
id
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
getById
(
id
));
}
/**
* 新增外部字典值数据表
* @param sysOutRelDictItem 外部字典值数据表
* @return R
*/
@Operation
(
summary
=
"新增外部字典值数据表"
,
description
=
"新增外部字典值数据表:hasPermission('admin_sysoutreldictitem_add')"
)
@SysLog
(
"新增外部字典值数据表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutRelDictItem
sysOutRelDictItem
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
save
(
sysOutRelDictItem
));
}
/**
* 修改外部字典值数据表
* @param sysOutRelDictItem 外部字典值数据表
* @return R
*/
@Operation
(
summary
=
"修改外部字典值数据表"
,
description
=
"修改外部字典值数据表:hasPermission('admin_sysoutreldictitem_edit')"
)
@SysLog
(
"修改外部字典值数据表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutRelDictItem
sysOutRelDictItem
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
updateById
(
sysOutRelDictItem
));
}
/**
* 通过id删除外部字典值数据表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除外部字典值数据表"
,
description
=
"通过id删除外部字典值数据表:hasPermission('admin_sysoutreldictitem_del')"
)
@SysLog
(
"通过id删除外部字典值数据表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
Long
id
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutEmpCategorizeFormInfoMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutEmpCategorizeFormInfoMapper
extends
BaseMapper
<
SysOutEmpCategorizeFormInfo
>
{
/**
* 瓜子采集表单信息分类表简单分页查询
*
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
@Param
(
"sysOutEmpCategorizeFormInfo"
)
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutEmpFormInfoMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutEmpFormInfoMapper
extends
BaseMapper
<
SysOutEmpFormInfo
>
{
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
IPage
<
SysOutEmpFormInfoVo
>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
@Param
(
"sysOutEmpFormInfo"
)
SysOutEmpFormInfoVo
sysOutEmpFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutRelDictItemMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutRelDictItemMapper
extends
BaseMapper
<
SysOutRelDictItem
>
{
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutRelDictMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutRelDictMapper
extends
BaseMapper
<
SysOutRelDict
>
{
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutEmpCategorizeFormInfoService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutEmpCategorizeFormInfoService
extends
IService
<
SysOutEmpCategorizeFormInfo
>
{
/**
* 瓜子采集表单信息分类表简单分页查询
*
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutEmpFormInfoService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
java.util.List
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutEmpFormInfoService
extends
IService
<
SysOutEmpFormInfo
>
{
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
IPage
<
SysOutEmpFormInfoVo
>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
SysOutEmpFormInfoVo
sysOutEmpFormInfo
);
List
<
SysOutEmpFormInfoVo
>
noPageDiy
(
SysOutEmpFormInfoVo
sysOutEmpFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutRelDictItemService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
java.util.List
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutRelDictItemService
extends
IService
<
SysOutRelDictItem
>
{
List
<
SysOutRelDictItem
>
noPageDiy
(
SysOutRelDictItem
searchVo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutRelDictService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
java.util.List
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutRelDictService
extends
IService
<
SysOutRelDict
>
{
List
<
SysOutRelDict
>
noPageDiy
(
SysOutRelDict
searchVo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutEmpCategorizeFormInfoServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutEmpCategorizeFormInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpCategorizeFormInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutEmpCategorizeFormInfoServiceImpl
extends
ServiceImpl
<
SysOutEmpCategorizeFormInfoMapper
,
SysOutEmpCategorizeFormInfo
>
implements
SysOutEmpCategorizeFormInfoService
{
/**
* 瓜子采集表单信息分类表简单分页查询
*
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
@Override
public
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
baseMapper
.
getSysOutEmpCategorizeFormInfoPage
(
page
,
sysOutEmpCategorizeFormInfo
);
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutEmpFormInfoServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutEmpFormInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpFormInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutEmpFormInfoServiceImpl
extends
ServiceImpl
<
SysOutEmpFormInfoMapper
,
SysOutEmpFormInfo
>
implements
SysOutEmpFormInfoService
{
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
*
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
@Override
public
IPage
<
SysOutEmpFormInfoVo
>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
SysOutEmpFormInfoVo
sysOutEmpFormInfo
)
{
return
baseMapper
.
getSysOutEmpFormInfoPage
(
page
,
sysOutEmpFormInfo
);
}
@Override
public
List
<
SysOutEmpFormInfoVo
>
noPageDiy
(
SysOutEmpFormInfoVo
searchVo
)
{
LambdaQueryWrapper
<
SysOutEmpFormInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
null
;
}
private
LambdaQueryWrapper
buildQueryWrapper
(
SysOutEmpFormInfoVo
entity
)
{
LambdaQueryWrapper
<
SysOutEmpFormInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
SysOutEmpFormInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutRelDictItemServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutRelDictItemMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutRelDictItemService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutRelDictItemServiceImpl
extends
ServiceImpl
<
SysOutRelDictItemMapper
,
SysOutRelDictItem
>
implements
SysOutRelDictItemService
{
@Override
public
List
<
SysOutRelDictItem
>
noPageDiy
(
SysOutRelDictItem
searchVo
)
{
LambdaQueryWrapper
<
SysOutRelDictItem
>
wrapper
=
buildQueryWrapper
(
searchVo
);
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
SysOutRelDictItem
entity
){
LambdaQueryWrapper
<
SysOutRelDictItem
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
SysOutRelDictItem:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutRelDictServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutRelDictMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutRelDictService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutRelDictServiceImpl
extends
ServiceImpl
<
SysOutRelDictMapper
,
SysOutRelDict
>
implements
SysOutRelDictService
{
@Override
public
List
<
SysOutRelDict
>
noPageDiy
(
SysOutRelDict
searchVo
)
{
LambdaQueryWrapper
<
SysOutRelDict
>
wrapper
=
buildQueryWrapper
(
searchVo
);
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
SysOutRelDict
entity
)
{
LambdaQueryWrapper
<
SysOutRelDict
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
SysOutRelDict:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutEmpCategorizeFormInfoMapper.xml
0 → 100644
View file @
af79d1c7
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ 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)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutEmpCategorizeFormInfoMapper"
>
<resultMap
id=
"sysOutEmpCategorizeFormInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"name"
column=
"name"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"groupType"
column=
"group_type"
/>
<result
property=
"isLookToc"
column=
"is_look_toc"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.name,
a.sort,
a.group_type,
a.is_look_toc,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time
</sql>
<sql
id=
"sysOutEmpCategorizeFormInfo_where"
>
<if
test=
"sysOutEmpCategorizeFormInfo != null"
>
<if
test=
"sysOutEmpCategorizeFormInfo.id != null and sysOutEmpCategorizeFormInfo.id.trim() != ''"
>
AND a.id = #{sysOutEmpCategorizeFormInfo.id}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.name != null and sysOutEmpCategorizeFormInfo.name.trim() != ''"
>
AND a.name = #{sysOutEmpCategorizeFormInfo.name}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.sort != null"
>
AND a.sort = #{sysOutEmpCategorizeFormInfo.sort}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.groupType != null and sysOutEmpCategorizeFormInfo.groupType.trim() != ''"
>
AND a.group_type = #{sysOutEmpCategorizeFormInfo.groupType}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.isLookToc != null and sysOutEmpCategorizeFormInfo.isLookToc.trim() != ''"
>
AND a.is_look_toc = #{sysOutEmpCategorizeFormInfo.isLookToc}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.delFlag != null and sysOutEmpCategorizeFormInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{sysOutEmpCategorizeFormInfo.delFlag}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.createTime != null"
>
AND a.create_time = #{sysOutEmpCategorizeFormInfo.createTime}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.createBy != null and sysOutEmpCategorizeFormInfo.createBy.trim() != ''"
>
AND a.create_by = #{sysOutEmpCategorizeFormInfo.createBy}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.createName != null and sysOutEmpCategorizeFormInfo.createName.trim() != ''"
>
AND a.create_name = #{sysOutEmpCategorizeFormInfo.createName}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.updateBy != null and sysOutEmpCategorizeFormInfo.updateBy.trim() != ''"
>
AND a.update_by = #{sysOutEmpCategorizeFormInfo.updateBy}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.updateTime != null"
>
AND a.update_time = #{sysOutEmpCategorizeFormInfo.updateTime}
</if>
</if>
</sql>
<!--sysOutEmpCategorizeFormInfo简单分页查询-->
<select
id=
"getSysOutEmpCategorizeFormInfoPage"
resultMap=
"sysOutEmpCategorizeFormInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_emp_categorize_form_info a
<where>
1=1
<include
refid=
"sysOutEmpCategorizeFormInfo_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutEmpFormInfoMapper.xml
0 → 100644
View file @
af79d1c7
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ 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)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutEmpFormInfoMapper"
>
<resultMap
id=
"sysOutEmpFormInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"categorizeId"
column=
"categorize_id"
/>
<result
property=
"fieldName"
column=
"field_name"
/>
<result
property=
"fieldZhName"
column=
"field_zh_name"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"isLookToc"
column=
"is_look_toc"
/>
<result
property=
"empFillType"
column=
"emp_fill_type"
/>
<result
property=
"fieldStatus"
column=
"field_status"
/>
<result
property=
"fieldType"
column=
"field_type"
/>
<result
property=
"dictType"
column=
"dict_type"
/>
<result
property=
"isRequired"
column=
"is_required"
/>
<result
property=
"relField"
column=
"rel_field"
/>
<result
property=
"relFieldValue"
column=
"rel_field_value"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"haveWanxinMapping"
column=
"have_wanxin_mapping"
/>
<result
property=
"wanxinMappingType"
column=
"wanxin_mapping_type"
/>
<result
property=
"wanxinFieldName"
column=
"wanxin_field_name"
/>
<result
property=
"wanxinFieldZhName"
column=
"wanxin_field_zh_name"
/>
<result
property=
"wanxinFieldType"
column=
"wanxin_field_type"
/>
<result
property=
"isCheck"
column=
"is_check"
/>
<result
property=
"checkValue"
column=
"check_value"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.categorize_id,
a.field_name,
a.field_zh_name,
a.sort,
a.is_look_toc,
a.emp_fill_type,
a.field_status,
a.field_type,
a.dict_type,
a.is_required,
a.rel_field,
a.rel_field_value,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.have_wanxin_mapping,
a.wanxin_mapping_type,
a.wanxin_field_name,
a.wanxin_field_zh_name,
a.wanxin_field_type,
a.is_check,
a.check_value
</sql>
<sql
id=
"sysOutEmpFormInfo_where"
>
<if
test=
"sysOutEmpFormInfo != null"
>
<if
test=
"sysOutEmpFormInfo.id != null and sysOutEmpFormInfo.id.trim() != ''"
>
AND a.id = #{sysOutEmpFormInfo.id}
</if>
<if
test=
"sysOutEmpFormInfo.categorizeId != null and sysOutEmpFormInfo.categorizeId.trim() != ''"
>
AND a.categorize_id = #{sysOutEmpFormInfo.categorizeId}
</if>
<if
test=
"sysOutEmpFormInfo.fieldName != null and sysOutEmpFormInfo.fieldName.trim() != ''"
>
AND a.field_name = #{sysOutEmpFormInfo.fieldName}
</if>
<if
test=
"sysOutEmpFormInfo.fieldZhName != null and sysOutEmpFormInfo.fieldZhName.trim() != ''"
>
AND a.field_zh_name = #{sysOutEmpFormInfo.fieldZhName}
</if>
<if
test=
"sysOutEmpFormInfo.sort != null"
>
AND a.sort = #{sysOutEmpFormInfo.sort}
</if>
<if
test=
"sysOutEmpFormInfo.isLookToc != null and sysOutEmpFormInfo.isLookToc.trim() != ''"
>
AND a.is_look_toc = #{sysOutEmpFormInfo.isLookToc}
</if>
<if
test=
"sysOutEmpFormInfo.empFillType != null and sysOutEmpFormInfo.empFillType.trim() != ''"
>
AND a.emp_fill_type = #{sysOutEmpFormInfo.empFillType}
</if>
<if
test=
"sysOutEmpFormInfo.fieldStatus != null and sysOutEmpFormInfo.fieldStatus.trim() != ''"
>
AND a.field_status = #{sysOutEmpFormInfo.fieldStatus}
</if>
<if
test=
"sysOutEmpFormInfo.fieldType != null and sysOutEmpFormInfo.fieldType.trim() != ''"
>
AND a.field_type = #{sysOutEmpFormInfo.fieldType}
</if>
<if
test=
"sysOutEmpFormInfo.dictType != null and sysOutEmpFormInfo.dictType.trim() != ''"
>
AND a.dict_type = #{sysOutEmpFormInfo.dictType}
</if>
<if
test=
"sysOutEmpFormInfo.isRequired != null and sysOutEmpFormInfo.isRequired.trim() != ''"
>
AND a.is_required = #{sysOutEmpFormInfo.isRequired}
</if>
<if
test=
"sysOutEmpFormInfo.relField != null and sysOutEmpFormInfo.relField.trim() != ''"
>
AND a.rel_field = #{sysOutEmpFormInfo.relField}
</if>
<if
test=
"sysOutEmpFormInfo.relFieldValue != null and sysOutEmpFormInfo.relFieldValue.trim() != ''"
>
AND a.rel_field_value = #{sysOutEmpFormInfo.relFieldValue}
</if>
<if
test=
"sysOutEmpFormInfo.delFlag != null and sysOutEmpFormInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{sysOutEmpFormInfo.delFlag}
</if>
<if
test=
"sysOutEmpFormInfo.createTime != null"
>
AND a.create_time = #{sysOutEmpFormInfo.createTime}
</if>
<if
test=
"sysOutEmpFormInfo.createBy != null and sysOutEmpFormInfo.createBy.trim() != ''"
>
AND a.create_by = #{sysOutEmpFormInfo.createBy}
</if>
<if
test=
"sysOutEmpFormInfo.createName != null and sysOutEmpFormInfo.createName.trim() != ''"
>
AND a.create_name = #{sysOutEmpFormInfo.createName}
</if>
<if
test=
"sysOutEmpFormInfo.updateBy != null and sysOutEmpFormInfo.updateBy.trim() != ''"
>
AND a.update_by = #{sysOutEmpFormInfo.updateBy}
</if>
<if
test=
"sysOutEmpFormInfo.updateTime != null"
>
AND a.update_time = #{sysOutEmpFormInfo.updateTime}
</if>
<if
test=
"sysOutEmpFormInfo.haveWanxinMapping != null and sysOutEmpFormInfo.haveWanxinMapping.trim() != ''"
>
AND a.have_wanxin_mapping = #{sysOutEmpFormInfo.haveWanxinMapping}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinMappingType != null and sysOutEmpFormInfo.wanxinMappingType.trim() != ''"
>
AND a.wanxin_mapping_type = #{sysOutEmpFormInfo.wanxinMappingType}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinFieldName != null and sysOutEmpFormInfo.wanxinFieldName.trim() != ''"
>
AND a.wanxin_field_name = #{sysOutEmpFormInfo.wanxinFieldName}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinFieldZhName != null and sysOutEmpFormInfo.wanxinFieldZhName.trim() != ''"
>
AND a.wanxin_field_zh_name = #{sysOutEmpFormInfo.wanxinFieldZhName}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinFieldType != null and sysOutEmpFormInfo.wanxinFieldType.trim() != ''"
>
AND a.wanxin_field_type = #{sysOutEmpFormInfo.wanxinFieldType}
</if>
<if
test=
"sysOutEmpFormInfo.isCheck != null and sysOutEmpFormInfo.isCheck.trim() != ''"
>
AND a.is_check = #{sysOutEmpFormInfo.isCheck}
</if>
<if
test=
"sysOutEmpFormInfo.checkValue != null and sysOutEmpFormInfo.checkValue.trim() != ''"
>
AND a.check_value = #{sysOutEmpFormInfo.checkValue}
</if>
</if>
</sql>
<!--sysOutEmpFormInfo简单分页查询-->
<select
id=
"getSysOutEmpFormInfoPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_emp_form_info a
<where>
1=1
<include
refid=
"sysOutEmpFormInfo_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutRelDictItemMapper.xml
0 → 100644
View file @
af79d1c7
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ 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)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutRelDictItemMapper"
>
<resultMap
id=
"sysOutRelDictItemMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"dictType"
column=
"dict_type"
/>
<result
property=
"value"
column=
"value"
/>
<result
property=
"sysDictType"
column=
"sys_dict_type"
/>
<result
property=
"sysDictValue"
column=
"sys_dict_value"
/>
<result
property=
"clientId"
column=
"client_id"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.dict_type,
a.value,
a.sys_dict_type,
a.sys_dict_value,
a.client_id
</sql>
<sql
id=
"sysOutRelDictItem_where"
>
<if
test=
"sysOutRelDictItem != null"
>
<if
test=
"sysOutRelDictItem.id != null"
>
AND a.id = #{sysOutRelDictItem.id}
</if>
<if
test=
"sysOutRelDictItem.dictType != null and sysOutRelDictItem.dictType.trim() != ''"
>
AND a.dict_type = #{sysOutRelDictItem.dictType}
</if>
<if
test=
"sysOutRelDictItem.value != null and sysOutRelDictItem.value.trim() != ''"
>
AND a.value = #{sysOutRelDictItem.value}
</if>
<if
test=
"sysOutRelDictItem.sysDictType != null"
>
AND a.sys_dict_type = #{sysOutRelDictItem.sysDictType}
</if>
<if
test=
"sysOutRelDictItem.sysDictValue != null"
>
AND a.sys_dict_value = #{sysOutRelDictItem.sysDictValue}
</if>
<if
test=
"sysOutRelDictItem.clientId != null and sysOutRelDictItem.clientId.trim() != ''"
>
AND a.client_id = #{sysOutRelDictItem.clientId}
</if>
</if>
</sql>
<!--sysOutRelDictItem简单分页查询-->
<select
id=
"getSysOutRelDictItemPage"
resultMap=
"sysOutRelDictItemMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_rel_dict_item a
<where>
1=1
<include
refid=
"sysOutRelDictItem_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutRelDictMapper.xml
0 → 100644
View file @
af79d1c7
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ 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)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutRelDictMapper"
>
<resultMap
id=
"sysOutRelDictMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"clientType"
column=
"client_type"
/>
<result
property=
"sysDictType"
column=
"sys_dict_type"
/>
<result
property=
"clientId"
column=
"client_id"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.client_type,
a.sys_dict_type,
a.client_id
</sql>
<sql
id=
"sysOutRelDict_where"
>
<if
test=
"sysOutRelDict != null"
>
<if
test=
"sysOutRelDict.id != null"
>
AND a.id = #{sysOutRelDict.id}
</if>
<if
test=
"sysOutRelDict.clientType != null and sysOutRelDict.clientType.trim() != ''"
>
AND a.client_type = #{sysOutRelDict.clientType}
</if>
<if
test=
"sysOutRelDict.sysDictType != null and sysOutRelDict.sysDictType.trim() != ''"
>
AND a.sys_dict_type = #{sysOutRelDict.sysDictType}
</if>
<if
test=
"sysOutRelDict.delFlag != null and sysOutRelDict.delFlag.trim() != ''"
>
AND a.del_flag = #{sysOutRelDict.delFlag}
</if>
<if
test=
"sysOutRelDict.clientId != null and sysOutRelDict.clientId.trim() != ''"
>
AND a.client_id = #{sysOutRelDict.clientId}
</if>
</if>
</sql>
<!--sysOutRelDict简单分页查询-->
<select
id=
"getSysOutRelDictPage"
resultMap=
"sysOutRelDictMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_rel_dict a
<where>
1=1
<include
refid=
"sysOutRelDict_where"
/>
</where>
</select>
</mapper>
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