添加根据用户id查询企业信息
This commit is contained in:
@@ -106,4 +106,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND a.user_id = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="getEnterpriseByUserIds" resultType="com.mhd.user.domain.userAggregate.repository.po.UserDriverEnterprisePo" parameterType="java.lang.Long">
|
||||
SELECT
|
||||
a.*
|
||||
FROM
|
||||
user_driver_enterprise a
|
||||
WHERE
|
||||
a.del_flag = 1
|
||||
AND a.driver_type = 2
|
||||
AND a.user_id = #{userId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user