From c61cf038111fde8135cdda2fefdcaf0dc81f1db4 Mon Sep 17 00:00:00 2001 From: leebj Date: Wed, 19 Jun 2024 11:01:35 +0900 Subject: [PATCH] no message --- src/main/java/cokr/xit/applib/ogdp/dao/OgdpMapper.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/applib/ogdp/dao/OgdpMapper.java b/src/main/java/cokr/xit/applib/ogdp/dao/OgdpMapper.java index 4697a34..e1dd6a2 100644 --- a/src/main/java/cokr/xit/applib/ogdp/dao/OgdpMapper.java +++ b/src/main/java/cokr/xit/applib/ogdp/dao/OgdpMapper.java @@ -461,6 +461,9 @@ public interface OgdpMapper extends AbstractMapper { """; - return select + req.getSelectAdd() + fromWhere; + + String selectAdd = req.getSelectAdd() == null ? "" : req.getSelectAdd(); + + return select + selectAdd + fromWhere; } }