liub 4 kuukautta sitten
vanhempi
commit
8c82eb5e8d

+ 2 - 1
tenant/organization/src/main/resources/mapper/SysUserJzgInfoBankCardMapper.xml

@@ -3,7 +3,7 @@
 <mapper namespace="com.jzg.organization.mapper.SysUserJzgInfoBankCardMapper">
     <resultMap id="BaseResultMap" type="com.jzg.commons.entity.dto.SysUserJzgInfoBankCardDto">
         <id column="id" jdbcType="VARCHAR" property="id"/>
-        <result column="userId" jdbcType="VARCHAR" property="userId"/>
+        <result column="userInfoId" jdbcType="VARCHAR" property="userInfoId"/>
         <result column="name" jdbcType="VARCHAR" property="name"/>
         <result column="bankName" jdbcType="VARCHAR" property="bankName"/>
         <result column="bankAddress" jdbcType="VARCHAR" property="bankAddress"/>
@@ -30,6 +30,7 @@
         left join sys_user_jzg_info_file sujif on sujif.id = sujibc.file_id
         where
             1=1
+            and sujibc.is_delete = '0'
             and sujibc.user_info_id = #{userInfoId}
     </select>