cuikaidong
2025-05-26 7c77e020b81e42fb65aa966742ff7c93e73668e1
lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/MdcUserProductionMapper.xml
@@ -50,4 +50,12 @@
                 (select user_id from nc_device_permission where device_id=#{deviceId}) p
                 on u.id=p.user_id
    </select>
    <select id="queryByPostAndProId" resultType="org.jeecg.modules.system.entity.SysUser">
        select u.*
        from sys_user u
                 inner join
                 (select user_id from mdc_user_production where pro_id=#{proId}) p
                 on u.id=p.user_id
        where u.post = #{post}
    </select>
</mapper>