‘liusuyi’
2023-08-07 be65526c48eaa674afe2601e2c53556d5797f2f3
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -291,4 +291,8 @@
        inner join sys_dept sd on asy.dept_id = sd.dept_id
        where asy.car_id = #{carId})
    </select>
    <select id="userByPlanId" parameterType="String" resultMap="SysUserResult">
        select * from sys_user where user_id in (select app_user_id from ard_app_patroluser where patrolplan_id = #{id})
    </select>
</mapper>