fix
This commit is contained in:
parent
8ff78938fa
commit
9c7b65d917
@ -7,6 +7,7 @@ import com.lz.common.utils.StringUtil;
|
||||
import com.lz.modules.app.entity.StaffEntity;
|
||||
import com.lz.modules.app.service.StaffService;
|
||||
import com.lz.modules.equipment.entity.model.BasePage;
|
||||
import com.lz.modules.flow.entity.FlowChart;
|
||||
import com.lz.modules.flow.service.FlowChangeService;
|
||||
import com.lz.modules.flow.service.FlowRecordService;
|
||||
import com.lz.modules.performance.req.AssessDetailReq;
|
||||
@ -17,7 +18,7 @@ import com.lz.modules.performance.res.TaskListRes;
|
||||
import com.lz.modules.sys.controller.AbstractController;
|
||||
import com.lz.modules.sys.entity.app.ResultRecord;
|
||||
import com.lz.modules.sys.service.app.ResultRecordService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.*;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
@ -46,6 +47,9 @@ public class TaskController extends AbstractController{
|
||||
private FlowChangeService flowChangeService;
|
||||
|
||||
@RequestMapping("task/list")
|
||||
@ApiOperation("获取待办/处理事项")
|
||||
@ApiImplicitParam(name = "status",value = "状态 (0:待办 1:已处理)", required = true, dataType = "int",paramType = "query")
|
||||
@ApiResponses({@ApiResponse(code = 200,message = "成功",response = TaskListRes.class)})
|
||||
public R list(AssessTaskReq req){
|
||||
List<TaskListRes> list = new ArrayList<>();
|
||||
Long userId = getUserId();
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
package com.lz.modules.performance.res;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@ -8,13 +10,18 @@ import lombok.Data;
|
||||
* @Date: 2020/10/13 17:15
|
||||
*/
|
||||
@Data
|
||||
@ApiModel(value = "待办/处理事项列表返回")
|
||||
public class TaskListRes {
|
||||
//头像
|
||||
@ApiModelProperty(value = "头像", name = "avatar")
|
||||
private String avatar;
|
||||
//标题
|
||||
@ApiModelProperty(value = "标题", name = "title")
|
||||
private String title;
|
||||
//时间
|
||||
@ApiModelProperty(value = "时间", name = "time")
|
||||
private String time;
|
||||
//跳转路径
|
||||
@ApiModelProperty(value = "跳转路径url", name = "url")
|
||||
private String url;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user