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
ff5cef42
Commit
ff5cef42
authored
Feb 11, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
4769dead
2488a807
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
1 deletion
+31
-1
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+11
-0
ICommonService.java
...ejoin/amos/boot/module/jg/biz/service/ICommonService.java
+2
-0
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+6
-0
EquipmentCategoryMapper.java
...s/boot/module/ymt/api/mapper/EquipmentCategoryMapper.java
+1
-1
EquipmentCategoryMapper.xml
...api/src/main/resources/mapper/EquipmentCategoryMapper.xml
+11
-0
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/controller/CommonController.java
View file @
ff5cef42
...
@@ -197,6 +197,17 @@ public class CommonController extends BaseController {
...
@@ -197,6 +197,17 @@ public class CommonController extends BaseController {
return
ResponseHelper
.
buildResponse
(
commonService
.
equipmentClassification
(
type
));
return
ResponseHelper
.
buildResponse
(
commonService
.
equipmentClassification
(
type
));
}
}
/**
* 设备管道品种
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/equipmentPipeType3ByParentCode"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"设备管道品种"
,
notes
=
"设备管道品种"
)
public
ResponseModel
<
List
<
EquipmentCategoryDto
>>
equipmentPipeType3ByParentCode
(
@RequestParam
(
value
=
"parentCode"
,
required
=
false
)
String
parentCode
)
{
return
ResponseHelper
.
buildResponse
(
commonService
.
equipmentPipeType3ByParentCode
(
parentCode
));
}
/**
/**
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/ICommonService.java
View file @
ff5cef42
...
@@ -190,6 +190,8 @@ public interface ICommonService {
...
@@ -190,6 +190,8 @@ public interface ICommonService {
*/
*/
List
<
EquipmentCategoryDto
>
equipmentClassification
(
String
type
);
List
<
EquipmentCategoryDto
>
equipmentClassification
(
String
type
);
List
<
EquipmentCategoryDto
>
equipmentPipeType3ByParentCode
(
String
parentCode
);
List
<
EquipmentCategoryDto
>
equipmentClassificationByParentCode
(
String
type
,
String
parentCode
);
List
<
EquipmentCategoryDto
>
equipmentClassificationByParentCode
(
String
type
,
String
parentCode
);
/**
/**
...
...
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/CommonServiceImpl.java
View file @
ff5cef42
...
@@ -2134,6 +2134,12 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -2134,6 +2134,12 @@ public class CommonServiceImpl implements ICommonService {
return
result
;
return
result
;
}
}
@Override
public
List
<
EquipmentCategoryDto
>
equipmentPipeType3ByParentCode
(
String
parentCode
)
{
List
<
EquipmentCategoryDto
>
categoryList
=
equipmentCategoryMapper
.
equipmentPipeType3ByParentCode
(
parentCode
);
return
categoryList
;
}
/**
/**
* 设备分类
* 设备分类
*
*
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/EquipmentCategoryMapper.java
View file @
ff5cef42
...
@@ -26,7 +26,7 @@ public interface EquipmentCategoryMapper extends BaseMapper<EquipmentCategory> {
...
@@ -26,7 +26,7 @@ public interface EquipmentCategoryMapper extends BaseMapper<EquipmentCategory> {
@Select
(
"SELECT * FROM tz_equipment_category WHERE code NOT LIKE '7%' ORDER BY parent_id"
)
@Select
(
"SELECT * FROM tz_equipment_category WHERE code NOT LIKE '7%' ORDER BY parent_id"
)
List
<
EquipmentCategoryDto
>
selectClassifyNoStart7
();
List
<
EquipmentCategoryDto
>
selectClassifyNoStart7
();
List
<
EquipmentCategoryDto
>
equipmentPipeType3ByParentCode
(
@Param
(
"parentCode"
)
String
parentCode
);
List
<
EquipmentCategoryDto
>
selectClassifyNoStart7ByParentCode
(
@Param
(
"parentCode"
)
String
parentCode
);
List
<
EquipmentCategoryDto
>
selectClassifyNoStart7ByParentCode
(
@Param
(
"parentCode"
)
String
parentCode
);
@Select
(
"SELECT * FROM tz_equipment_category WHERE code NOT LIKE '7%' AND code NOT LIKE '8%' ORDER BY parent_id"
)
@Select
(
"SELECT * FROM tz_equipment_category WHERE code NOT LIKE '7%' AND code NOT LIKE '8%' ORDER BY parent_id"
)
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/EquipmentCategoryMapper.xml
View file @
ff5cef42
...
@@ -683,6 +683,17 @@
...
@@ -683,6 +683,17 @@
AND "CLAIM_STATUS" = '已认领';
AND "CLAIM_STATUS" = '已认领';
</select>
</select>
<select
id=
"equipmentPipeType3ByParentCode"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto"
>
select * from tz_equipment_category
<where>
code like '8%' and code NOT LIKE '%00'
<if
test=
"parentCode != null and parentCode != ''"
>
and parent_id = (SELECT id FROM tz_equipment_category WHERE code = #{parentCode} )
</if>
</where>
ORDER BY parent_id
</select>
<select
id=
"selectClassifyNoStart7ByParentCode"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto"
>
<select
id=
"selectClassifyNoStart7ByParentCode"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.dto.EquipmentCategoryDto"
>
select * from tz_equipment_category
select * from tz_equipment_category
<where>
<where>
...
...
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