Commit 8016fa5f by zhouhaibao

[+]优秀案例审核

1 parent 90fea4bd
......@@ -11,7 +11,6 @@ import cn.com.glsx.dj.supervisor.utils.CommonUtil;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import cn.com.glsx.framework.rop.response.RopResponse;
import com.github.pagehelper.Page;
import com.rop.AbstractRopRequest;
import com.rop.annotation.NeedInSessionType;
import com.rop.annotation.ServiceMethod;
......@@ -46,8 +45,7 @@ public class ExcellentCaseReviewController {
/**
* 查询优秀案例列表(分页)
* <p>
* 支持多条件筛选:驻店人员姓名、门店名称、客户类别、提交人姓名、审核状态
* 需要登录权限
* 支持多条件筛选:驻店人员姓名、门店名称、客户类别、提交人姓名、审核状态 需要登录权限
* </p>
*
* @param request 查询请求,包含查询条件和分页信息
......@@ -55,9 +53,9 @@ public class ExcellentCaseReviewController {
*/
@ServiceMethod(method = "dj.api.supervisor.excellent.case.list", needInSession = NeedInSessionType.YES)
@ApiOperation("查询优秀案例列表")
public RopResponse<Page<ExcellentCaseDetailDTO>> queryExcellentCaseList(ExcellentCaseReviewQueryRequest request) {
public RopResponse<RpcPagination<ExcellentCaseDetailDTO>> queryExcellentCaseList(ExcellentCaseReviewQueryRequest request) {
RpcPagination<ExcellentCaseReviewQueryDTO> pagination = CommonUtil.getRpcPagination(ExcellentCaseReviewQueryDTO.class);
RpcResponse<Page<ExcellentCaseDetailDTO>> result = excellentCaseReviewRemote.queryExcellentCaseList(pagination);
RpcResponse<RpcPagination<ExcellentCaseDetailDTO>> result = excellentCaseReviewRemote.queryExcellentCaseList(pagination);
if (result.isSuccess()) {
return RopResponse.success(result.getResult());
} else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!