|
|
@@ -53,7 +53,7 @@ public class StorageWarterCheckServiceImpl implements StorageWarterCheckService
|
|
53
|
53
|
Map<String, Object> param_map = paramMap(storageWaterCheck);
|
|
54
|
54
|
|
|
55
|
55
|
//查询水分检验固定点信息表和水分检验机动点信息表中有没有超过水分高限的数据,有的话需要将当前数据标红
|
|
56
|
|
- String sfh = ObjectUtils.toString(param_map.get("sf_h").toString(), "");
|
|
|
56
|
+ String sfh = ObjectUtils.toString(param_map.get("sf_h").toString().trim(), "");
|
|
57
|
57
|
if (!"".equals(sfh)) {
|
|
58
|
58
|
BigDecimal sf_h = new BigDecimal(sfh);
|
|
59
|
59
|
String redAlert = getRedAlertData(sf_h, storageWaterCheck.getId());
|
|
|
@@ -66,8 +66,8 @@ public class StorageWarterCheckServiceImpl implements StorageWarterCheckService
|
|
66
|
66
|
}
|
|
67
|
67
|
|
|
68
|
68
|
//查询水分检验固定点信息表和水分检验机动点信息表中有没有超过水分低限的数据,有的话需要将当前数据标蓝
|
|
69
|
|
- String sfd = ObjectUtils.toString(param_map.get("sf_d").toString(), "");
|
|
70
|
|
- if (!"".equals("sfd")) {
|
|
|
69
|
+ String sfd = ObjectUtils.toString(param_map.get("sf_d").toString().trim(), "");
|
|
|
70
|
+ if (!"".equals(sfd)) {
|
|
71
|
71
|
BigDecimal sf_d = new BigDecimal(sfd);
|
|
72
|
72
|
String blueAlert = getBlueAlertData(sf_d, storageWaterCheck.getId());
|
|
73
|
73
|
storageWaterCheck.setBlueAlert(blueAlert);
|