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
7bb10ecf
Commit
7bb10ecf
authored
Dec 18, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(检验业务开通):1.新增接口-根据ID查找企业详情信息; 2.报检流程页面配置
parent
bf7f52d5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
2 deletions
+31
-2
JyjcInspectionApplicationMapper.xml
...main/resources/mapper/JyjcInspectionApplicationMapper.xml
+4
-0
CommonController.java
...mos/boot/module/jyjc/biz/controller/CommonController.java
+8
-0
CommonserviceImpl.java
.../boot/module/jyjc/biz/service/impl/CommonserviceImpl.java
+4
-0
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+1
-1
TzBaseEnterpriseInfoMapper.java
...oot/module/ymt/api/mapper/TzBaseEnterpriseInfoMapper.java
+11
-0
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+3
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcInspectionApplicationMapper.xml
View file @
7bb10ecf
...
...
@@ -5,6 +5,10 @@
<select
id=
"queryForDataList"
resultType=
"com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionApplication"
>
select
tzjia.sequence_nbr,
tzjia.process_instance_id,
tzjia.workflow_node,
tzjia.biz_type,
tzjia.application_no,
tzjia.inspection_type,
(select name from cb_data_dictionary where cb_data_dictionary.code = tzjia.inspection_classify and cb_data_dictionary.type = 'JYJCLB') as inspectionClassify,
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/CommonController.java
View file @
7bb10ecf
...
...
@@ -50,4 +50,12 @@ public class CommonController extends BaseController {
public
ResponseModel
<
List
<
TzBaseEnterpriseInfo
>>
getInspectionUnitList
()
{
return
ResponseHelper
.
buildResponse
(
commonserviceImpl
.
getInspectionUnitList
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getInspectionUnit/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询检验检测机构基本信息"
,
notes
=
"查询检验检测机构基本信息"
)
public
ResponseModel
<
TzBaseEnterpriseInfo
>
getInspectionUnitBySequenceNbr
(
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
commonserviceImpl
.
getInspectionUnitBySequenceNbr
(
sequenceNbr
));
}
}
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/CommonserviceImpl.java
View file @
7bb10ecf
...
...
@@ -52,4 +52,8 @@ public class CommonserviceImpl {
public
List
<
TzBaseEnterpriseInfo
>
getInspectionUnitList
()
{
return
enterpriseInfoMapper
.
getInspectionUnitList
(
UNIT_TYPE
);
}
public
TzBaseEnterpriseInfo
getInspectionUnitBySequenceNbr
(
Long
sequenceNbr
)
{
return
enterpriseInfoMapper
.
selectBySeq
(
sequenceNbr
);
}
}
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 @
7bb10ecf
...
...
@@ -266,7 +266,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
execueFlow
(
params
);
// 执行接收业务
String
type
=
(
String
)
params
.
get
(
"type"
);
Long
sequenceNbr
=
(
Long
)
params
.
get
(
"sequenceNbr"
);
Long
sequenceNbr
=
Long
.
parseLong
((
String
)
params
.
get
(
"sequenceNbr"
)
);
JyjcInspectionApplicationModel
inspectionApplicationModel
=
this
.
queryBySeq
(
sequenceNbr
);
List
<
JyjcInspectionApplicationEquipModel
>
applicationEquipModels
=
applicationEquipService
.
listApplicationEquipByApplicationSeq
(
sequenceNbr
);
if
(
inspectionApplicationModel
==
null
||
ValidationUtil
.
isEmpty
(
applicationEquipModels
))
{
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/TzBaseEnterpriseInfoMapper.java
View file @
7bb10ecf
...
...
@@ -52,4 +52,15 @@ public interface TzBaseEnterpriseInfoMapper extends BaseMapper<TzBaseEnterpriseI
*
*/
List
<
TzBaseEnterpriseInfo
>
getInspectionUnitList
(
@Param
(
"unitType"
)
String
unitType
);
/**
* 根据ID查找企业详情信息
*
*
* @param sequenceNbr sequenceNbr
* @return {@link TzBaseEnterpriseInfo}
* @author yangyang
* @throws
*/
TzBaseEnterpriseInfo
selectBySeq
(
Long
sequenceNbr
);
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
7bb10ecf
...
...
@@ -159,5 +159,7 @@
from tz_base_enterprise_info
where unit_type LIKE CONCAT('%',#{unitType},'%')
</select>
<select
id=
"selectBySeq"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseEnterpriseInfo"
>
select * from tz_base_enterprise_info where sequence_nbr = #{sequenceNbr}
</select>
</mapper>
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