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
500343d7
Commit
500343d7
authored
Jul 08, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.测试bug修改
parent
8e80c12a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
108 additions
and
88 deletions
+108
-88
CommonConstants.java
...oin/amos/boot/module/jyjc/api/common/CommonConstants.java
+6
-0
JyjcInspectionApplicationMapper.xml
...main/resources/mapper/JyjcInspectionApplicationMapper.xml
+2
-2
JyjcInspectionResultMapper.xml
.../src/main/resources/mapper/JyjcInspectionResultMapper.xml
+16
-22
RuleActionHandler.java
...n/amos/boot/module/jyjc/biz/action/RuleActionHandler.java
+13
-14
TouchRuleEventListener.java
...odule/jyjc/biz/event/listener/TouchRuleEventListener.java
+0
-3
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+68
-46
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+2
-1
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+1
-0
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/common/CommonConstants.java
View file @
500343d7
...
@@ -15,4 +15,10 @@ public class CommonConstants {
...
@@ -15,4 +15,10 @@ public class CommonConstants {
public
static
final
String
OPEN_APPLICATION_SEQ_KEY
=
"OPEN_APPLICATION_SEQ"
;
public
static
final
String
OPEN_APPLICATION_SEQ_KEY
=
"OPEN_APPLICATION_SEQ"
;
public
static
final
String
APPLICATION_SEQ_PREFIX
=
"JY"
;
public
static
final
String
APPLICATION_SEQ_PREFIX
=
"JY"
;
/**
* 无默认机构时字符串-规则必须
*/
public
static
final
String
NONE_DEFAULT_CODE
=
"none"
;
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionApplicationMapper.xml
View file @
500343d7
...
@@ -107,10 +107,10 @@
...
@@ -107,10 +107,10 @@
</if>
</if>
<if
test=
"jyjcInspectionApplicationModel.inspectionUnitName != null and jyjcInspectionApplicationModel.inspectionUnitName != ''"
>
<if
test=
"jyjcInspectionApplicationModel.inspectionUnitName != null and jyjcInspectionApplicationModel.inspectionUnitName != ''"
>
and tzjia.inspection_unit_name like concat('%',#{jyjcInspectionApplicationModel.inspectionUnitName},'%')
)
and tzjia.inspection_unit_name like concat('%',#{jyjcInspectionApplicationModel.inspectionUnitName},'%')
</if>
</if>
<if
test=
"jyjcInspectionApplicationModel.applicationUnitName != null and jyjcInspectionApplicationModel.applicationUnitName != ''"
>
<if
test=
"jyjcInspectionApplicationModel.applicationUnitName != null and jyjcInspectionApplicationModel.applicationUnitName != ''"
>
and tzjia.application_unit_name like concat('%',#{jyjcInspectionApplicationModel.applicationUnitName},'%')
)
and tzjia.application_unit_name like concat('%',#{jyjcInspectionApplicationModel.applicationUnitName},'%')
</if>
</if>
<if
test=
"jyjcInspectionApplicationModel.inspectionUnitCode != null and jyjcInspectionApplicationModel.inspectionUnitCode != ''"
>
<if
test=
"jyjcInspectionApplicationModel.inspectionUnitCode != null and jyjcInspectionApplicationModel.inspectionUnitCode != ''"
>
and tzjia.inspection_unit_code = #{jyjcInspectionApplicationModel.inspectionUnitCode} and tzjia.status != '6610'
and tzjia.inspection_unit_code = #{jyjcInspectionApplicationModel.inspectionUnitCode} and tzjia.status != '6610'
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionResultMapper.xml
View file @
500343d7
...
@@ -113,38 +113,32 @@
...
@@ -113,38 +113,32 @@
<if
test=
"jyjcInspectionResultModel.applicationNo != '' and jyjcInspectionResultModel.applicationNo != null"
>
<if
test=
"jyjcInspectionResultModel.applicationNo != '' and jyjcInspectionResultModel.applicationNo != null"
>
and res.application_no like concat('%',#{jyjcInspectionResultModel.applicationNo},'%')
and res.application_no like concat('%',#{jyjcInspectionResultModel.applicationNo},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.applicationUnitCode != '' and jyjcInspectionResultModel.applicationUnitCode != null"
>
<if
test=
"jyjcInspectionResultModel.applicationDate!=null"
>
and res.application_unit_code = #{jyjcInspectionResultModel.applicationUnitCode}
AND res.application_date = #{jyjcInspectionResultModel.applicationDate}
</if>
<if
test=
"jyjcInspectionResultModel.useOrgCode != '' and jyjcInspectionResultModel.useOrgCode != null"
>
and ibjri.use_org_code like concat('%',#{jyjcInspectionResultModel.useOrgCode},'%')
</if>
<if
test=
"jyjcInspectionResultModel.useInnerCode != '' and jyjcInspectionResultModel.useInnerCode != null"
>
and ibjui.use_inner_code like concat('%',#{jyjcInspectionResultModel.useInnerCode},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.
equCode != '' and jyjcInspectionResultModel.equCod
e != null"
>
<if
test=
"jyjcInspectionResultModel.
inspectionType != '' and jyjcInspectionResultModel.inspectionTyp
e != null"
>
and
ibjri.equ_code like concat('%',#{jyjcInspectionResultModel.equCode},'%')
and
res.inspection_type = #{jyjcInspectionResultModel.inspectionType}
</if>
</if>
<if
test=
"jyjcInspectionResultModel.
equipUnicode != '' and jyjcInspectionResultModel.equipUnicod
e != null"
>
<if
test=
"jyjcInspectionResultModel.
applicationUnitName != '' and jyjcInspectionResultModel.applicationUnitNam
e != null"
>
and res.
equip_unicode like concat('%',#{jyjcInspectionResultModel.equipUnicod
e},'%')
and res.
application_unit_name like concat('%',#{jyjcInspectionResultModel.applicationUnitNam
e},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.equList != '' and jyjcInspectionResultModel.equList != null"
>
<if
test=
"jyjcInspectionResultModel.equList != '' and jyjcInspectionResultModel.equList != null"
>
and ibjri.equ_list = #{jyjcInspectionResultModel.equList}
and ibjri.equ_list = #{jyjcInspectionResultModel.equList}
</if>
</if>
<if
test=
"jyjcInspectionResultModel.
inspectionType != '' and jyjcInspectionResultModel.inspectionTyp
e != null"
>
<if
test=
"jyjcInspectionResultModel.
supervisoryCode != '' and jyjcInspectionResultModel.supervisoryCod
e != null"
>
and res.
inspection_type = #{jyjcInspectionResultModel.inspectionType}
and res.
supervisory_code like concat('%',#{jyjcInspectionResultModel.supervisoryCode},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.
applicationDate!=
null"
>
<if
test=
"jyjcInspectionResultModel.
equCode != '' and jyjcInspectionResultModel.equCode !=
null"
>
AND res.application_date = #{jyjcInspectionResultModel.applicationDate}
and ibjri.equ_code like concat('%',#{jyjcInspectionResultModel.equCode},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.use
UnitCreditCode != '' and jyjcInspectionResultModel.useUnitCredit
Code != null"
>
<if
test=
"jyjcInspectionResultModel.use
OrgCode != '' and jyjcInspectionResultModel.useOrg
Code != null"
>
and ibj
ui.use_unit_credit_code like concat('%',#{jyjcInspectionResultModel.useUnitCredit
Code},'%')
and ibj
ri.use_org_code like concat('%',#{jyjcInspectionResultModel.useOrg
Code},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.
inspectionUnitCode != '' and jyjcInspectionResultModel.inspectionUnit
Code != null"
>
<if
test=
"jyjcInspectionResultModel.
useInnerCode != '' and jyjcInspectionResultModel.useInner
Code != null"
>
and
res.inspection_unit_code = #{jyjcInspectionResultModel.inspectionUnitCode}
and
ibjui.use_inner_code like concat('%',#{jyjcInspectionResultModel.useInnerCode},'%')
</if>
</if>
<if
test=
"jyjcInspectionResultModel.
applicationUnitName != '' and jyjcInspectionResultModel.applica
tionUnitName != null"
>
<if
test=
"jyjcInspectionResultModel.
inspectionUnitName != '' and jyjcInspectionResultModel.inspec
tionUnitName != null"
>
and
bei1.use_unit like concat('%',#{jyjcInspectionResultModel.applica
tionUnitName},'%')
and
res.inspection_unit_name like concat('%',#{jyjcInspectionResultModel.inspec
tionUnitName},'%')
</if>
</if>
<choose>
<choose>
<when
test=
"identity == 'apply'"
>
<when
test=
"identity == 'apply'"
>
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/action/RuleActionHandler.java
View file @
500343d7
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jyjc.biz.action;
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jyjc.biz.action;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.module.jyjc.api.common.CommonConstants
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionApplicationNoAcceptLog
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionApplicationNoAcceptLog
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.InspectionCompanyType
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.InspectionCompanyType
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.LicenceTypeEnum
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.LicenceTypeEnum
;
...
@@ -159,22 +160,20 @@ public class RuleActionHandler {
...
@@ -159,22 +160,20 @@ public class RuleActionHandler {
private
List
<
TzBaseEnterpriseInfoDto
>
getInspectionUnitListForNoAccept2
(
List
<
TzBaseUnitLicence
>
unitLicenceList
,
Boolean
isMatchArea
,
InspectionEquipInfo
inspectionEquipInfo
,
String
openBizType
,
String
defaultInspectionCode
,
String
legalInspectionCodes
,
String
inspectionCompanyType
,
Boolean
isCanNoAccept
)
{
private
List
<
TzBaseEnterpriseInfoDto
>
getInspectionUnitListForNoAccept2
(
List
<
TzBaseUnitLicence
>
unitLicenceList
,
Boolean
isMatchArea
,
InspectionEquipInfo
inspectionEquipInfo
,
String
openBizType
,
String
defaultInspectionCode
,
String
legalInspectionCodes
,
String
inspectionCompanyType
,
Boolean
isCanNoAccept
)
{
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
new
ArrayList
<>();
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
new
ArrayList
<>();
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
ALL
.
getCode
()))
{
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
ALL
.
getCode
()))
{
// 是否进行属地过滤
// 是否进行属地过滤
String
areaCode
=
isMatchArea
?
inspectionEquipInfo
.
getAreaCode
()
:
""
;
String
areaCode
=
isMatchArea
?
inspectionEquipInfo
.
getAreaCode
()
:
""
;
// 所有符合资质的单位code
// 所有符合资质的单位code
Set
<
String
>
unitCodes
=
unitLicenceList
.
stream
().
map
(
TzBaseUnitLicence:
:
getUnitCode
).
collect
(
Collectors
.
toSet
());
Set
<
String
>
unitCodes
=
unitLicenceList
.
stream
().
map
(
TzBaseUnitLicence:
:
getUnitCode
).
collect
(
Collectors
.
toSet
());
//
1.
按照资质 + 开通区域,进行单位的筛选
// 按照资质 + 开通区域,进行单位的筛选
if
(
unitCodes
.
size
()
>
0
)
{
if
(
unitCodes
.
size
()
>
0
)
{
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
new
ArrayList
<>(
unitCodes
),
areaCode
,
openBizType
);
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
new
ArrayList
<>(
unitCodes
),
areaCode
,
openBizType
);
// 返回下一步是否可不予返回,供下一节点审核时显示判断是否显示不予受理按钮,在提交时数据会写入到主表:true-必须处理,false-可不予受理
// 返回下一步是否可不予返回,供下一节点审核时显示判断是否显示不予受理按钮,在提交时数据会写入到主表:true-必须处理,false-可不予受理
this
.
setIsCanNoAccept
(
matchEnterpriseInfos
,
isCanNoAccept
);
this
.
setIsCanNoAccept
(
matchEnterpriseInfos
,
isCanNoAccept
);
}
}
// 2.去掉已经不予受理的机构
// 未空时显示默认机构(兜底机构),只匹配开通的业务类型(检验还是检测)且不匹配开通区域且不可不予受理操作, 预留功能
List
<
String
>
unitCodesList
=
getNoAcceptHistoryUnit
(
inspectionEquipInfo
);
if
(
matchEnterpriseInfos
.
isEmpty
()
&&
StringUtils
.
isNotEmpty
(
defaultInspectionCode
)
&&
!
defaultInspectionCode
.
equals
(
CommonConstants
.
NONE_DEFAULT_CODE
))
{
matchEnterpriseInfos
=
matchEnterpriseInfos
.
stream
().
filter
(
u
->
!
unitCodesList
.
contains
(
u
.
getUseCode
())).
collect
(
Collectors
.
toList
());
log
.
info
(
"将匹配兜底机构:{}"
,
defaultInspectionCode
);
// 3.未空时显示默认机构(兜底机构),只匹配开通的业务类型(检验还是检测)且不匹配开通区域且不可不予受理操作
if
(
matchEnterpriseInfos
.
isEmpty
()){
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
new
ArrayList
<>(
Arrays
.
asList
(
defaultInspectionCode
.
split
(
","
))),
""
,
openBizType
);
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
new
ArrayList
<>(
Arrays
.
asList
(
defaultInspectionCode
.
split
(
","
))),
""
,
openBizType
);
// 返回下一步是否可不予返回,供下一节点审核时显示判断是否显示不予受理按钮,在提交时数据会写入到主表:true-必须处理,false-可不予受理
// 返回下一步是否可不予返回,供下一节点审核时显示判断是否显示不予受理按钮,在提交时数据会写入到主表:true-必须处理,false-可不予受理
this
.
setIsCanNoAccept
(
matchEnterpriseInfos
,
true
);
this
.
setIsCanNoAccept
(
matchEnterpriseInfos
,
true
);
...
@@ -186,7 +185,7 @@ public class RuleActionHandler {
...
@@ -186,7 +185,7 @@ public class RuleActionHandler {
}
}
private
List
<
String
>
getNoAcceptHistoryUnit
(
InspectionEquipInfo
inspectionEquipInfo
)
{
private
List
<
String
>
getNoAcceptHistoryUnit
(
InspectionEquipInfo
inspectionEquipInfo
)
{
LambdaQueryWrapper
<
JyjcInspectionApplicationNoAcceptLog
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
JyjcInspectionApplicationNoAcceptLog
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
JyjcInspectionApplicationNoAcceptLog:
:
getApplicationSeq
,
inspectionEquipInfo
.
getAppSeq
());
queryWrapper
.
eq
(
JyjcInspectionApplicationNoAcceptLog:
:
getApplicationSeq
,
inspectionEquipInfo
.
getAppSeq
());
queryWrapper
.
select
(
JyjcInspectionApplicationNoAcceptLog:
:
getInspectionUnitCode
);
queryWrapper
.
select
(
JyjcInspectionApplicationNoAcceptLog:
:
getInspectionUnitCode
);
List
<
JyjcInspectionApplicationNoAcceptLog
>
acceptLogs
=
noAcceptLogService
.
list
(
queryWrapper
);
List
<
JyjcInspectionApplicationNoAcceptLog
>
acceptLogs
=
noAcceptLogService
.
list
(
queryWrapper
);
...
@@ -232,14 +231,15 @@ public class RuleActionHandler {
...
@@ -232,14 +231,15 @@ public class RuleActionHandler {
private
List
<
TzBaseEnterpriseInfoDto
>
getInspectionUnitListForFirstCommit2
(
List
<
TzBaseUnitLicence
>
unitLicenceList
,
Boolean
isMatchArea
,
InspectionEquipInfo
inspectionEquipInfo
,
String
openBizType
,
String
defaultInspectionCode
,
String
legalInspectionCodes
,
Boolean
isMustAccept
,
String
inspectionCompanyType
)
{
private
List
<
TzBaseEnterpriseInfoDto
>
getInspectionUnitListForFirstCommit2
(
List
<
TzBaseUnitLicence
>
unitLicenceList
,
Boolean
isMatchArea
,
InspectionEquipInfo
inspectionEquipInfo
,
String
openBizType
,
String
defaultInspectionCode
,
String
legalInspectionCodes
,
Boolean
isMustAccept
,
String
inspectionCompanyType
)
{
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
new
ArrayList
<>();
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
new
ArrayList
<>();
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
ALL
.
getCode
()))
{
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
ALL
.
getCode
()))
{
matchEnterpriseInfos
=
getInspectionUnitListForAll
(
unitLicenceList
,
isMatchArea
,
inspectionEquipInfo
,
openBizType
,
defaultInspectionCode
,
legalInspectionCodes
,
isMustAccept
);
matchEnterpriseInfos
=
getInspectionUnitListForAll
(
unitLicenceList
,
isMatchArea
,
inspectionEquipInfo
,
openBizType
,
defaultInspectionCode
,
legalInspectionCodes
,
isMustAccept
);
}
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
LEGAL
.
getCode
())){
}
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
LEGAL
.
getCode
()))
{
// 目前未使用到可替换 firstInspectionOrgMatchAction 业务
// 目前未使用到可替换 firstInspectionOrgMatchAction 业务
matchEnterpriseInfos
=
getInspectionUnitListForLegal
(
unitLicenceList
,
isMatchArea
,
inspectionEquipInfo
,
openBizType
,
defaultInspectionCode
,
legalInspectionCodes
,
isMustAccept
);
matchEnterpriseInfos
=
getInspectionUnitListForLegal
(
unitLicenceList
,
isMatchArea
,
inspectionEquipInfo
,
openBizType
,
defaultInspectionCode
,
legalInspectionCodes
,
isMustAccept
);
}
else
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
THIRD
.
getCode
()))
{
}
else
if
(
inspectionCompanyType
.
equals
(
InspectionCompanyType
.
THIRD
.
getCode
()))
{
// TODO 待实现
// TODO 待实现
log
.
warn
(
"{}类型:未实现"
,
InspectionCompanyType
.
THIRD
.
getName
());
log
.
warn
(
"{}类型:未实现"
,
InspectionCompanyType
.
THIRD
.
getName
());
}
}
return
matchEnterpriseInfos
;
return
matchEnterpriseInfos
;
}
}
...
@@ -277,7 +277,7 @@ public class RuleActionHandler {
...
@@ -277,7 +277,7 @@ public class RuleActionHandler {
// 所有符合单位的code
// 所有符合单位的code
Set
<
String
>
unitCodes
=
unitLicenceList
.
stream
().
map
(
TzBaseUnitLicence:
:
getUnitCode
).
collect
(
Collectors
.
toSet
());
Set
<
String
>
unitCodes
=
unitLicenceList
.
stream
().
map
(
TzBaseUnitLicence:
:
getUnitCode
).
collect
(
Collectors
.
toSet
());
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
new
ArrayList
<>();
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
new
ArrayList
<>();
if
(
unitCodes
.
size
()
>
0
)
{
if
(
unitCodes
.
size
()
>
0
)
{
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
new
ArrayList
<>(
unitCodes
),
areaCode
,
openBizType
);
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
new
ArrayList
<>(
unitCodes
),
areaCode
,
openBizType
);
// 返回下一步是否可不予返回,供下一节点审核时显示判断是否显示不予受理按钮,在提交时数据会写入到主表:true-必须处理,false-可不予受理
// 返回下一步是否可不予返回,供下一节点审核时显示判断是否显示不予受理按钮,在提交时数据会写入到主表:true-必须处理,false-可不予受理
this
.
setIsCanNoAccept
(
matchEnterpriseInfos
,
isCanNoAccept
);
this
.
setIsCanNoAccept
(
matchEnterpriseInfos
,
isCanNoAccept
);
...
@@ -361,6 +361,5 @@ public class RuleActionHandler {
...
@@ -361,6 +361,5 @@ public class RuleActionHandler {
}
}
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/event/listener/TouchRuleEventListener.java
View file @
500343d7
...
@@ -40,9 +40,6 @@ public class TouchRuleEventListener implements ApplicationListener<TouchRuleEven
...
@@ -40,9 +40,6 @@ public class TouchRuleEventListener implements ApplicationListener<TouchRuleEven
}
}
private
void
touchRuleWithApi
(
InspectionEquipInfo
inspectionEquipInfo
)
{
private
void
touchRuleWithApi
(
InspectionEquipInfo
inspectionEquipInfo
)
{
if
(
log
.
isInfoEnabled
())
{
log
.
info
(
"发送规则的消息对象:{}"
,
toJSONString
(
inspectionEquipInfo
));
}
try
{
try
{
RequestContext
.
setToken
(
amosRequestContext
.
getToken
());
RequestContext
.
setToken
(
amosRequestContext
.
getToken
());
RequestContext
.
setAppKey
(
amosRequestContext
.
getAppKey
());
RequestContext
.
setAppKey
(
amosRequestContext
.
getAppKey
());
...
...
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/JyjcInspectionApplicationServiceImpl.java
View file @
500343d7
...
@@ -7,7 +7,6 @@ import com.alibaba.fastjson.JSON;
...
@@ -7,7 +7,6 @@ import com.alibaba.fastjson.JSON;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.CollectionUtils
;
import
com.baomidou.mybatisplus.core.toolkit.CollectionUtils
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
...
@@ -25,19 +24,18 @@ import com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcInspectionApplicationEqu
...
@@ -25,19 +24,18 @@ import com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcInspectionApplicationEqu
import
com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcInspectionApplicationMapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcInspectionApplicationMapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.*
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.*
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionApplicationService
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcInspectionApplicationService
;
import
com.yeejoin.amos.boot.module.jyjc.biz.dao.ESEquipmentCategory
;
import
com.yeejoin.amos.boot.module.jyjc.biz.event.InspectionApplicationPushEvent
;
import
com.yeejoin.amos.boot.module.jyjc.biz.event.InspectionApplicationPushEvent
;
import
com.yeejoin.amos.boot.module.jyjc.biz.event.publisher.EventPublisher
;
import
com.yeejoin.amos.boot.module.jyjc.biz.event.publisher.EventPublisher
;
import
com.yeejoin.amos.boot.module.jyjc.biz.feign.JgFeignClient
;
import
com.yeejoin.amos.boot.module.jyjc.biz.feign.JgFeignClient
;
import
com.yeejoin.amos.boot.module.jyjc.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jyjc.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.TaskModelServiceImpl
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.TaskModelServiceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.ESEquipmentCategoryDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgUseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.EquipmentCategoryMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgUseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgUseInfoMapper
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.systemctl.model.TaskV2Model
;
import
com.yeejoin.amos.feign.systemctl.model.TaskV2Model
;
...
@@ -74,6 +72,7 @@ import org.typroject.tyboot.core.rdbms.service.BaseService;
...
@@ -74,6 +72,7 @@ import org.typroject.tyboot.core.rdbms.service.BaseService;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.lang.reflect.Field
;
import
java.util.*
;
import
java.util.*
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -146,9 +145,6 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -146,9 +145,6 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
DataDictionaryServiceImpl
dataDictionaryService
;
DataDictionaryServiceImpl
dataDictionaryService
;
@Autowired
@Autowired
EquipmentCategoryMapper
equipmentCategoryMapper
;
@Autowired
JyjcOpeningApplicationServiceImpl
openingApplicationService
;
JyjcOpeningApplicationServiceImpl
openingApplicationService
;
@Autowired
@Autowired
...
@@ -163,6 +159,9 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -163,6 +159,9 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
@Autowired
@Autowired
JyjcInspectionApplicationNoAcceptLogServiceImpl
noAcceptLogService
;
JyjcInspectionApplicationNoAcceptLogServiceImpl
noAcceptLogService
;
@Autowired
private
ESEquipmentCategory
esEquipmentCategory
;
private
static
final
String
EQU_STATE
=
"EQU_STATE"
;
private
static
final
String
EQU_STATE
=
"EQU_STATE"
;
private
static
final
String
EQU_CODE
=
"EQU_CODE"
;
private
static
final
String
EQU_CODE
=
"EQU_CODE"
;
...
@@ -264,8 +263,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -264,8 +263,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
equipInfo
.
setSupervisoryCode
(
equip
.
getSupervisoryCode
());
equipInfo
.
setSupervisoryCode
(
equip
.
getSupervisoryCode
());
equipInfos
.
add
(
equipInfo
);
equipInfos
.
add
(
equipInfo
);
}
}
model
.
setEquList
(
model
.
getEquip
().
get
(
0
).
getOrDefault
(
"EQU_LIST"
,
""
).
toString
(
));
model
.
setEquList
(
null2String
(
model
.
getEquip
().
get
(
0
).
get
(
"EQU_LIST"
)
));
model
.
setSupervisoryCode
(
model
.
getEquip
().
get
(
0
).
getOrDefault
(
"SUPERVISORY_CODE"
,
""
).
toString
(
));
model
.
setSupervisoryCode
(
null2String
(
model
.
getEquip
().
get
(
0
).
get
(
"SUPERVISORY_CODE"
)
));
}
}
model
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
model
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
model
.
setNumberOfEquip
(
equipInfos
.
size
());
model
.
setNumberOfEquip
(
equipInfos
.
size
());
...
@@ -357,8 +356,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -357,8 +356,8 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
equipInfo
.
setApplicationSeq
(
model
.
getSequenceNbr
());
equipInfo
.
setApplicationSeq
(
model
.
getSequenceNbr
());
jyjcInspectionApplicationEquipService
.
save
(
equipInfo
);
jyjcInspectionApplicationEquipService
.
save
(
equipInfo
);
}
}
model
.
setEquList
(
model
.
getEquip
().
get
(
0
).
getOrDefault
(
"EQU_LIST"
,
""
).
toString
(
));
model
.
setEquList
(
null2String
(
model
.
getEquip
().
get
(
0
).
get
(
"EQU_LIST"
)
));
model
.
setSupervisoryCode
(
model
.
getEquip
().
get
(
0
).
getOrDefault
(
"SUPERVISORY_CODE"
,
""
).
toString
(
));
model
.
setSupervisoryCode
(
null2String
(
model
.
getEquip
().
get
(
0
).
get
(
"SUPERVISORY_CODE"
)
));
}
}
// 附件更新
// 附件更新
...
@@ -420,14 +419,20 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -420,14 +419,20 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
return
this
.
buildRedundancyField
(
model
);
return
this
.
buildRedundancyField
(
model
);
}
}
private
String
null2String
(
Object
obj
){
return
obj
==
null
?
""
:
obj
.
toString
();
}
private
void
setNameAndIsMustAccept
(
JyjcInspectionApplicationModel
model
)
{
private
void
setNameAndIsMustAccept
(
JyjcInspectionApplicationModel
model
)
{
String
[]
inspectionUnit
=
model
.
getInspectionUnitCode
().
split
(
"_"
);
if
(
model
.
getInspectionUnitCode
()
!=
null
){
if
(
inspectionUnit
.
length
==
2
)
{
String
[]
inspectionUnit
=
model
.
getInspectionUnitCode
().
split
(
"_"
);
model
.
setInspectionUnitCode
(
inspectionUnit
[
0
]);
if
(
inspectionUnit
.
length
==
2
)
{
model
.
setIsMustAccept
(
Boolean
.
parseBoolean
(
inspectionUnit
[
1
]));
model
.
setInspectionUnitCode
(
inspectionUnit
[
0
]);
this
.
setInspectionUnitNameAfterSave
(
model
);
model
.
setIsMustAccept
(
Boolean
.
parseBoolean
(
inspectionUnit
[
1
]));
}
else
{
this
.
setInspectionUnitNameAfterSave
(
model
);
this
.
setInspectionUnitNameAfterSave
(
model
);
}
else
{
this
.
setInspectionUnitNameAfterSave
(
model
);
}
}
}
}
}
...
@@ -548,42 +553,59 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -548,42 +553,59 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
public
Map
<
String
,
Object
>
selectBySeq
(
Long
sequenceNbr
,
String
companyType
)
{
public
Map
<
String
,
Object
>
selectBySeq
(
Long
sequenceNbr
,
String
companyType
)
{
JyjcInspectionApplicationModel
model
=
this
.
getBaseMapper
().
selectDataBySeq
(
sequenceNbr
);
JyjcInspectionApplicationModel
model
=
this
.
getBaseMapper
().
selectDataBySeq
(
sequenceNbr
);
Map
<
String
,
Object
>
map
=
BeanUtil
.
beanToMap
(
model
);
Map
<
String
,
Object
>
map
=
BeanUtil
.
beanToMap
(
model
);
// 附件
Map
<
String
,
Object
>
attMap
=
getAttachmentMap
(
sequenceNbr
);
// 设备
List
<
Map
<
String
,
Object
>>
arrayList
=
getEquipInfoList
(
sequenceNbr
);
map
.
put
(
"equip"
,
arrayList
);
map
.
putAll
(
attMap
);
map
.
put
(
"companyType"
,
companyType
);
this
.
setPlanData
(
sequenceNbr
,
map
);
return
map
;
}
private
List
<
Map
<
String
,
Object
>>
getEquipInfoList
(
Long
sequenceNbr
)
{
Iterable
<
ESEquipmentCategoryDto
>
equips
=
getEsEquipmentCategoryDtos
(
sequenceNbr
);
return
getEquipListMaps
(
equips
);
}
private
Map
<
String
,
Object
>
getAttachmentMap
(
Long
sequenceNbr
)
{
List
<
Map
<
String
,
Object
>>
dataByApplicationSeq
=
jyjcInspectionApplicationAttachmentService
.
getBaseMapper
().
getDataByApplicationSeq
(
sequenceNbr
);
List
<
Map
<
String
,
Object
>>
dataByApplicationSeq
=
jyjcInspectionApplicationAttachmentService
.
getBaseMapper
().
getDataByApplicationSeq
(
sequenceNbr
);
Map
<
String
,
Object
>
attMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
attMap
=
new
HashMap
<>();
for
(
Map
<
String
,
Object
>
maps
:
dataByApplicationSeq
)
{
for
(
Map
<
String
,
Object
>
maps
:
dataByApplicationSeq
)
{
List
<
AttachmentDto
>
data
=
JSONArray
.
parseArray
(
maps
.
get
(
"attachment_url"
).
toString
(),
AttachmentDto
.
class
);
List
<
AttachmentDto
>
data
=
JSONArray
.
parseArray
(
maps
.
get
(
"attachment_url"
).
toString
(),
AttachmentDto
.
class
);
attMap
.
put
(
maps
.
get
(
"attachment_type"
).
toString
(),
data
);
attMap
.
put
(
maps
.
get
(
"attachment_type"
).
toString
(),
data
);
}
}
return
attMap
;
}
private
List
<
Map
<
String
,
Object
>>
getEquipListMaps
(
Iterable
<
ESEquipmentCategoryDto
>
equips
)
{
List
<
Map
<
String
,
Object
>>
arrayList
=
new
ArrayList
<>();
equips
.
forEach
(
equip
->
{
Map
<
String
,
Object
>
objectHashMap
=
new
HashMap
<>();
BeanUtil
.
beanToMap
(
equip
,
objectHashMap
,
false
,
false
);
objectHashMap
.
put
(
"record"
,
equip
.
getSEQUENCE_NBR
());
objectHashMap
.
put
(
"ADDRESS"
,
concatDetailAddress
(
equip
));
arrayList
.
add
(
objectHashMap
);
});
return
arrayList
;
}
private
String
concatDetailAddress
(
ESEquipmentCategoryDto
esEquipmentCategoryDto
)
{
// 省、市、区
String
usePlace
=
esEquipmentCategoryDto
.
getUSE_PLACE
();
// 详细地址
String
address
=
esEquipmentCategoryDto
.
getADDRESS
();
return
String
.
format
(
"%s%s"
,
usePlace
,
address
);
}
private
Iterable
<
ESEquipmentCategoryDto
>
getEsEquipmentCategoryDtos
(
Long
sequenceNbr
)
{
LambdaQueryWrapper
<
JyjcInspectionApplicationEquip
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
JyjcInspectionApplicationEquip
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
JyjcInspectionApplicationEquip:
:
getApplicationSeq
,
sequenceNbr
);
wrapper
.
eq
(
JyjcInspectionApplicationEquip:
:
getApplicationSeq
,
sequenceNbr
);
wrapper
.
select
(
JyjcInspectionApplicationEquip:
:
getEquipUnicode
);
List
<
JyjcInspectionApplicationEquip
>
jyjcInspectionApplicationEquips
=
jyjcInspectionApplicationEquipMapper
.
selectList
(
wrapper
);
List
<
JyjcInspectionApplicationEquip
>
jyjcInspectionApplicationEquips
=
jyjcInspectionApplicationEquipMapper
.
selectList
(
wrapper
);
String
collect
=
jyjcInspectionApplicationEquips
.
stream
().
map
(
JyjcInspectionApplicationEquip:
:
getEquipUnicode
).
distinct
().
collect
(
Collectors
.
joining
(
","
));
List
<
String
>
records
=
jyjcInspectionApplicationEquips
.
stream
().
map
(
JyjcInspectionApplicationEquip:
:
getEquipUnicode
).
distinct
().
collect
(
Collectors
.
toList
());
HashMap
<
String
,
Object
>
hashMap
=
new
HashMap
<>();
return
esEquipmentCategory
.
findAllById
(
records
);
hashMap
.
put
(
"number"
,
1
);
hashMap
.
put
(
"size"
,
jyjcInspectionApplicationEquips
.
size
());
hashMap
.
put
(
"SEQUENCE_NBR"
,
collect
);
FeignClientResult
<
Page
<
JSONObject
>>
response
=
jgFeignClient
.
queryForPage
(
hashMap
);
if
(
200
==
response
.
getStatus
()
&&
ObjectUtils
.
isNotEmpty
(
response
.
getResult
()))
{
List
<
JSONObject
>
records
=
response
.
getResult
().
getRecords
();
ArrayList
<
Map
<
String
,
Object
>>
arrayList
=
new
ArrayList
<>();
records
.
forEach
(
item
->
{
HashMap
<
String
,
Object
>
objectHashMap
=
new
HashMap
<>();
for
(
Map
.
Entry
<
String
,
Object
>
stringObjectEntry
:
item
.
entrySet
())
{
objectHashMap
.
put
(
stringObjectEntry
.
getKey
(),
stringObjectEntry
.
getValue
());
String
s
=
stringObjectEntry
.
getKey
().
toLowerCase
();
objectHashMap
.
put
(
CharSequenceUtil
.
toCamelCase
(
s
),
stringObjectEntry
.
getValue
());
if
(
stringObjectEntry
.
getKey
().
equals
(
"SEQUENCE_NBR"
))
{
objectHashMap
.
put
(
"record"
,
stringObjectEntry
.
getValue
());
}
}
arrayList
.
add
(
objectHashMap
);
});
map
.
put
(
"equip"
,
arrayList
);
}
map
.
putAll
(
attMap
);
map
.
put
(
"companyType"
,
companyType
);
this
.
setPlanData
(
sequenceNbr
,
map
);
return
map
;
}
}
private
void
setPlanData
(
Long
sequenceNbr
,
Map
<
String
,
Object
>
map
)
{
private
void
setPlanData
(
Long
sequenceNbr
,
Map
<
String
,
Object
>
map
)
{
...
@@ -1271,7 +1293,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1271,7 +1293,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
private
Object
removeSplitLine
(
JSONObject
item
)
{
private
Object
removeSplitLine
(
JSONObject
item
)
{
String
fullAddress
=
item
.
getString
(
"USE_PLACE"
)
+
item
.
getString
(
"ADDRESS"
);
String
fullAddress
=
item
.
getString
(
"USE_PLACE"
)
+
item
.
getString
(
"ADDRESS"
);
fullAddress
=
fullAddress
.
replace
(
"/"
,
""
)
;
fullAddress
=
fullAddress
.
replace
(
"/"
,
""
)
;
return
fullAddress
;
return
fullAddress
;
}
}
...
...
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/JyjcInspectionResultServiceImpl.java
View file @
500343d7
...
@@ -291,7 +291,8 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -291,7 +291,8 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
info
.
setInspectStaffCode
(
model
.
getInspector
());
info
.
setInspectStaffCode
(
model
.
getInspector
());
info
.
setInspectReport
(
jybgFile
.
getAttachmentUrl
());
info
.
setInspectReport
(
jybgFile
.
getAttachmentUrl
());
info
.
setInspectConclusion
(
model
.
getInspectionConclusion
());
info
.
setInspectConclusion
(
model
.
getInspectionConclusion
());
info
.
setProblemRemark
(
model
.
getNonConformance
());
// json字段暂时注释
// info.setProblemRemark(model.getNonConformance());
info
.
setNextInspectDate
(
model
.
getNextInspectionDate
());
info
.
setNextInspectDate
(
model
.
getNextInspectionDate
());
info
.
setSequenceCode
(
model
.
getEquipUnicode
());
info
.
setSequenceCode
(
model
.
getEquipUnicode
());
info
.
setInspectOrgCode
(
model
.
getInspectionUnitCode
());
info
.
setInspectOrgCode
(
model
.
getInspectionUnitCode
());
...
...
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 @
500343d7
...
@@ -486,6 +486,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
...
@@ -486,6 +486,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
LambdaQueryWrapper
<
TzsUserInfo
>
userInfoQueryWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
TzsUserInfo
>
userInfoQueryWrapper
=
new
LambdaQueryWrapper
<>();
userInfoQueryWrapper
.
eq
(
TzsUserInfo:
:
getUnitCode
,
unitCode
);
userInfoQueryWrapper
.
eq
(
TzsUserInfo:
:
getUnitCode
,
unitCode
);
userInfoQueryWrapper
.
eq
(
BaseEntity:
:
getIsDelete
,
false
);
userInfoQueryWrapper
.
eq
(
BaseEntity:
:
getIsDelete
,
false
);
this
.
castPersonType2Post
(
userInfoQueryWrapper
,
openBizType
);
List
<
TzsUserInfo
>
userInfos
=
userInfoMapper
.
selectList
(
userInfoQueryWrapper
);
List
<
TzsUserInfo
>
userInfos
=
userInfoMapper
.
selectList
(
userInfoQueryWrapper
);
if
(!
ValidationUtil
.
isEmpty
(
userInfos
))
{
if
(!
ValidationUtil
.
isEmpty
(
userInfos
))
{
List
<
TzsUserInfoVo
>
tzsUserInfoVos
=
userInfos
.
stream
().
map
(
userInfo
->
{
List
<
TzsUserInfoVo
>
tzsUserInfoVos
=
userInfos
.
stream
().
map
(
userInfo
->
{
...
...
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