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
84d7aad6
Commit
84d7aad6
authored
Apr 06, 2023
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ugp后台添加监检部门、部门人员接收消息逻辑修改
parent
bfca7dde
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
UnitLicenceModel.java
...yeejoin/amos/api/openapi/face/model/UnitLicenceModel.java
+3
-2
OrgServiceImpl.java
...amos/boot/module/ugp/biz/service/impl/OrgServiceImpl.java
+7
-3
No files found.
amos-boot-data/amos-boot-data-openapi/src/main/java/com/yeejoin/amos/api/openapi/face/model/UnitLicenceModel.java
View file @
84d7aad6
...
@@ -14,12 +14,13 @@ import java.util.Date;
...
@@ -14,12 +14,13 @@ import java.util.Date;
* @date 2022-11-30
* @date 2022-11-30
*/
*/
@Data
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"TzUgpUnitLicence对象"
,
description
=
"单位许可信息表"
)
@ApiModel
(
value
=
"TzUgpUnitLicence对象"
,
description
=
"单位许可信息表"
)
public
class
UnitLicenceModel
extends
AbstractBaseModel
{
public
class
UnitLicenceModel
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"自增主键"
)
private
Long
sequenceNbr
;
@ApiModelProperty
(
value
=
"单位编码"
)
@ApiModelProperty
(
value
=
"单位编码"
)
private
String
unitCode
;
private
String
unitCode
;
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/OrgServiceImpl.java
View file @
84d7aad6
...
@@ -712,23 +712,27 @@ public class OrgServiceImpl {
...
@@ -712,23 +712,27 @@ public class OrgServiceImpl {
OrgUsr
orgUsr
=
orgUsrServiceImpl
.
getOne
(
wrapper1
);
OrgUsr
orgUsr
=
orgUsrServiceImpl
.
getOne
(
wrapper1
);
if
(!
ValidationUtil
.
isEmpty
(
orgUsr
))
{
if
(!
ValidationUtil
.
isEmpty
(
orgUsr
))
{
String
deptId
=
String
.
valueOf
(
orgUsr
.
getSequenceNbr
());
String
deptId
=
String
.
valueOf
(
orgUsr
.
getSequenceNbr
());
if
(
roleSeqs
.
contains
(
chargeRoleSeq
))
{
LambdaQueryWrapper
<
DynamicFormInstance
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
DynamicFormInstance
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
DynamicFormInstance:
:
getFieldCode
,
"charge"
).
eq
(
DynamicFormInstance:
:
getInstanceId
,
deptId
);
queryWrapper
.
eq
(
DynamicFormInstance:
:
getFieldCode
,
"charge"
).
eq
(
DynamicFormInstance:
:
getInstanceId
,
deptId
);
DynamicFormInstance
instance
=
alertFormValueServiceImpl
.
getOne
(
queryWrapper
);
DynamicFormInstance
instance
=
alertFormValueServiceImpl
.
getOne
(
queryWrapper
);
String
obj
=
instance
.
getFieldValue
();
String
obj
=
instance
.
getFieldValue
();
List
list
=
new
ArrayList
();
List
list
=
new
ArrayList
();
if
(!
ValidationUtil
.
isEmpty
(
obj
))
{
if
(!
ValidationUtil
.
isEmpty
(
obj
))
{
list
=
JSON
.
parseArray
(
JSON
.
toJSONString
(
obj
),
ArrayList
.
class
);
list
=
JSON
.
parseObject
(
obj
,
ArrayList
.
class
);
}
}
Long
personId
=
one
.
getSequenceNbr
();
Long
personId
=
one
.
getSequenceNbr
();
if
(
roleSeqs
.
contains
(
chargeRoleSeq
))
{
if
(!
list
.
contains
(
personId
))
{
if
(!
list
.
contains
(
personId
))
{
list
.
add
(
personId
);
list
.
add
(
personId
);
}
}
}
else
{
if
(
list
.
contains
(
personId
))
{
list
.
remove
(
personId
);
}
}
instance
.
setFieldValue
(
JSON
.
toJSONString
(
list
));
instance
.
setFieldValue
(
JSON
.
toJSONString
(
list
));
alertFormValueServiceImpl
.
update
(
instance
,
queryWrapper
);
alertFormValueServiceImpl
.
update
(
instance
,
queryWrapper
);
}
}
}
}
}
...
...
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