Commit d820cd19 authored by R10's avatar R10

获取单据结果修改

parent 7b731277
......@@ -9,13 +9,13 @@ import java.util.List;
*/
public class BizAiDataAuditTaskDeleteDto {
List<Integer> taskIds;
List<Integer> taskIdList;
public List<Integer> getTaskIds() {
return taskIds;
public List<Integer> getTaskIdList() {
return taskIdList;
}
public void setTaskIds(List<Integer> taskIds) {
this.taskIds = taskIds;
public void setTaskIdList(List<Integer> taskIdList) {
this.taskIdList = taskIdList;
}
}
......@@ -69,10 +69,10 @@ public class BizAiDataAuditTaskRestImpl implements BizAiDataAuditTaskRest {
@Override
public void delete(BizAiDataAuditTaskDeleteDto dto) throws Exception {
if (CollectionUtils.isEmpty(dto.getTaskIds())) {
if (CollectionUtils.isEmpty(dto.getTaskIdList())) {
throw new Exception("the task can not be found");
}
for (Integer taskId : dto.getTaskIds()) {
for (Integer taskId : dto.getTaskIdList()) {
bizAiDataAuditTaskService.delete(taskId);
}
}
......
......@@ -35,17 +35,15 @@ public class DataAuditRestImpl implements DataAuditRest {
@Override
public void createDataAuditTask(FileUploadConfirmDto fileUploadConfirmDto) throws Exception {
String taskName = "Data Audit Task";
bizAiDataAuditTaskService.createDataAuditTask(taskName, fileUploadConfirmDto);
}
/**
* 对话
*
* @param fileId
* @param input
* @param
* @param
* @throws Exception
*/
@Override
......
......@@ -168,6 +168,14 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
// 文件对文件
private void f2f(AiDataAuditRuleQueryItem aiDataAuditRuleQueryItem, List<String> results, CountDownLatch countDownLatch) {
String ruleDesc = aiDataAuditRuleQueryItem.getRuleDesc();// 规则描述
Integer firstFile = aiDataAuditRuleQueryItem.getFirstFile();// 文件1
String firstField = aiDataAuditRuleQueryItem.getFirstField();// 字段1
Integer secondFile = aiDataAuditRuleQueryItem.getSecondFile();// 文件2
String secondField = aiDataAuditRuleQueryItem.getSecondField();// 字段2
countDownLatch.countDown();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment