|
|
@ -97,10 +97,10 @@ |
|
|
|
date_format(b.CREATED_TIME ,'%Y-%m-%d %H:%i:%s') as entryTime |
|
|
|
FROM epidemic_plot_building b |
|
|
|
LEFT JOIN epidemic_plot_coordinate p ON b.PLOT_ID = p.id AND p.DEL_FLAG = '0' |
|
|
|
LEFT JOIN yushan_esua_epdc_admin.sys_dict bs on bs.dict_value = b.building_state and bs.dict_type = 'building_state' |
|
|
|
LEFT JOIN yushan_esua_epdc_admin.sys_dict pn on pn.dict_value = b.plot_nature and pn.dict_type = 'plot_nature' |
|
|
|
LEFT JOIN yushan_esua_epdc_admin.sys_dict bt on bt.dict_value = b.building_type and bt.dict_type = 'building_type' |
|
|
|
left join yushan_esua_epdc_admin.sys_dept de on de.id=b.grid_id |
|
|
|
LEFT JOIN esua_epdc_admin.sys_dict bs on bs.dict_value = b.building_state and bs.dict_type = 'building_state' |
|
|
|
LEFT JOIN esua_epdc_admin.sys_dict pn on pn.dict_value = b.plot_nature and pn.dict_type = 'plot_nature' |
|
|
|
LEFT JOIN esua_epdc_admin.sys_dict bt on bt.dict_value = b.building_type and bt.dict_type = 'building_type' |
|
|
|
left join esua_epdc_admin.sys_dept de on de.id=b.grid_id |
|
|
|
WHERE |
|
|
|
b.DEL_FLAG = '0' |
|
|
|
<if test="streetId != null and streetId !=''"> |
|
|
|