Commit b4dcd4d2 by hzc

修改 bug

parent 588511fc
...@@ -79,7 +79,10 @@ public class TaskCtrl { ...@@ -79,7 +79,10 @@ public class TaskCtrl {
@ApiOperation("获取我的任务(数据填报、数据审核)") @ApiOperation("获取我的任务(数据填报、数据审核)")
@PostMapping("findMyTask") @PostMapping("findMyTask")
public List<Task> findMyTask(@RequestBody QueryAllTaskParam param) { public List<Task> findMyTask(@RequestBody QueryAllTaskParam param) {
//param.setUserId(SystemUserUtil.getCurrentUserId()); //如果userId是空就是管理员
if(StringUtils.isNotBlank(param.getUserId())){
param.setUserId(SystemUserUtil.getCurrentUserId());
}
LogManager.logInfo(Constants.LOG_CONTEXT_API, "{}查询了我任务的", LogManager.logInfo(Constants.LOG_CONTEXT_API, "{}查询了我任务的",
SystemUserUtil.getCurrentUser()); SystemUserUtil.getCurrentUser());
return taskService.findAllTask(param); return taskService.findAllTask(param);
......
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