bksh_table.jsp
12.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@ page import="com.dao.bksh.SHDataBase"%>
<%@ page import="com.dao.dbutil.DataBase"%>
<%@ page import="com.vo.SHDataManage"%>
<%@ page import="com.vo.SH_outline_DataManage"%>
<%@ page import="com.vo.sh_Sound"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.util.Date"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../../css/table.css" type="text/css" />
<script type="text/jscript" src="../../js/datatable/tablecloth.js"></script>
<%
String outdate;
String selectresult = request.getParameter("selectdate");
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:00:00");//设置日期格式
SimpleDateFormat df_month = new SimpleDateFormat("yyyy-MM-dd ");//设置日期格式
if (selectresult == null || selectresult == "") {
selectresult = df.format(new Date());
}
SHDataBase shdb = new SHDataBase();
DataBase db = new DataBase();
selectresult = shdb.showRightTime(selectresult);
SHDataManage sh = shdb.getPublicData(selectresult);//在线数据查询
SH_outline_DataManage shoutline = shdb.getoutlineData(selectresult);//手工数据查询
if( shoutline.getDate()==null){
outdate = df_month.format(new Date());
}
outdate = shoutline.getDate().substring(0, 10);
//排放标准字符串
String outstrand = "DB11/890-2012城镇污水处理厂水污染物排放标准";
sh_Sound sound=shdb.getSound(selectresult);//厂界噪声查询
String soundTime=sound.getDate().substring(0, 7);
%>
</head>
<body>
<table align="center">
<tr style="height: 55px; ">
<th width="3%" height="25">企业名称</th>
<th width="3%">检测方式</th>
<th width="5%">监测点位</th>
<th width="6%">监测时间</th>
<th colspan="2" width="1%">监测项目及排放浓度</th>
<th width="8%">污染物排放标准限值</th>
<th width="3%">是否达标</th>
<th width="2%">超标倍数</th>
<th width="5%">评价标准</th>
<th width="3%">排放方式</th>
<th width="3%">排放去向</th>
<th width="20%">备注</th>
</tr>
<tr>
<td rowspan="31">昌祥污水净化有限公司</td>
<td rowspan="9">在线监测</td>
<td>进水口</td>
<td><%=selectresult%></td>
<td width="6%">COD(mg/l)</td>
<td width="8%"><%=sh.getCxwsjh_incod_eq()%></td>
<td>--</td>
<td>--</td>
<td>--</td>
<td rowspan="22">《城镇污水处理厂水污染物排放标准》(DB11/890-2012 表1-B标准)</td>
<td rowspan="22">达标后排放</td>
<td rowspan="22">东沙河</td>
<td><%=sh.getA_incod_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=selectresult%></td>
<td>COD(mg/l)</td>
<td><%=sh.getCxwsjh_outcod_eq()%></td>
<td>≤30</td>
<td><%=shdb.iSInTostandard(sh.getA_outcod_mul())%></td>
<td><%=sh.getA_outcod_mul()%></td>
<td><%=sh.getA_outcod_note()%></td>
</tr>
<tr>
<td>进水口</td>
<td><%=selectresult%></td>
<td>氨氮(mg/l)</td>
<td><%=sh.getCxwsjh_innh4n_eq()%></td>
<td>--</td>
<td>--</td>
<td>--</td>
<td><%=sh.getA_innh4n_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=selectresult%></td>
<td>氨氮(mg/l)</td>
<td><%=sh.getCxwsjh_outnh4n_eq()%></td>
<td>≤1.5</td>
<td><%=shdb.iSInTostandard(sh.getA_outnh4n_mul())%></td>
<td><%=sh.getA_outnh4n_mul()%></td>
<td><%=sh.getA_outnh4n_note()%></td>
</tr>
<tr>
<td>进水口</td>
<td><%=selectresult%></td>
<td>PH</td>
<td><%=sh.getCxwsjh_inph_eq()%></td>
<td>--</td>
<td>--</td>
<td>--</td>
<td><%=sh.getA_inph_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=selectresult%></td>
<td>PH</td>
<td><%=sh.getCxwsjh_outph_eq()%></td>
<td>6.5~8.5</td>
<td><%=shdb.iSInTostandard(sh.getA_outph_mul())%></td>
<td><%=sh.getA_outph_mul()%></td>
<td><%=sh.getA_outph_note()%></td>
</tr>
<!--新增加的总磷,总氮 -->
<tr>
<td>进水口</td>
<td><%=selectresult%></td>
<td>总磷(mg/l)</td>
<td><%=sh.getCxwsjh_intp_eq()%></td>
<td>--</td>
<td>--</td>
<td>--</td>
<%-- <td><%=shdb.iSInTostandard(sh.getA_intp_mul())%></td>
<td><%=sh.getA_intp_mul()%></td> --%>
<td><%=sh.getA_intp_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=selectresult%></td>
<td>总磷(mg/l)</td>
<td><%=sh.getCxwsjh_outzl_eq()%></td>
<td>≤0.3</td>
<td><%=shdb.iSInTostandard(sh.getA_outzl_mul())%></td>
<td><%=sh.getA_outzl_mul()%></td>
<td><%=sh.getA_outzl_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=selectresult%></td>
<td>总氮(mg/l)</td>
<td><%=sh.getCxwsjh_outzd_eq()%></td>
<td>≤15</td>
<td><%=shdb.iSInTostandard(sh.getA_outzd_mul())%></td>
<td><%=sh.getA_outzd_mul()%></td>
<td><%=sh.getA_outzd_note()%></td>
</tr>
<!--新增加的总磷,总氮 -->
<tr>
<td rowspan="13" style="background:#e5f1f4">手工监测</td>
<td>出水口</td>
<td><%=outdate%></td>
<td>生化需氧量(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_shxyl())%></td>
<td>≤6</td>
<td><%=shdb.iSInTostandard(shoutline.getA_shxyl_mul())%></td>
<td><%=shoutline.getA_shxyl_mul()%></td>
<td><%=shoutline.getA_shxyl_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>悬浮物(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_ss())%></td>
<td>≤5</td>
<td><%=shdb.iSInTostandard(shoutline.getA_ss_mul())%></td>
<td><%=shoutline.getA_ss_mul()%></td>
<td><%=shoutline.getA_ss_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>动植物油(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_dzwy())%></td>
<td>≤0.5</td>
<td><%=shdb.iSInTostandard(shoutline.getA_dzwy_mul())%></td>
<td><%=shoutline.getA_dzwy_mul()%></td>
<td><%=shoutline.getA_dzwy_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>石油类(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_syl())%></td>
<td>≤0.5</td>
<td><%=shdb.iSInTostandard(shoutline.getA_syl_mul())%></td>
<td><%=shoutline.getA_syl_mul()%></td>
<td><%=shoutline.getA_syl_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>阴离子表面活性剂(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_ylzbmhxj())%></td>
<td>≤0.3</td>
<td><%=shdb.iSInTostandard(shoutline.getA_ylzbmhxj_mul())%></td>
<td><%=shoutline.getA_ylzbmhxj_mul()%></td>
<td><%=shoutline.getA_ylzbmhxj_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>色度(稀释倍数)</td>
<td><%=db.roundtofour(shoutline.getA_sd())%></td>
<td>≤15</td>
<td><%=shdb.iSInTostandard(shoutline.getA_sd_mul())%></td>
<td><%=shoutline.getA_sd_mul()%></td>
<td><%=shoutline.getA_sd_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>粪大肠菌群(MPN/L)</td>
<td><%=db.roundtofour(shoutline.getA_fdcjq())%></td>
<td>≤1000</td>
<td><%=shdb.iSInTostandard(shoutline.getA_fdcjq_mul())%></td>
<td><%=shoutline.getA_fdcjq_mul()%></td>
<td><%=shoutline.getA_fdcjq_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>总镉(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_tcd())%></td>
<td>≤0.005</td>
<td><%=shdb.iSInTostandard(shoutline.getA_tcd_mul())%></td>
<td><%=shoutline.getA_tcd_mul()%></td>
<td><%=shoutline.getA_tcd_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>总铬(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_tcr())%></td>
<td>≤0.1</td>
<td><%=shdb.iSInTostandard(shoutline.getA_tcr_mul())%></td>
<td><%=shoutline.getA_tcr_mul()%></td>
<td><%=shoutline.getA_tcr_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>六价铬(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_ljg())%></td>
<td>≤0.05</td>
<td><%=shdb.iSInTostandard(shoutline.getA_ljg_mul())%></td>
<td><%=shoutline.getA_ljg_mul()%></td>
<td><%=shoutline.getA_ljg_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>总砷(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_tas())%></td>
<td>≤0.05</td>
<td><%=shdb.iSInTostandard(shoutline.getA_tas_mul())%></td>
<td><%=shoutline.getA_tas_mul()%></td>
<td><%=shoutline.getA_tas_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>总铅(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_tpb())%></td>
<td>≤0.05</td>
<td><%=shdb.iSInTostandard(shoutline.getA_tpb_mul())%></td>
<td><%=shoutline.getA_tpb_mul()%></td>
<td><%=shoutline.getA_tpb_note()%></td>
</tr>
<tr>
<td>出水口</td>
<td><%=outdate%></td>
<td>烷基汞(mg/L)</td>
<td><%=db.roundtofour(shoutline.getA_wjg())%></td>
<td>不得检出</td>
<td><%=shdb.iSInTostandard(shoutline.getA_wjg_mul())%></td>
<td><%=shoutline.getA_wjg_mul()%></td>
<td><%=shoutline.getA_wjg_note()%></td>
</tr>
<tr></tr>
<tr>
<td rowspan="8" style="background:#e5f1f4">厂界噪音手工检测</td>
<td>厂区厂界(东)</td>
<td><%=soundTime%><br>(昼间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_e()) %></td>
<td>≤55</td>
<td><%=shdb.iSInTostandard(sound.getSound_e_mul())%></td>
<td><%=sound.getSound_e_mul() %></td>
<td rowspan="8" style="background:#e5f1f4">--</td>
<td rowspan="8" style="background:#e5f1f4">--</td>
<td rowspan="8" style="background:#e5f1f4">--</td>
<td><%=sound.getSound_e_note() %></td>
</tr>
<tr>
<td>厂区厂界(西)</td>
<td><%=soundTime%><br>(昼间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_w()) %></td>
<td>≤55</td>
<td><%=shdb.iSInTostandard(sound.getSound_w_mul())%></td>
<td><%=sound.getSound_w_mul() %></td>
<td><%=sound.getSound_w_note() %></td>
</tr>
<tr>
<td>厂区厂界(南)</td>
<td><%=soundTime%><br>(昼间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_s()) %></td>
<td>≤55</td>
<td><%=shdb.iSInTostandard(sound.getSound_s_mul())%></td>
<td><%=sound.getSound_s_mul() %></td>
<td><%=sound.getSound_s_note() %></td>
</tr>
<tr>
<td>厂区厂界(北)</td>
<td><%=soundTime%><br>(昼间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_n()) %></td>
<td>≤55</td>
<td><%=shdb.iSInTostandard(sound.getSound_n_mul())%></td>
<td><%=sound.getSound_n_mul() %></td>
<td><%=sound.getSound_n_note() %></td>
</tr>
<tr>
<td>厂区厂界(东)</td>
<td><%=soundTime%><br>(夜间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_e_night()) %></td>
<td>≤45</td>
<td><%=shdb.iSInTostandard(sound.getSound_e_night_mul())%></td>
<td><%=sound.getSound_e_night_mul() %></td>
<td><%=sound.getSound_e_night_note() %></td>
</tr>
<tr>
<td>厂区厂界(西)</td>
<td><%=soundTime%><br>(夜间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_w_night()) %></td>
<td>≤45</td>
<td><%=shdb.iSInTostandard(sound.getSound_w_night_mul())%></td>
<td><%=sound.getSound_w_night_mul() %></td>
<td><%=sound.getSound_w_night_note() %></td>
</tr>
<tr>
<td>厂区厂界(南)</td>
<td><%=soundTime%><br>(夜间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_s_night()) %></td>
<td>≤45</td>
<td><%=shdb.iSInTostandard(sound.getSound_s_night_mul())%></td>
<td><%=sound.getSound_s_night_mul() %></td>
<td><%=sound.getSound_s_night_note() %></td>
</tr>
<tr>
<td>厂区厂界(北)</td>
<td><%=soundTime%><br>(夜间)</td>
<td>厂界噪声dB(A)</td>
<td><%=db.roundtofour(sound.getSound_n_night()) %></td>
<td>≤45</td>
<td><%=shdb.iSInTostandard(sound.getSound_n_night_mul())%></td>
<td><%=sound.getSound_n_night_mul() %></td>
<td><%=sound.getSound_n_night_note() %></td>
</tr>
</table>
</body>
</html>