zss
2024-09-02 a42e0989485009e7196a8e8a7d25473b3d827cff
user-server/src/main/resources/mapper/UserMapper.xml
@@ -44,4 +44,8 @@
        left join custom c on u.company = c.id
        where u.id = #{userId}
    </select>
    <select id="getUser" resultType="com.yuanchu.mom.pojo.User">
        select * from user where state = 1
        # where  depart_lims_id=FIND_IN_SET(depart_lims_id, (select  GROUP_CONCAT(id SEPARATOR ',') from department_lims where department_lims.name like '%实验室'))
    </select>
</mapper>