|
@@ -122,7 +122,7 @@ public class DataVerifyController {
|
|
|
// 0:正常 1:删除 2:已上报 3:通过审核 4:驳回
|
|
|
data.setId(id);
|
|
|
data.setDataStatus("3");
|
|
|
- gyDataService.updateStatus(data);
|
|
|
+ gyDataService.updateStatus(data,"");
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
@@ -160,7 +160,7 @@ public class DataVerifyController {
|
|
|
} else {
|
|
|
if(dataImportDTOList.size() > 0){
|
|
|
for(GyDataImportDTO importDTO : dataImportDTOList){
|
|
|
- gyDataService.updateStatus(importDTO);
|
|
|
+ gyDataService.updateStatus(importDTO,"");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -177,14 +177,14 @@ public class DataVerifyController {
|
|
|
@PostMapping("/rebut")
|
|
|
@ResponseBody
|
|
|
@RequiresPermissions("datas:dataVerify:rebut")
|
|
|
- public R rebut(Long id) {
|
|
|
+ public R rebut(Long id,String opinion) {
|
|
|
log.info("驳回 id:" + id);
|
|
|
GyDataImportDTO data = new GyDataImportDTO();
|
|
|
// 0:正常 1:删除 2:已上报 3:通过审核 4:驳回
|
|
|
data.setId(id);
|
|
|
data.setDataStatus("4");
|
|
|
data.setAuditStage("1");
|
|
|
- gyDataService.updateStatus(data);
|
|
|
+ gyDataService.updateStatus(data,opinion);
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
@@ -198,7 +198,7 @@ public class DataVerifyController {
|
|
|
@PostMapping("/batchRebut")
|
|
|
@ResponseBody
|
|
|
@RequiresPermissions("datas:dataVerify:rebut")
|
|
|
- public R batchRebut(@RequestParam("ids[]") Long[] ids) {
|
|
|
+ public R batchRebut(@RequestParam("ids[]") Long[] ids,@RequestParam("opinion")String opinion) {
|
|
|
log.info("审核驳回 备案主键 ids:" + ids);
|
|
|
List<String> failedDataNames = new ArrayList<>();
|
|
|
List<GyDataImportDTO> dataImportDTOList = new ArrayList<>();
|
|
@@ -222,7 +222,7 @@ public class DataVerifyController {
|
|
|
} else {
|
|
|
if(dataImportDTOList.size() > 0){
|
|
|
for(GyDataImportDTO importDTO : dataImportDTOList){
|
|
|
- gyDataService.updateStatus(importDTO);
|
|
|
+ gyDataService.updateStatus(importDTO,opinion);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -312,7 +312,7 @@ public class DataVerifyController {
|
|
|
} else {
|
|
|
if(dataImportDTOList.size() > 0){
|
|
|
for(GyDataImportDTO importDTO : dataImportDTOList){
|
|
|
- gyDataService.updateStatus(importDTO);
|
|
|
+ gyDataService.updateStatus(importDTO,"");
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -357,7 +357,7 @@ public class DataVerifyController {
|
|
|
} else {
|
|
|
if(dataImportDTOList.size() > 0){
|
|
|
for(GyDataImportDTO importDTO : dataImportDTOList){
|
|
|
- gyDataService.updateStatus(importDTO);
|
|
|
+ gyDataService.updateStatus(importDTO,"");
|
|
|
}
|
|
|
}
|
|
|
}
|