From a472fa1f44b9976ce7e2b502814b130ec72e0f29 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期三, 19 七月 2023 11:31:11 +0800 Subject: [PATCH] 1、主要解决在批量插入的时候通过业务类型去获取字段信息,对比字段没有的则不进行插入。 --- Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/UserPwdstrategyMapper.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/UserPwdstrategyMapper.java b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/UserPwdstrategyMapper.java index 2c6eae0..d2176c5 100644 --- a/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/UserPwdstrategyMapper.java +++ b/Source/UBCS/ubcs-service/ubcs-system/src/main/java/com/vci/ubcs/system/mapper/UserPwdstrategyMapper.java @@ -8,7 +8,7 @@ /** * 鐢ㄦ埛瀵嗙爜绛栫暐绠$悊琛�(UserPwdstrategy)琛ㄦ暟鎹簱璁块棶灞� * - * @author makejava + * @author ludc * @since 2023-03-22 15:24:46 */ public interface UserPwdstrategyMapper extends BaseMapper<UserPwdstrategy> { @@ -37,5 +37,13 @@ */ int deleteByUserIds(List<Long> userIds); + /** + * 鏍规嵁瀵嗙爜绛栫暐id鏌ヨ閲囩敤浜嗛粯璁ゅ瘑鐮佺瓥鐣ョ殑鐢ㄦ埛id + * @param strategeyId + * @return + */ + List<Long> queryByUseISDefault(Long strategeyId); + + } -- Gitblit v1.9.3