diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java index 5a4104f..c9cbb74 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java @@ -264,6 +264,11 @@ public class FsChannelRecordVo implements Serializable { */ private Date dealtime; + /** + * 所属部门 + */ + private String department; + diff --git a/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml index 90e77a2..7ca5099 100644 --- a/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml @@ -81,7 +81,7 @@ a.aj AS aj, a.is_lost AS is_lost, a.code AS code, - (SELECT t.department FROM external_department t where t.code=a.code) as department, + (SELECT t.department FROM department_manage t where t.code=a.code) as department, a.pid AS pid, a.ring_time AS ring_time, a.list_in AS list_in,