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
645aa5be
Commit
645aa5be
authored
Nov 24, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分页查询项目质量监检信息查找逻辑
parent
68226914
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
XJConstant.java
...eejoin/amos/boot/module/ugp/api/constants/XJConstant.java
+1
-0
InstallationQualityImpl.java
.../module/ugp/biz/service/impl/InstallationQualityImpl.java
+3
-2
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/constants/XJConstant.java
View file @
645aa5be
...
...
@@ -28,6 +28,7 @@ public class XJConstant {
public
static
final
int
ORG_CODE
=
18
;
public
static
final
int
ORG_CODE_USER
=
12
;
public
static
final
int
CODE_USER_SUM
=
6
;
public
static
final
String
监检
=
"WzNVBO"
;
/** 企业用户注册前缀 */
public
static
final
String
UGP_USER_TEL
=
"ugp_tel_"
;
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/InstallationQualityImpl.java
View file @
645aa5be
...
...
@@ -6,6 +6,7 @@ import com.yeejoin.amos.boot.module.common.api.dto.OrgUsrFormDto;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.ugp.api.Enum.StageEnum
;
import
com.yeejoin.amos.boot.module.ugp.api.constants.XJConstant
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.PercentOfPassDto
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.WeldDto
;
import
com.yeejoin.amos.boot.module.ugp.api.entity.Project
;
...
...
@@ -58,7 +59,7 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
ProjectResourceServiceImpl
projectResourceService
;
static
final
String
监检
=
"WzNVBO"
;
//分页查询项目质量监检信息
...
...
@@ -71,7 +72,7 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
Set
<
String
>
projectIds
=
new
HashSet
<>();
Long
companySequenceNbr
=
orgService
.
getReginParams
().
getBusinessInfo
().
getCompanySequenceNbr
();
OrgUsr
orgUsrById
=
orgService
.
getOrgUsrById
(
String
.
valueOf
(
companySequenceNbr
));
if
(
Pattern
.
matches
(
orgUsrById
.
getBizOrgCode
(),
监检
)){
if
(
orgUsrById
.
getBizOrgCode
().
contains
(
XJConstant
.
监检
)){
List
<
Project
>
projects
=
projectMapper
.
selectList
(
null
);
for
(
Project
i:
projects
){
projectIds
.
add
(
String
.
valueOf
(
i
.
getSequenceNbr
()));
...
...
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