| | |
| | | import com.panzhihua.westcommittee.service.IComplaintCommentService; |
| | | import com.panzhihua.westcommittee.service.IComplaintService; |
| | | import com.panzhihua.westcommittee.service.IProblemTypeService; |
| | | import com.panzhihua.westcommittee.warpper.GetHouseAddressQuery; |
| | | import io.swagger.annotations.*; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.checkerframework.checker.units.qual.C; |
| | |
| | | public R<?> save(@Valid @RequestBody Complaint complaint) { |
| | | complaintService.saveComplaint(complaint, getLoginUserInfo()); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/getHouseAddress") |
| | | @ApiOperation(value = "录入诉求-获取详细地址") |
| | | public R<Page<String>> getHouseAddress(GetHouseAddressQuery query) { |
| | | Page<String> addressList = complaintService.getHouseAddress(query); |
| | | return R.ok(addressList); |
| | | } |
| | | |
| | | /** |
| | |
| | | complaint1.setCompletionVideos(null); |
| | | complaint1.setCompletionOtherDescription(null); |
| | | complaint1.setRemark(null); |
| | | complaint1.setNowLevelTime(new Date()); |
| | | complaint1.setRedispatch(1); |
| | | complaintService.save(complaint1); |
| | | } |
| | | |