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
33371d22
Commit
33371d22
authored
Jan 15, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-含风险项目商险不购买申请提交
parent
41d2aa4b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
7 deletions
+23
-7
TInsuranceUnpurchaseApplyController.java
...alary/controller/TInsuranceUnpurchaseApplyController.java
+12
-0
TInsuranceUnpurchaseApplyServiceImpl.java
...ry/service/impl/TInsuranceUnpurchaseApplyServiceImpl.java
+10
-6
application.yml
...salary/yifu-salary-biz/src/main/resources/application.yml
+1
-1
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TInsuranceUnpurchaseApplyController.java
View file @
33371d22
...
...
@@ -59,6 +59,18 @@ public class TInsuranceUnpurchaseApplyController {
return
new
R
<>(
tInsuranceUnpurchaseApplyService
.
getTInsuranceUnpurchaseApplyPage
(
page
,
searchVo
));
}
/**
* 通过id查询含风险项目不购买申请表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"移动端通过id查询"
,
description
=
"移动端通过id查询"
)
@GetMapping
(
"/temp/{id}"
)
public
R
<
TInsuranceUnpurchaseApply
>
getTempById
(
@PathVariable
(
"id"
)
String
id
)
{
return
tInsuranceUnpurchaseApplyService
.
getDetailInfoById
(
id
);
}
/**
* 通过id查询含风险项目不购买申请表
*
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TInsuranceUnpurchaseApplyServiceImpl.java
View file @
33371d22
...
...
@@ -161,14 +161,18 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
String
applyDetail
=
baseMapper
.
getMaxInusuranceDetailCode
();
//暂存不做校验
if
(
CommonConstants
.
ONE_STRING
.
equals
(
tInsuranceUnpurchaseApply
.
getSaveFlag
()))
{
tInsuranceUnpurchaseApply
.
setCreateTime
(
null
);
tInsuranceUnpurchaseApply
.
setUpdateTime
(
null
);
if
(
Common
.
isEmpty
(
tInsuranceUnpurchaseApply
.
getId
()))
{
tInsuranceUnpurchaseApply
.
setApplyNo
(
applyNo
);
tInsuranceUnpurchaseApply
.
setCreateBy
(
user
.
getId
());
tInsuranceUnpurchaseApply
.
setCreateName
(
user
.
getNickname
());
tInsuranceUnpurchaseApply
.
setCreateUserDeptName
(
user
.
getDeptName
());
tInsuranceUnpurchaseApply
.
setCreateUserDeptId
(
user
.
getDeptId
().
toString
());
tInsuranceUnpurchaseApply
.
setCreateTime
(
null
);
tInsuranceUnpurchaseApply
.
setUpdateTime
(
null
);
baseMapper
.
insert
(
tInsuranceUnpurchaseApply
);
}
else
{
baseMapper
.
updateById
(
tInsuranceUnpurchaseApply
);
}
//更新附件
updateFileId
(
tInsuranceUnpurchaseApply
);
...
...
yifu-salary/yifu-salary-biz/src/main/resources/application.yml
View file @
33371d22
...
...
@@ -54,7 +54,7 @@ security:
-
/tinsuranceunpurchaseapply/getAuditCount
# 临时调试
-
/tinsuranceunpurchaseapply/auditTemp
# 临时调试
-
/tauditrecord/getAuditInfoByDomainIdAndAuditType
# 临时调试
-
/tinsuranceunpurchaseapply/{id}
# 临时调试
-
/tinsuranceunpurchaseapply/
temp/
{id}
# 临时调试
# 文件上传相关 支持阿里云、华为云、腾讯、minio
...
...
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