|
@@ -123,10 +123,10 @@ public class ZbmxJcpgyjServiceImpl implements IZbmxJcpgyjService {
|
|
|
//监测值(趋势分析)
|
|
|
ZbmxZbjczDTO qsfx = zbmxJcpgyjMapper.SeletQSFX(page.getXzqdm(), page.getZbbh(), page.getYear());
|
|
|
//监测值(环比分析)
|
|
|
-// Calendar calendar = Calendar.getInstance();
|
|
|
-// SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd :hh:mm:ss");
|
|
|
-// String jcsj = dateFormat.format(calendar.getTime());
|
|
|
- ZbmxZbjczDTO hbfx = zbmxJcpgyjMapper.SelectHBFX(page.getXzqdm(), page.getZbbh(), page.getYear());
|
|
|
+ Calendar calendar = Calendar.getInstance();
|
|
|
+ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd :hh:mm:ss");
|
|
|
+ String jcsj = dateFormat.format(calendar.getTime());
|
|
|
+ ZbmxZbjczDTO hbfx = zbmxJcpgyjMapper.SelectHBFX(page.getXzqdm(), page.getZbbh(), jcsj);
|
|
|
//监测值(目标对比)
|
|
|
String timejczmbdb = "";
|
|
|
if (page.getYear() == null || Objects.equals(page.getYear(), "")) {
|