diff --git a/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.java b/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.java index 8db504b3139cf3284f5216daed16ce3770e173fb..862b879a8dcfe777025fb581154f44405c008cd1 100644 --- a/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.java +++ b/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.java @@ -47,6 +47,8 @@ public interface FormMapper { FormVo getFormByUuid(String formUuid); + FormVo getFormByName(String formName); + FormVersionVo getFormVersionByUuid(String formVersionUuid); List getFormVersionByFormUuid(String formUuid); diff --git a/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml b/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml index 057982f3cb6a4981993ac31c5460d90ff62e6a39..888660967a3f1aef5c340979a16be4213a6d8cfa 100644 --- a/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml +++ b/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml @@ -212,6 +212,14 @@ limitations under the License. WHERE `uuid` = #{value} + + + + diff --git a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.java b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.java index 5b11ee36079a2a9fa0eb3ef0dc6d68d609643938..b4dd7642444e30a7256b47adc489f815c0836be1 100644 --- a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.java +++ b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.java @@ -13,6 +13,8 @@ public interface MatrixMapper { MatrixVo getMatrixByUuid(String uuid); + MatrixVo getMatrixByLabel(String label); + int checkMatrixIsExists(String uuid); int checkMatrixNameIsRepeat(MatrixVo matrixVo); diff --git a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml index fa3a34ebacec60c27dbffe8e9f0f69edd3f6a5a1..18bdbdb598e721f3d10f1bbfa38a72f8b2d8d044 100644 --- a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml +++ b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml @@ -17,6 +17,21 @@ WHERE `uuid` = #{uuid} + + diff --git a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.java b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.java index aa671082c79bcb49b8531720ac7ef378c5b5b5ac..dd9e272502c6fc285bf400141087fb4395634c50 100644 --- a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.java +++ b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.java @@ -1,16 +1,18 @@ package neatlogic.framework.notify.dao.mapper; -import java.util.List; - import neatlogic.framework.common.dto.ValueTextVo; import neatlogic.framework.notify.dto.NotifyPolicyVo; +import java.util.List; + public interface NotifyMapper { NotifyPolicyVo getNotifyPolicyById(Long id); NotifyPolicyVo getNotifyPolicyByName(String name); + List getNotifyPolicyListByName(String name); + List getNotifyPolicyListByIdList(List idList); int checkNotifyPolicyNameIsRepeat(NotifyPolicyVo notifyPolicyVo); diff --git a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml index 3483c68cb846e3367697133c8aad29dea0ff2dde..dc7bdfced2d9e337848c3bc9a0969fe0aa020394 100644 --- a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml +++ b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml @@ -34,6 +34,20 @@ Limit 1 + +