Commit 64b41969 authored by tangwei's avatar tangwei

删除无用接口

parent 0d42ac56
......@@ -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);
}
/**
* 根据装备状态统计总数(按仓库)
......
......@@ -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
......
......@@ -22,5 +22,5 @@ public interface IStatisticsService {
*/
List<EquipCategoryVo> equipCategoryVoList(String systemCode);
Map<String, Object> getWarehouseId(String orgcode);
}
......@@ -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
......
......@@ -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
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment