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
92fd474f
Commit
92fd474f
authored
Dec 06, 2024
by
Lambertliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):监察审批范围调整
parent
5eff15c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+7
-8
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
92fd474f
...
@@ -1586,13 +1586,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -1586,13 +1586,9 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
map
.
put
(
"approvalStatus"
,
"提交"
);
map
.
put
(
"approvalStatus"
,
"提交"
);
}
}
String
company
Code
=
""
;
String
org
Code
=
""
;
if
(
jsonObject
.
containsKey
(
"orgBranchCode"
)
&&
!
ObjectUtils
.
isEmpty
(
jsonObject
.
get
(
"orgBranchCode"
)))
{
if
(
jsonObject
.
containsKey
(
"orgBranchCode"
)
&&
!
ObjectUtils
.
isEmpty
(
jsonObject
.
get
(
"orgBranchCode"
)))
{
String
orgBranchCode
=
String
.
valueOf
(
jsonObject
.
get
(
"orgBranchCode"
)).
split
(
"_"
)[
0
];
orgCode
=
String
.
valueOf
(
jsonObject
.
get
(
"orgBranchCode"
)).
split
(
"_"
)[
0
];;
String
orgCode
=
orgBranchCode
.
substring
(
0
,
orgBranchCode
.
lastIndexOf
(
"*"
));
HashMap
<
String
,
Object
>
parentMessage
=
(
HashMap
<
String
,
Object
>)
Privilege
.
companyClient
.
queryByOrgcode
(
orgCode
).
getResult
();
CompanyModel
parentModel
=
JSON
.
parseObject
(
JSON
.
toJSONString
(
parentMessage
.
get
(
"compnay"
)),
CompanyModel
.
class
);
companyCode
=
parentModel
.
getCompanyCode
();
}
}
//驳回
//驳回
if
(
"1"
.
equals
(
operate
)){
if
(
"1"
.
equals
(
operate
)){
...
@@ -1606,19 +1602,21 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -1606,19 +1602,21 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if
(
"2"
.
equals
(
jgUseRegistration
.
getRegType
()))
{
if
(
"2"
.
equals
(
jgUseRegistration
.
getRegType
()))
{
// 二级驳回到监察单位
// 二级驳回到监察单位
if
(
WorkFlowStatusEnum
.
USE_PRELIMINARY
.
getPass
().
equals
(
jgUseRegistration
.
getStatus
())
||
WorkFlowStatusEnum
.
USE_PRELIMINARY
.
getReject
().
equals
(
jgUseRegistration
.
getStatus
())){
if
(
WorkFlowStatusEnum
.
USE_PRELIMINARY
.
getPass
().
equals
(
jgUseRegistration
.
getStatus
())
||
WorkFlowStatusEnum
.
USE_PRELIMINARY
.
getReject
().
equals
(
jgUseRegistration
.
getStatus
())){
dto
.
setNextExecuteUserCompanyCode
(
company
Code
);
map
.
put
(
"nextExecuteUserOrgCode"
,
org
Code
);
dto
.
setResultCode
(
"approvalStatus"
);
dto
.
setResultCode
(
"approvalStatus"
);
map
.
put
(
"approvalStatus"
,
"10"
);
map
.
put
(
"approvalStatus"
,
"10"
);
operate
=
"2"
;
operate
=
"2"
;
}
else
if
(
WorkFlowStatusEnum
.
USE_SAFETY_CHECK
.
getPass
().
equals
(
jgUseRegistration
.
getStatus
())||
WorkFlowStatusEnum
.
USE_SAFETY_CHECK
.
getReject
().
equals
(
jgUseRegistration
.
getStatus
())){
}
else
if
(
WorkFlowStatusEnum
.
USE_SAFETY_CHECK
.
getPass
().
equals
(
jgUseRegistration
.
getStatus
())||
WorkFlowStatusEnum
.
USE_SAFETY_CHECK
.
getReject
().
equals
(
jgUseRegistration
.
getStatus
())){
//安全监察驳回到一级
//安全监察驳回到一级
dto
.
setNextExecuteUserCompanyCode
(
jgUseRegistration
.
getReceiveCompanyCode
());
dto
.
setNextExecuteUserCompanyCode
(
jgUseRegistration
.
getReceiveCompanyCode
());
map
.
put
(
"nextExecuteUserOrgCode"
,
""
);
dto
.
setResultCode
(
"approvalStatus"
);
dto
.
setResultCode
(
"approvalStatus"
);
map
.
put
(
"approvalStatus"
,
operate
);
map
.
put
(
"approvalStatus"
,
operate
);
operate
=
"2"
;
operate
=
"2"
;
}
else
{
}
else
{
dto
.
setNextExecuteUserCompanyCode
(
jgUseRegistration
.
getReceiveCompanyCode
());
dto
.
setNextExecuteUserCompanyCode
(
jgUseRegistration
.
getReceiveCompanyCode
());
dto
.
setResultCode
(
"approvalStatus"
);
dto
.
setResultCode
(
"approvalStatus"
);
map
.
put
(
"nextExecuteUserOrgCode"
,
""
);
map
.
put
(
"approvalStatus"
,
operate
);
map
.
put
(
"approvalStatus"
,
operate
);
}
}
}
else
{
}
else
{
...
@@ -1633,10 +1631,11 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -1633,10 +1631,11 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if
(
"2"
.
equals
(
jgUseRegistration
.
getRegType
())
&&
(
WorkFlowStatusEnum
.
USE_RECEIVE
.
getPass
().
equals
(
jgUseRegistration
.
getStatus
())
||
WorkFlowStatusEnum
.
USE_RECEIVE
.
getReject
().
equals
(
jgUseRegistration
.
getStatus
()))){
if
(
"2"
.
equals
(
jgUseRegistration
.
getRegType
())
&&
(
WorkFlowStatusEnum
.
USE_RECEIVE
.
getPass
().
equals
(
jgUseRegistration
.
getStatus
())
||
WorkFlowStatusEnum
.
USE_RECEIVE
.
getReject
().
equals
(
jgUseRegistration
.
getStatus
()))){
dto
.
setResultCode
(
"approvalStatus"
);
dto
.
setResultCode
(
"approvalStatus"
);
map
.
put
(
"approvalStatus"
,
"9"
);
map
.
put
(
"approvalStatus"
,
"9"
);
dto
.
setNextExecuteUserCompanyCode
(
company
Code
);
map
.
put
(
"nextExecuteUserOrgCode"
,
org
Code
);
}
else
{
//新增登记
}
else
{
//新增登记
map
.
put
(
"approvalStatus"
,
operate
);
map
.
put
(
"approvalStatus"
,
operate
);
dto
.
setResultCode
(
"approvalStatus"
);
dto
.
setResultCode
(
"approvalStatus"
);
map
.
put
(
"nextExecuteUserOrgCode"
,
""
);
dto
.
setNextExecuteUserCompanyCode
(
jgUseRegistration
.
getReceiveCompanyCode
());
dto
.
setNextExecuteUserCompanyCode
(
jgUseRegistration
.
getReceiveCompanyCode
());
}
}
}
}
...
...
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