Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
2646f551
Commit
2646f551
authored
May 11, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.检验检测联调修改
parent
722ccc94
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
4 deletions
+33
-4
OpenBizTypeEnum.java
...join/amos/boot/module/jyjc/api/enums/OpenBizTypeEnum.java
+8
-0
JyjcOpeningApplicationMapper.java
.../module/jyjc/api/mapper/JyjcOpeningApplicationMapper.java
+2
-1
JyjcOpeningApplicationModel.java
...ot/module/jyjc/api/model/JyjcOpeningApplicationModel.java
+3
-0
JyjcOpeningApplicationRequstDto.java
...odule/jyjc/api/model/JyjcOpeningApplicationRequstDto.java
+3
-0
JyjcOpeningApplicationMapper.xml
...rc/main/resources/mapper/JyjcOpeningApplicationMapper.xml
+6
-1
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+11
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/enums/OpenBizTypeEnum.java
View file @
2646f551
...
...
@@ -2,6 +2,9 @@ package com.yeejoin.amos.boot.module.jyjc.api.enums;
import
lombok.Getter
;
import
java.util.Arrays
;
import
java.util.Optional
;
/**
* @author Administrator
*/
...
...
@@ -22,4 +25,9 @@ public enum OpenBizTypeEnum {
this
.
code
=
code
;
this
.
name
=
name
;
}
public
static
OpenBizTypeEnum
getOneByCode
(
String
code
){
Optional
<
OpenBizTypeEnum
>
op
=
Arrays
.
stream
(
OpenBizTypeEnum
.
values
()).
filter
(
e
->
e
.
getCode
().
equals
(
code
)).
findFirst
();
return
op
.
orElse
(
null
);
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/mapper/JyjcOpeningApplicationMapper.java
View file @
2646f551
...
...
@@ -18,7 +18,8 @@ import java.util.List;
public
interface
JyjcOpeningApplicationMapper
extends
BaseMapper
<
JyjcOpeningApplication
>
{
Page
<
JyjcOpeningApplicationModel
>
selectJyjcOpeningApplicationList
(
@Param
(
"page"
)
Page
<
JyjcOpeningApplication
>
page
,
@Param
(
"jyjcOpeningApplicationRequstDto"
)
JyjcOpeningApplicationRequstDto
jyjcOpeningApplicationRequstDto
,
@Param
(
"applyStartTime"
)
String
applyStartTime
,
@Param
(
"jyjcOpeningApplicationRequstDto"
)
JyjcOpeningApplicationRequstDto
jyjcOpeningApplicationRequstDto
,
@Param
(
"applyStartTime"
)
String
applyStartTime
,
@Param
(
"currentUserId"
)
String
currentUserId
,
@Param
(
"applyendTime"
)
String
applyendTime
);
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/model/JyjcOpeningApplicationModel.java
View file @
2646f551
...
...
@@ -135,4 +135,7 @@ public class JyjcOpeningApplicationModel extends BaseModel {
@ApiModelProperty
(
"开通的业务类型"
)
private
String
openBizType
;
@ApiModelProperty
(
"开通的业务类型名称"
)
private
String
openBizTypeName
;
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/model/JyjcOpeningApplicationRequstDto.java
View file @
2646f551
...
...
@@ -46,4 +46,7 @@ public class JyjcOpeningApplicationRequstDto {
@ApiModelProperty
(
value
=
"supervision: 监管; enterprise: 企业"
)
private
String
type
;
@ApiModelProperty
(
"开通业务类型"
)
private
String
openBizType
;
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcOpeningApplicationMapper.xml
View file @
2646f551
...
...
@@ -32,7 +32,12 @@
<if
test=
"jyjcOpeningApplicationRequstDto.unitCode != '' and jyjcOpeningApplicationRequstDto.unitCode != null"
>
and (a.unit_code = #{jyjcOpeningApplicationRequstDto.unitCode} OR a.transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ) )
</if>
<if
test=
"jyjcOpeningApplicationRequstDto.openBizType != '' and jyjcOpeningApplicationRequstDto.openBizType != null"
>
and a.open_biz_type = #{jyjcOpeningApplicationRequstDto.openBizType}
</if>
<if
test=
"jyjcOpeningApplicationRequstDto.unitCodeName != '' and jyjcOpeningApplicationRequstDto.unitCodeName != null"
>
and a.unit_code_name like concat('%',#{jyjcOpeningApplicationRequstDto.unitCodeName},'%')
</if>
</where>
order by sequence_nbr desc
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
View file @
2646f551
...
...
@@ -85,13 +85,13 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
@Value
(
"${process-definition-key.jyjc.openapplication:}"
)
private
String
processDefinitionKey
;
@Value
(
"${jy.user-post:6615}"
)
@Value
(
"${jy.user-post:6615
1
}"
)
private
String
jyUserPost
;
@Value
(
"${jy.cert.type.code:1233-1}"
)
private
String
jyCertTypeCode
;
@Value
(
"${jc.user-post:6615}"
)
@Value
(
"${jc.user-post:6615
2
}"
)
private
String
jcUserPost
;
@Value
(
"${jc.cert.type.code:1233-2}"
)
...
...
@@ -299,11 +299,20 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
Page
<
JyjcOpeningApplicationModel
>
result
=
jyjcOpeningApplicationMapper
.
selectJyjcOpeningApplicationList
(
page
,
dto
,
applyStartTime
,
currentUserId
,
applyEndTime
);
for
(
JyjcOpeningApplicationModel
record
:
result
.
getRecords
())
{
record
.
setIdentityType
(
dto
.
getType
());
record
.
setOpenBizTypeName
(
this
.
getOpenBizTypeName
(
record
.
getOpenBizType
()));
}
return
result
;
}
private
String
getOpenBizTypeName
(
String
openBizType
)
{
return
Optional
.
ofNullable
(
OpenBizTypeEnum
.
getOneByCode
(
openBizType
))
.
map
(
OpenBizTypeEnum:
:
getName
)
.
orElse
(
""
);
}
/**
* 获取详情跳转
*
...
...
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