Commit 005c000a by fudahua

待办-今日待办

parent 57355164
......@@ -43,10 +43,10 @@ public class NotifyController extends WebBaseController {
* @return
*/
@RequestMapping("/commission/list")
public RestResponse pendingList(@RequestBody @Valid PendingListQO qo) {
public HaobanResponse pendingList(@RequestBody @Valid PendingListQO qo) {
PendingListQDTO pendingListQDTO = EntityUtil.changeEntityByOrika(PendingListQDTO.class, qo);
ServiceResponse<Page<PendingTaskDetailDTO>> retPage = pendingTaskApiService.pagePendingTask(pendingListQDTO, qo.getBasePageInfo());
return RestResponse.success(retPage.getResult());
return resultResponse(HaoBanErrCode.ERR_1, retPage.getResult());
}
/**
......@@ -55,10 +55,10 @@ public class NotifyController extends WebBaseController {
* @return
*/
@RequestMapping("/commission/today-list")
public RestResponse pendingToday(@RequestBody @Valid CommonQO qo) {
public HaobanResponse pendingToday(@RequestBody @Valid CommonQO qo) {
ServiceResponse<List<PendingTaskDetailDTO>> response = pendingTaskApiService
.listPendingTaskToday(qo.getEnterpriseId(), qo.getStoreId(), qo.getClerkId(), false);
return RestResponse.success(response.getResult());
return resultResponse(HaoBanErrCode.ERR_1, response.getResult());
}
......
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