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; } }