Commit 5a519749 authored by maoying's avatar maoying

修改无用引用

parent f5afd28e
...@@ -10,7 +10,7 @@ eureka.client.healthcheck.enabled = true ...@@ -10,7 +10,7 @@ eureka.client.healthcheck.enabled = true
eureka.client.fetchRegistry = true eureka.client.fetchRegistry = true
eureka.instance.prefer-ip-address=true eureka.instance.prefer-ip-address=true
#DB properties: #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.username=root
spring.datasource.password=root_123 spring.datasource.password=root_123
......
...@@ -285,24 +285,7 @@ ...@@ -285,24 +285,7 @@
<!-- )--> <!-- )-->
<!-- </select>--> <!-- </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 id="findEquipDetailsById" resultType="com.yeejoin.amos.fas.core.common.response.EquipDetailsResponse">-->
<!-- SELECT--> <!-- SELECT-->
...@@ -318,8 +301,7 @@ ...@@ -318,8 +301,7 @@
<!-- <if test="id!=null">AND eq.id = #{id}</if>--> <!-- <if test="id!=null">AND eq.id = #{id}</if>-->
<!-- </where>--> <!-- </where>-->
<!-- </select>--> <!-- </select>-->
<select id="queryStorageEquips" resultType="map"> <select id="queryStorageEquips" resultType="map">
SELECT SELECT
wed.id, wed.id,
...@@ -673,7 +655,7 @@ ...@@ -673,7 +655,7 @@
<!-- where s.id = r.source_id and s.id = #{id}--> <!-- where s.id = r.source_id and s.id = #{id}-->
<!-- </select>--> <!-- </select>-->
<select id="findFireStationById" resultType="com.yeejoin.amos.fas.dao.entity.FireStation"> <!-- <select id="findFireStationById" resultType="java.util.Map">
SELECT SELECT
wb.`name`, wb.`name`,
wb.`code`, wb.`code`,
...@@ -686,5 +668,5 @@ ...@@ -686,5 +668,5 @@
wl_building wb wl_building wb
WHERE WHERE
wb.id = #{id} wb.id = #{id}
</select> </select> -->
</mapper> </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