You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

105 lines
4.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<datasources>
<!--获取事件列表-->
<data>
<id>selectEventList</id>
<type>1</type>
<item>
<interTypy>
select
guid, msg_title, incident_id, object_type, object_sub_type, object_small_type, obj_level,
occur_time, occur_addr, district_code, reason, description, longitude, latitude, affect_degree,
loss, handle_flag, submit_mode, submit_person, submit_person_phone, submit_time, source_org_info,
source_org_name, accept_sugg, accept_person, accept_person_phone, accepts_time, create_org_code,
create_org_name, create_person, create_time, update_time, update_by, dept_id, user_id,
assessment_status, assessment_time, assessor
from eve_event_receive
<!--WHERE handle_flag in ( 0 , 1 , 3 , 4 , 5 ) ORDER BY create_time desc-->
WHERE handle_flag in ( 1 , 5 ) ORDER BY create_time desc
</interTypy>
</item>
</data>
<!--获取事件类型-->
<data>
<id>selectEventType</id>
<type>1</type>
<item>
<interTypy>
select
s.data_dict_id, s.data_dict_name, s.data_dict_value, s.data_dict_desc, s.parent_id, s.order_id
from duty_dict s left join duty_dict p on p.data_dict_id = s.parent_id
where p.data_dict_value = '10000'
order by s.order_id
</interTypy>
</item>
</data>
<!--获取字典中的信息-->
<data>
<id>selectDictByValue</id>
<type>1</type>
<item>
<interTypy>
select
s.param_item_id, s.data_dict_id, s.param_value, s.param_id, s.param_desc, s.param_state, s.order_id
from duty_dict_item s left join duty_dict p on p.data_dict_id = s.data_dict_id
where p.data_dict_value = #{dataDictValue}
order by s.order_id
</interTypy>
</item>
</data>
<!-- 获取事故详情 -->
<data>
<id>selectEventById</id>
<type>1</type>
<item>
<interTypy>
select
guid, msg_title, incident_id, object_type, object_sub_type, object_small_type, obj_level,
occur_time, occur_addr, district_code, reason, description, longitude, latitude, affect_degree,
loss, handle_flag, submit_mode, submit_person, submit_person_phone, submit_time, source_org_info,
source_org_name, accept_sugg, accept_person, accept_person_phone, accepts_time, create_org_code,
create_org_name, create_person, create_time, update_time, update_by, dept_id, user_id,
assessment_status, assessment_time, assessor
from eve_event_receive where guid = #{eventId}
</interTypy>
</item>
</data>
<!-- 获取现成图片 -->
<data>
<id>selectFileByIncidentId</id>
<type>1</type>
<item>
<interTypy>
select guid, business_id, file_name, upload_person_id, upload_person_name, upload_path, file_save_name from zdxt_file WHERE business_id = #{incidentId}
</interTypy>
</item>
</data>
<!--获取字典中的信息-->
<data>
<id>_searchList</id>
<type>1</type>
<item>
<interTypy>
select
guid, msg_title, incident_id, object_type, object_sub_type, object_small_type, obj_level,
occur_time, occur_addr, district_code, reason, description, longitude, latitude, affect_degree,
loss, handle_flag, submit_mode, submit_person, submit_person_phone, submit_time, source_org_info,
source_org_name, accept_sugg, accept_person, accept_person_phone, accepts_time, create_org_code,
create_org_name, create_person, create_time, update_time, update_by, dept_id, user_id,
assessment_status, assessment_time, assessor
from eve_event_receive
where ${param}
</interTypy>
<params>
<param id="param" key="CU_dd"></param>
</params>
</item>
</data>
</datasources>