From 4c328db8d5ae415c7086a2740d6b1c5c36a4812c Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期四, 12 十月 2023 17:08:28 +0800 Subject: [PATCH] 1、修改在业务数据增加时验证相应的codeallcode表中ID与业务类型相同的数据是否存在。 --- Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/StrategyMapper.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/StrategyMapper.java b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/StrategyMapper.java index fd2bf73..cc4fa8f 100644 --- a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/StrategyMapper.java +++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/StrategyMapper.java @@ -47,7 +47,12 @@ */ Strategy queryByUserId(@Param("userId") Long userId); - Strategy queryByIsDefault(); + /** + * 鏌ヨ瀵嗙爜榛樿鐨勭瓥鐣� + * @param tenantId + * @return + */ + Strategy queryByIsDefault(@Param("tenantId") String tenantId); } -- Gitblit v1.9.3