Commit 61b75606 by 刘栋

UDI-定时任务中设定创建人ID

parent 3837ed15
......@@ -18,6 +18,7 @@ import javax.annotation.Resource;
import javax.validation.Valid;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
@Slf4j
@Api(tags = "对码平台-辅助",hidden = true)
......@@ -38,9 +39,13 @@ public class UdiHelperController {
@ApiOperationSupport(order = 10000)
@ApiOperation(value = "测试任务转换数据", notes = "测试任务转换数据", hidden = true)
@PostMapping("testTranData")
public ResponseData<?> testTranData(@RequestBody @Valid IdQry idQry) {
public ResponseData<?> testTranData(@RequestBody IdQry idQry) {
log.info("testTranData:"+ JSON.toJSONString(idQry));
taskUploadHelper.tranUpload(idQry.getId());
if(Objects.isNull(idQry.getId())){
taskUploadHelper.tranTask();
}else{
taskUploadHelper.tranUpload(idQry.getId());
}
return ResponseData.ok();
}
......
package com.infynova.udi.mapper;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.infynova.udi.dto.UdiMatchDetailListQry;
......@@ -23,6 +24,7 @@ public interface MatchDataMapper extends SuperMapper<MatchData> {
Page<UdiMatchDataVo> queryMatchDataPage(IPage page,@Param("query") UdiMatchDetailListQry udiMatchDetailListQry);
@InterceptorIgnore(tenantLine = "true")
Set<Long> queryMatchWaitingTask();
List<TaskMatchStatisticVo> queryTaskMatchStatistic(@Param("taskIds") Collection<Long> taskIds, @Param("createBy") Long createBy);
......
package com.infynova.udi.mapper;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.infynova.udi.dto.UdiMatchTaskListQry;
......@@ -21,5 +22,6 @@ public interface TaskMapper extends SuperMapper<Task> {
Task queryTaskNo(@Param("taskNo") String taskNo);
@InterceptorIgnore(tenantLine = "true")
List<Task> getUploadingTask();
}
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 sign in to comment