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
64b41969
Commit
64b41969
authored
Dec 13, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用接口
parent
0d42ac56
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
17 deletions
+20
-17
StatisticsController.java
.../yeejoin/equipmanage/controller/StatisticsController.java
+1
-7
EquipmentSpecificMapper.java
...m/yeejoin/equipmanage/mapper/EquipmentSpecificMapper.java
+1
-1
IStatisticsService.java
...a/com/yeejoin/equipmanage/service/IStatisticsService.java
+1
-1
StatisticsServiceImpl.java
...ejoin/equipmanage/service/impl/StatisticsServiceImpl.java
+1
-5
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+15
-0
EquipmentSpecificMapper.xml
...uip/src/main/resources/mapper/EquipmentSpecificMapper.xml
+1
-3
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/StatisticsController.java
View file @
64b41969
...
...
@@ -45,13 +45,7 @@ public class StatisticsController {
}
@RequestMapping
(
value
=
"/getwarehouseId"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
Map
<
String
,
Object
>
getEquipmentStatusByWarehouseId
()
{
return
iStatisticsService
.
getWarehouseId
(
stationCode
);
}
/**
* 根据装备状态统计总数(按仓库)
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/EquipmentSpecificMapper.java
View file @
64b41969
...
...
@@ -174,7 +174,7 @@ public interface EquipmentSpecificMapper extends BaseMapper<EquipmentSpecific> {
Map
<
String
,
Double
>
getEquipLocationInfo
(
Long
equipmentSpecificId
);
Map
<
String
,
Object
>
getEquipSpeInfo
(
@Param
(
"equipmentSpecificId"
)
Long
equipmentSpecificId
);
Map
<
String
,
Object
>
getWarehouseId
(
@Param
(
"code"
)
String
code
);
/**
* 根据specificId删除装备相关数据
* @param specificId specificId
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/IStatisticsService.java
View file @
64b41969
...
...
@@ -22,5 +22,5 @@ public interface IStatisticsService {
*/
List
<
EquipCategoryVo
>
equipCategoryVoList
(
String
systemCode
);
Map
<
String
,
Object
>
getWarehouseId
(
String
orgcode
);
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/StatisticsServiceImpl.java
View file @
64b41969
...
...
@@ -221,11 +221,7 @@ public class StatisticsServiceImpl implements IStatisticsService {
return
equipmentSpecificMapper
.
selectEquipCategoryNumber
(
fightingSystemEntity
.
getId
());
}
@Override
public
Map
<
String
,
Object
>
getWarehouseId
(
String
orgcode
)
{
Map
<
String
,
Object
>
map
=
equipmentSpecificMapper
.
getWarehouseId
(
orgcode
);
return
map
;
}
private
Double
getExtinguishingCountByWarehouseId
(
String
categoryCode
,
Long
warehouseId
)
{
List
<
EquipmentCategory
>
categoryList
=
iEquipmentCategoryService
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
64b41969
...
...
@@ -512,4 +512,18 @@
</sql>
</changeSet>
<changeSet
author=
"tw"
id=
"20221213-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"idx_biz_station_info"
/>
</preConditions>
<comment>
删除字段
</comment>
<sql>
alter table idx_biz_station_info DROP COLUMN warehouse_id;
</sql>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificMapper.xml
View file @
64b41969
...
...
@@ -1406,9 +1406,7 @@
<select
id=
"getWarehouseId"
resultType=
"Map"
>
select warehouse_id as warehouseId from idx_biz_station_info where code = #{code}
</select>
<delete
id=
"deleteEquipDataBySpecificId"
>
...
...
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