|
|
@ -1,6 +1,9 @@ |
|
|
package com.zdxt.auth.project.system.notice.service; |
|
|
package com.zdxt.auth.project.system.notice.service; |
|
|
|
|
|
|
|
|
import com.zdxt.auth.project.system.notice.domain.Notice; |
|
|
import com.zdxt.auth.project.system.notice.domain.Notice; |
|
|
|
|
|
import com.zdxt.common.zdxtFile.AttFileRespDTO; |
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
@ -16,7 +19,7 @@ public interface INoticeService |
|
|
* @param noticeId 公告ID |
|
|
* @param noticeId 公告ID |
|
|
* @return 公告信息 |
|
|
* @return 公告信息 |
|
|
*/ |
|
|
*/ |
|
|
public Notice selectNoticeById(Long noticeId); |
|
|
public Notice selectNoticeById(String noticeId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 查询公告列表 |
|
|
* 查询公告列表 |
|
|
@ -34,6 +37,14 @@ public interface INoticeService |
|
|
*/ |
|
|
*/ |
|
|
public int insertNotice(Notice notice); |
|
|
public int insertNotice(Notice notice); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 新增设备报修 |
|
|
|
|
|
* |
|
|
|
|
|
* @param notice 设备报修 |
|
|
|
|
|
* @return 结果 |
|
|
|
|
|
*/ |
|
|
|
|
|
public int addNotice(MultipartFile[] files, Notice notice); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 修改公告 |
|
|
* 修改公告 |
|
|
* |
|
|
* |
|
|
@ -42,6 +53,14 @@ public interface INoticeService |
|
|
*/ |
|
|
*/ |
|
|
public int updateNotice(Notice notice); |
|
|
public int updateNotice(Notice notice); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 修改公告 |
|
|
|
|
|
* |
|
|
|
|
|
* @param notice 公告信息 |
|
|
|
|
|
* @return 结果 |
|
|
|
|
|
*/ |
|
|
|
|
|
public int editNoticeFile(MultipartFile[] files, Notice notice); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 删除公告信息 |
|
|
* 删除公告信息 |
|
|
* |
|
|
* |
|
|
@ -49,4 +68,18 @@ public interface INoticeService |
|
|
* @return 结果 |
|
|
* @return 结果 |
|
|
*/ |
|
|
*/ |
|
|
public int deleteNoticeByIds(String ids); |
|
|
public int deleteNoticeByIds(String ids); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 查询附件 |
|
|
|
|
|
* @param noticeId |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
public AttFileRespDTO queryFiles(String noticeId); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 删除附件 |
|
|
|
|
|
* @param key 附件id |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
public int removeFile(String key); |
|
|
} |
|
|
} |
|
|
|