| | |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.UUID; |
| | | |
| | |
| | | return R.success("删除成功"); |
| | | } |
| | | |
| | | /** |
| | | * APP警情反馈信息 |
| | | * @param response |
| | | * @return |
| | | */ |
| | | @PostMapping("/selectFeedEdit") |
| | | public R selectFeedEdit(HttpServletResponse response,String jid) { |
| | | response.setHeader("Access-Control-Allow-Origin", "*"); |
| | | response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE"); |
| | | response.setHeader("Access-Control-Allow-Credentials","true"); |
| | | List<FeedbackVO> feedbackVOS = feedbackService.selectFeedEdit(jid); |
| | | return R.data(feedbackVOS); |
| | | } |
| | | |
| | | } |
| | |
| | | */ |
| | | List<FeedbackVO> selectFeedbackPage(IPage page, FeedbackVO feedback); |
| | | List<FeedbackVO> selectFeedList(); |
| | | List<FeedbackVO> selectFeedEdit(String jid); |
| | | void insertfeed(String jid, String snumber, String sname, String addvcd, String place, String result, String describe, String type, String devicenumber, String galarmpeople, String phone, String stime, |
| | | String ctime, String feedbackaudio, String feedbackvideo, String feedbackphoto, String jd, String wd, String tname); |
| | | } |
| | |
| | | <select id="selectFeedList" resultMap="feedbackResultMaps"> |
| | | select f.*,d.addvnm from sys_feedback f left join sys_district d on d.addvcd=f.addvcd |
| | | </select> |
| | | |
| | | <!--App警情反馈信息--> |
| | | <select id="selectFeedEdit" resultMap="feedbackResultMaps"> |
| | | SELECT |
| | | f.*, |
| | | w.address |
| | | FROM |
| | | sys_feedback f |
| | | LEFT JOIN sys_wj w ON w.jid = f.jid WHERE f.jid=#{jid} |
| | | </select> |
| | | </mapper> |
| | |
| | | void insertfeed(String jid, String snumber, String sname, String addvcd, String place, String result, String describe, String type, String devicenumber, String galarmpeople, String phone, String stime, |
| | | String ctime, String feedbackaudio, String feedbackvideo, String feedbackphoto, String jd, String wd, String tname); |
| | | List<FeedbackVO> selectFeedList(); |
| | | List<FeedbackVO> selectFeedEdit(String jid); |
| | | } |
| | |
| | | return baseMapper.selectFeedList(); |
| | | } |
| | | |
| | | @Override |
| | | public List<FeedbackVO> selectFeedEdit(String jid) { |
| | | return baseMapper.selectFeedEdit(jid); |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | private String addvnm; |
| | | private String address; |
| | | |
| | | } |