|
|
|
@ -11,22 +11,17 @@ import com.ruoyi.jjh.declaration.entity.dto.ApprovalDeclarationRecordsQueryDto;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.dto.BmsApprovalInfoUpdateDto;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.dto.BmsDeclarationRecordsAddDto;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.dto.BmsDeclarationRecordsDto;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.dto.MunicipalReviewDto;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.vo.ApprovalDeclarationRecordsQueryVo;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.vo.BmsDeclarationRecordsQueryVo;
|
|
|
|
|
import com.ruoyi.jjh.declaration.entity.vo.BmsMunicipalBureauReviewQueryVo;
|
|
|
|
|
import com.ruoyi.jjh.declaration.service.IBmsDeclarationRecordsService;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import javax.validation.Valid;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -37,6 +32,7 @@ import java.util.List;
|
|
|
|
|
*/
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/system/declarationRecords")
|
|
|
|
|
@Api("在线申报记录")
|
|
|
|
|
public class BmsDeclarationRecordsController extends BaseController {
|
|
|
|
|
@Autowired
|
|
|
|
|
private IBmsDeclarationRecordsService bmsDeclarationRecordsService;
|
|
|
|
@ -74,6 +70,16 @@ public class BmsDeclarationRecordsController extends BaseController {
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据id集合压缩所有文件
|
|
|
|
|
*/
|
|
|
|
|
// @RequiresPermissions("system:declarationRecords:list")
|
|
|
|
|
@GetMapping("/fileList")
|
|
|
|
|
@ApiOperation("根据列表id集合压缩所有文件")
|
|
|
|
|
public AjaxResult fileList(@RequestParam(name = "list") List<Long> list) {
|
|
|
|
|
return AjaxResult.success(bmsDeclarationRecordsService.fileList(list));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询在线申报记录列表-政务
|
|
|
|
|
*/
|
|
|
|
@ -134,18 +140,18 @@ public class BmsDeclarationRecordsController extends BaseController {
|
|
|
|
|
return toAjax(bmsDeclarationRecordsService.updateBmsDeclarationRecords(bmsDeclarationRecords));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Log(title = "市级评定结果确认-old", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping("/municipalReview")
|
|
|
|
|
@Deprecated
|
|
|
|
|
public AjaxResult municipalReview(@RequestBody MunicipalReviewDto municipalReviewDto) {
|
|
|
|
|
return success("市级评定结果确认成功" + bmsDeclarationRecordsService.municipalReview(municipalReviewDto) + "条数据");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Log(title = "市级评定结果确认-new", businessType = BusinessType.UPDATE)
|
|
|
|
|
@PutMapping("/municipalReviewNew")
|
|
|
|
|
public AjaxResult municipalReviewNew(@RequestBody MunicipalReviewDto municipalReviewDto) {
|
|
|
|
|
return success("市级评定结果确认成功" + bmsDeclarationRecordsService.municipalReviewNew(municipalReviewDto) + "条数据");
|
|
|
|
|
}
|
|
|
|
|
// @Log(title = "市级评定结果确认-old", businessType = BusinessType.UPDATE)
|
|
|
|
|
// @PutMapping("/municipalReview")
|
|
|
|
|
// @Deprecated
|
|
|
|
|
// public AjaxResult municipalReview(@RequestBody MunicipalReviewDto municipalReviewDto) {
|
|
|
|
|
// return success("市级评定结果确认成功" + bmsDeclarationRecordsService.municipalReview(municipalReviewDto) + "条数据");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
// @Log(title = "市级评定结果确认-new", businessType = BusinessType.UPDATE)
|
|
|
|
|
// @PutMapping("/municipalReviewNew")
|
|
|
|
|
// public AjaxResult municipalReviewNew(@RequestBody MunicipalReviewDto municipalReviewDto) {
|
|
|
|
|
// return success("市级评定结果确认成功" + bmsDeclarationRecordsService.municipalReviewNew(municipalReviewDto) + "条数据");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|