Commit 5a519749 authored by maoying's avatar maoying

修改无用引用

parent f5afd28e
......@@ -10,7 +10,7 @@ eureka.client.healthcheck.enabled = true
eureka.client.fetchRegistry = true
eureka.instance.prefer-ip-address=true
#DB properties:
spring.datasource.url=jdbc:mysql://172.16.10.66:3306/safety-business-2.1.4?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url=jdbc:mysql://172.16.10.66:3306/safety-business-3.0.0?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username=root
spring.datasource.password=root_123
......
......@@ -285,24 +285,7 @@
<!-- )-->
<!-- </select>-->
<select id="queryStorageEquips" resultType="map">
SELECT
wed.`name`,
u.`name` AS unit,
sum(wsd.amount) fireEquipmentCount
FROM
wl_stock_detail wsd
LEFT JOIN wl_equipment_detail wed ON wed.id = wsd.equipment_detail_id
LEFT JOIN wl_equipment we ON we.id = wed.equipment_id
LEFT JOIN wl_unit u ON u.id = we.unit_id
LEFT JOIN wl_warehouse_structure ws ON ws.source_id = wsd.warehouse_structure_id
left join f_risk_source as sce on sce.source_id = ws.source_id
WHERE
sce.id = #{riskSourceId}
GROUP BY
wsd.equipment_detail_id,
wed.`name`
</select>
<!-- <select id="findEquipDetailsById" resultType="com.yeejoin.amos.fas.core.common.response.EquipDetailsResponse">-->
<!-- SELECT-->
......@@ -318,8 +301,7 @@
<!-- <if test="id!=null">AND eq.id = #{id}</if>-->
<!-- </where>-->
<!-- </select>-->
<select id="queryStorageEquips" resultType="map">
SELECT
wed.id,
......@@ -673,7 +655,7 @@
<!-- where s.id = r.source_id and s.id = #{id}-->
<!-- </select>-->
<select id="findFireStationById" resultType="com.yeejoin.amos.fas.dao.entity.FireStation">
<!-- <select id="findFireStationById" resultType="java.util.Map">
SELECT
wb.`name`,
wb.`code`,
......@@ -686,5 +668,5 @@
wl_building wb
WHERE
wb.id = #{id}
</select>
</select> -->
</mapper>
\ No newline at end of file
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