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
8a8ef537
Commit
8a8ef537
authored
Aug 20, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jyjc): 报检开发调整
1.报检规则4.0开发,联调自测bug修改
parent
2db028ce
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+1
-1
JyjcInspectionApplicationController.java
...c/biz/controller/JyjcInspectionApplicationController.java
+2
-1
JyjcOpeningApplicationController.java
...jyjc/biz/controller/JyjcOpeningApplicationController.java
+2
-0
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+5
-5
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
8a8ef537
...
@@ -2979,7 +2979,7 @@
...
@@ -2979,7 +2979,7 @@
#{record}
#{record}
</foreach>
</foreach>
and (a.status
<![CDATA[ <> ]]>
'使用单位待提交' and a.status
<![CDATA[ <> ]]>
'已作废')
and (a.status
<![CDATA[ <> ]]>
'使用单位待提交' and a.status
<![CDATA[ <> ]]>
'已作废')
group by b.
recor
d
group by b.
equ_i
d
UNION all
UNION all
select
select
count(1) as inUseNumber,
count(1) as inUseNumber,
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcInspectionApplicationController.java
View file @
8a8ef537
...
@@ -13,6 +13,7 @@ import com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionApplicationEqui
...
@@ -13,6 +13,7 @@ import com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionApplicationEqui
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionApplicationModel
;
import
com.yeejoin.amos.boot.module.jyjc.api.model.JyjcInspectionApplicationModel
;
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.service.impl.CommonServiceImpl
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.JyjcInspectionApplicationServiceImpl
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.JyjcInspectionApplicationServiceImpl
;
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.IdxBizJgProjectContraption
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgProjectContraption
;
...
@@ -84,7 +85,7 @@ public class JyjcInspectionApplicationController extends BaseController {
...
@@ -84,7 +85,7 @@ public class JyjcInspectionApplicationController extends BaseController {
}
}
// operationType: 1-暂存 0-提交
// operationType: 1-暂存 0-提交
ReginParams
selectedOrgInfo
=
getSelectedOrgInfo
();
ReginParams
selectedOrgInfo
=
getSelectedOrgInfo
();
model
.
put
(
"applicationUnitCode"
,
selectedOrgInfo
.
getCompany
().
getCompanyCode
(
));
model
.
put
(
"applicationUnitCode"
,
CommonServiceImpl
.
getUnitCode
(
getSelectedOrgInfo
().
getCompany
()
));
if
(
model
.
get
(
"operationType"
).
toString
().
equals
(
"2"
)
||
model
.
get
(
"operationType"
).
toString
().
equals
(
"0"
))
{
if
(
model
.
get
(
"operationType"
).
toString
().
equals
(
"2"
)
||
model
.
get
(
"operationType"
).
toString
().
equals
(
"0"
))
{
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcOpeningApplicationController.java
View file @
8a8ef537
...
@@ -278,6 +278,7 @@ public class JyjcOpeningApplicationController extends BaseController {
...
@@ -278,6 +278,7 @@ public class JyjcOpeningApplicationController extends BaseController {
public
ResponseModel
<
List
<
TzsUserInfoVo
>>
getBizUserInfosByUnitCode
(
@ApiParam
(
value
=
"公司编码"
)
@RequestParam
(
required
=
false
)
String
unitCode
,
@ApiParam
(
value
=
"人员类型"
,
allowableValues
=
"jy,jc"
)
@RequestParam
String
personType
)
{
public
ResponseModel
<
List
<
TzsUserInfoVo
>>
getBizUserInfosByUnitCode
(
@ApiParam
(
value
=
"公司编码"
)
@RequestParam
(
required
=
false
)
String
unitCode
,
@ApiParam
(
value
=
"人员类型"
,
allowableValues
=
"jy,jc"
)
@RequestParam
String
personType
)
{
if
(
StringUtils
.
isEmpty
(
unitCode
))
{
if
(
StringUtils
.
isEmpty
(
unitCode
))
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
// 完整的包括个人的人证件类型6600_
unitCode
=
reginParams
.
getCompany
().
getCompanyCode
();
unitCode
=
reginParams
.
getCompany
().
getCompanyCode
();
}
}
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
getUserListByUnitCodeAndPost
(
unitCode
,
personType
));
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
getUserListByUnitCodeAndPost
(
unitCode
,
personType
));
...
@@ -297,6 +298,7 @@ public class JyjcOpeningApplicationController extends BaseController {
...
@@ -297,6 +298,7 @@ public class JyjcOpeningApplicationController extends BaseController {
@ApiParam
(
value
=
"人员类型"
,
allowableValues
=
"jy,jc"
)
@RequestParam
String
personType
)
{
@ApiParam
(
value
=
"人员类型"
,
allowableValues
=
"jy,jc"
)
@RequestParam
String
personType
)
{
if
(
StringUtils
.
isEmpty
(
unitCode
))
{
if
(
StringUtils
.
isEmpty
(
unitCode
))
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
// 完整的包括个人的人证件类型6600_
unitCode
=
reginParams
.
getCompany
().
getCompanyCode
();
unitCode
=
reginParams
.
getCompany
().
getCompanyCode
();
}
}
// 前端表单特殊结构封装 ,key有用不能更换
// 前端表单特殊结构封装 ,key有用不能更换
...
...
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 @
8a8ef537
...
@@ -177,10 +177,10 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -177,10 +177,10 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
}
}
if
(
type
)
{
if
(
type
)
{
// 检验检测单位分页查询
// 检验检测单位分页查询
model
.
setInspectionUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
(
));
model
.
setInspectionUnitCode
(
CommonServiceImpl
.
getUnitCode
(
reginParams
.
getCompany
()
));
}
else
{
}
else
{
// 报检单位分页查询
// 报检单位分页查询
model
.
setApplicationUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
(
));
model
.
setApplicationUnitCode
(
CommonServiceImpl
.
getUnitCode
(
reginParams
.
getCompany
()
));
}
}
Page
<
JyjcInspectionResultModel
>
resultPage
=
resultMapper
.
selectJyjcInspectionResultpPage
(
page
,
model
);
Page
<
JyjcInspectionResultModel
>
resultPage
=
resultMapper
.
selectJyjcInspectionResultpPage
(
page
,
model
);
resultPage
.
getRecords
().
forEach
(
v
->
{
resultPage
.
getRecords
().
forEach
(
v
->
{
...
@@ -203,7 +203,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -203,7 +203,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
}
}
// 判断当前登录人身份(报检机构、接收机构、即时报检又是接收机构、都不是(不存在此情况))
// 判断当前登录人身份(报检机构、接收机构、即时报检又是接收机构、都不是(不存在此情况))
String
identity
=
CommonServiceImpl
.
getCompanyIdentityByType
(
reginParams
.
getCompany
().
getCompanyType
());
String
identity
=
CommonServiceImpl
.
getCompanyIdentityByType
(
reginParams
.
getCompany
().
getCompanyType
());
model
.
setCompanyCode
(
reginParams
.
getCompany
().
getCompanyCode
(
));
model
.
setCompanyCode
(
CommonServiceImpl
.
getUnitCode
(
reginParams
.
getCompany
()
));
Page
<
JyjcInspectionResultModel
>
resultPage
=
resultMapper
.
selectForPage
(
page
,
model
,
identity
,
sortMap
);
Page
<
JyjcInspectionResultModel
>
resultPage
=
resultMapper
.
selectForPage
(
page
,
model
,
identity
,
sortMap
);
resultPage
.
getRecords
().
forEach
(
v
->
{
resultPage
.
getRecords
().
forEach
(
v
->
{
if
(
ResultStatusEnum
.
NO_RESULT
.
getCode
().
equals
(
v
.
getResultStatus
()))
{
if
(
ResultStatusEnum
.
NO_RESULT
.
getCode
().
equals
(
v
.
getResultStatus
()))
{
...
@@ -735,7 +735,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -735,7 +735,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
JyjcInspectionResult
jyjcInspectionResult
=
new
JyjcInspectionResult
()
JyjcInspectionResult
jyjcInspectionResult
=
new
JyjcInspectionResult
()
.
setInspectionUnitCode
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgCode"
,
""
)))
.
setInspectionUnitCode
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgCode"
,
""
)))
.
setApplicationNo
(
applicationNos
.
get
(
i
))
.
setApplicationNo
(
applicationNos
.
get
(
i
))
.
setApplicationUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
(
))
.
setApplicationUnitCode
(
CommonServiceImpl
.
getUnitCode
(
reginParams
.
getCompany
()
))
.
setEquipUnicode
(
Objects
.
toString
(
equ
.
get
(
"record"
)))
.
setEquipUnicode
(
Objects
.
toString
(
equ
.
get
(
"record"
)))
.
setResultStatus
(
ResultStatusEnum
.
YES_RESULT
.
getCode
())
.
setResultStatus
(
ResultStatusEnum
.
YES_RESULT
.
getCode
())
.
setLicenseNumber
(
null
)
.
setLicenseNumber
(
null
)
...
@@ -867,7 +867,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -867,7 +867,7 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
try
{
try
{
JyjcInspectionResult
jyjcInspectionResult
=
new
JyjcInspectionResult
()
JyjcInspectionResult
jyjcInspectionResult
=
new
JyjcInspectionResult
()
.
setInspectionUnitCode
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgCode"
,
""
)))
.
setInspectionUnitCode
(
Objects
.
toString
(
entryData
.
getOrDefault
(
"inspectOrgCode"
,
""
)))
.
setApplicationUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
(
))
.
setApplicationUnitCode
(
CommonServiceImpl
.
getUnitCode
(
reginParams
.
getCompany
()
))
.
setEquipUnicode
(
Objects
.
toString
(
equ
.
get
(
"record"
)))
.
setEquipUnicode
(
Objects
.
toString
(
equ
.
get
(
"record"
)))
.
setResultStatus
(
ResultStatusEnum
.
YES_RESULT
.
getCode
())
.
setResultStatus
(
ResultStatusEnum
.
YES_RESULT
.
getCode
())
.
setLicenseNumber
(
null
)
.
setLicenseNumber
(
null
)
...
...
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