优化用户角色的关联关系接口的逻辑

This commit is contained in:
季圣华
2023-11-23 23:54:52 +08:00
parent 28075557da
commit 2cd4d5a2d0
5 changed files with 24 additions and 46 deletions

View File

@@ -12,4 +12,10 @@
)
</update>
<select id="getBasicDataByKeyIdAndType" resultType="com.jsh.erp.datasource.entities.UserBusiness">
select * from jsh_user_business
where key_id=#{keyId} and type=#{type}
and ifnull(delete_flag,'0') !='1'
</select>
</mapper>