|
|
|
|
@ -17,10 +17,7 @@ import com.biutag.supervision.pojo.vo.DataPetitionComplaintVo;
|
|
|
|
|
import com.biutag.supervision.pojo.vo.DataThreaVo; |
|
|
|
|
import com.biutag.supervision.pojo.vo.ExcelDataThreaVo; |
|
|
|
|
import com.biutag.supervision.pojo.vo.ExportGabxfVo; |
|
|
|
|
import com.biutag.supervision.service.DataMailboxService; |
|
|
|
|
import com.biutag.supervision.service.DataPetitionComplaintService; |
|
|
|
|
import com.biutag.supervision.service.DataThreadService; |
|
|
|
|
import com.biutag.supervision.service.SupDictDataService; |
|
|
|
|
import com.biutag.supervision.service.*; |
|
|
|
|
import com.biutag.supervision.util.CommonUtil; |
|
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
|
@ -47,6 +44,7 @@ public class DataThreadControllers {
|
|
|
|
|
|
|
|
|
|
private final SupDictDataService dictDataService; |
|
|
|
|
|
|
|
|
|
private final DataCaseVerifService dataCaseVerifService; |
|
|
|
|
@GetMapping |
|
|
|
|
public Result<Object> page(DataThreadQueryParam queryParam){ |
|
|
|
|
return dataThreadService.pageList(queryParam); |
|
|
|
|
@ -150,12 +148,18 @@ public class DataThreadControllers {
|
|
|
|
|
|
|
|
|
|
@DeleteMapping("/delDataThread") |
|
|
|
|
public Result delDataThread(DataThreadQueryParam queryParam){ |
|
|
|
|
if("gabxf".equals(queryParam.getTableName()) ){ |
|
|
|
|
switch (queryParam.getProblemSourcesCode()){ |
|
|
|
|
case "21", "22": |
|
|
|
|
dataPetitionComplaintService.removeById(queryParam.getOriginId()); |
|
|
|
|
}else{ |
|
|
|
|
break; |
|
|
|
|
case "23": |
|
|
|
|
dataMailboxService.removeById(queryParam.getOriginId()); |
|
|
|
|
break; |
|
|
|
|
case "24": |
|
|
|
|
default: |
|
|
|
|
dataCaseVerifService.removeById(queryParam.getOriginId()); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return Result.success(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|