Commit 5778d12a authored by xinglei's avatar xinglei

科技处告警跑马灯展示

parent 6ab4d9c7
...@@ -234,7 +234,6 @@ public class SelfSupportListener extends EmqxListener implements InitializingBea ...@@ -234,7 +234,6 @@ public class SelfSupportListener extends EmqxListener implements InitializingBea
Properties props = PropertiesLoaderUtils.loadAllProperties("application.properties"); Properties props = PropertiesLoaderUtils.loadAllProperties("application.properties");
String url = (String) props.get("params.remoteWebsocketUrl") + "/generic/sendMessage"; String url = (String) props.get("params.remoteWebsocketUrl") + "/generic/sendMessage";
HttpUtil.PostJson(url, JSON.toJSONString(param)); HttpUtil.PostJson(url, JSON.toJSONString(param));
} }
} }
......
...@@ -16,7 +16,7 @@ public interface BankInfoMapper extends BaseMapper { ...@@ -16,7 +16,7 @@ public interface BankInfoMapper extends BaseMapper {
List<BankInfoDTO> selectBankInfoList(); List<BankInfoDTO> selectBankInfoList();
int findBySourceId(@Param("sourceId")Long sourceId); String findBySourceId(@Param("sourceId")Long sourceId);
void updateBySourceId(@Param("status") int status, @Param("sourceId")Long sourceId); void updateBySourceId(@Param("status") int status, @Param("sourceId")Long sourceId);
......
...@@ -40,5 +40,4 @@ public interface IEquipmentService { ...@@ -40,5 +40,4 @@ public interface IEquipmentService {
List<PointParam> handlePatrolPointData(Long factorId) throws InnerInvokException; List<PointParam> handlePatrolPointData(Long factorId) throws InnerInvokException;
Map<String, List> handlePointDatas(Long factorId) throws InnerInvokException; Map<String, List> handlePointDatas(Long factorId) throws InnerInvokException;
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
from b_bank_info Bi left join b_bank_equipment Be on Bi.id = Be.bank_id group by Bi.id from b_bank_info Bi left join b_bank_equipment Be on Bi.id = Be.bank_id group by Bi.id
</select> </select>
<select id="findBySourceId" resultType="int"> <select id="findBySourceId" resultType="String">
select status from b_bank_equipment where 1=1 and source_id = #{sourceId} select status from b_bank_equipment where 1=1 and source_id = #{sourceId}
</select> </select>
......
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