dev #299
@ -26,6 +26,10 @@ public class ApiPcsRoofSurfaceRequest {
|
||||
@NotNull
|
||||
private String roofSurfaceNorthYn;
|
||||
|
||||
@Schema(description = "북면모듈 설치여부")
|
||||
@NotNull
|
||||
private String roofSurfaceNorthModuleYn;
|
||||
|
||||
@Schema(description = "모듈아이템 List(도면에 설치된 모듈)")
|
||||
@NotNull
|
||||
private List<ApiPcsModuleItemIdRequest> moduleList;
|
||||
|
||||
@ -22,6 +22,9 @@ public class ApiPcsSerQtyRoofSurfaceDto {
|
||||
@Schema(description = "북면 여부")
|
||||
private String roofSurfaceNorthYn;
|
||||
|
||||
@Schema(description = "북면모듈 설치여부")
|
||||
private String roofSurfaceNorthModuleYn;
|
||||
|
||||
@Schema(description = "모듈아이템 List(도면에 설치된 모듈)")
|
||||
private List<ApiPcsSerQtyRoofSurfaceModuleDto> moduleList;
|
||||
}
|
||||
|
||||
@ -2506,9 +2506,9 @@ public class PwrGnrSimService {
|
||||
// 발전시뮬레이션 타입에 따른 list 셋팅
|
||||
if ("A".equals(estimateRequest.getPwrGnrSimType())) {
|
||||
pwrGnrSimResponse.setFrcPwrGnrList(pwrGnrSimResponse.getHatsudenryouAll());
|
||||
} else if ("B".equals(estimateRequest.getPwrGnrSimType())) {
|
||||
pwrGnrSimResponse.setFrcPwrGnrList(pwrGnrSimResponse.getHatsudenryouAllSnow());
|
||||
} else if ("C".equals(estimateRequest.getPwrGnrSimType())) {
|
||||
pwrGnrSimResponse.setFrcPwrGnrList(pwrGnrSimResponse.getHatsudenryouAllSnow());
|
||||
} else if ("B".equals(estimateRequest.getPwrGnrSimType())) {
|
||||
pwrGnrSimResponse.setFrcPwrGnrList(pwrGnrSimResponse.getHatsudenryouPeakcutAll());
|
||||
} else if ("D".equals(estimateRequest.getPwrGnrSimType())) {
|
||||
pwrGnrSimResponse.setFrcPwrGnrList(pwrGnrSimResponse.getHatsudenryouPeakcutAllSnow());
|
||||
|
||||
@ -404,7 +404,14 @@
|
||||
ON PE.ITEM_ID = I.ITEM_ID
|
||||
WHERE P.OBJECT_NO = #{objectNo}
|
||||
AND P.PLAN_NO = #{planNo}
|
||||
AND I.POWER_COM_FLG = '1' /* PCS 아이템만 */
|
||||
-- AND I.POWER_COM_FLG = '1' /* PCS 아이템만 */
|
||||
AND (
|
||||
CASE
|
||||
WHEN I.POWER_COM_FLG = '1' THEN 1
|
||||
WHEN I.POWER_COM_FLG != '1' AND I.ITEM_GROUP = 'STORAGE_BATTERY' AND ISNULL(I.PNOW_W, 0) > 0 THEN 1
|
||||
ELSE 0
|
||||
END
|
||||
) = 1
|
||||
) T
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user