lyh
2025-04-11 2cf1565485060fd56e1f1f1cffbba7a4d70d42a6
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>