pdf null 오류
This commit is contained in:
parent
65a0fd430e
commit
4db0654e73
@ -2288,34 +2288,42 @@ public class PwrGnrSimService {
|
||||
|
||||
// 상단 요약정보
|
||||
elm = doc.getElementById("objectNo");
|
||||
if (elm != null) {
|
||||
elm.text(
|
||||
StringUtils.defaultString(data.getObjectNo() + " (Plan No : " + data.getPlanNo() + ")"));
|
||||
|
||||
}
|
||||
elm = doc.getElementById("drawingEstimateCreateDate");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getDrawingEstimateCreateDate()));
|
||||
|
||||
}
|
||||
elm = doc.getElementById("prefName");
|
||||
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getPrefName()));
|
||||
|
||||
}
|
||||
elm = doc.getElementById("areaName");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getAreaName()));
|
||||
|
||||
}
|
||||
elm = doc.getElementById("capacity");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getCapacity()) + " kW");
|
||||
|
||||
}
|
||||
elm = doc.getElementById("anlFrcsGnrt");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(String.valueOf(pwrGnrSimList[12])));
|
||||
|
||||
}
|
||||
elm = doc.getElementById("snowfall");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getSnowfall()) + " cm");
|
||||
|
||||
}
|
||||
elm = doc.getElementById("standardWindSpeedId");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getStandardWindSpeedId()));
|
||||
|
||||
}
|
||||
elm = doc.getElementById("pwrGnrSimTypeName");
|
||||
if (elm != null) {
|
||||
elm.text(StringUtils.defaultString(data.getPwrGnrSimTypeName()));
|
||||
|
||||
}
|
||||
boolean isUnchanged = Arrays.stream(pwrGnrSimList).allMatch(value -> value == "00");
|
||||
if (!isUnchanged) { // 변경된값 확인
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user