Commit 154ae06c authored by zhangyingbin's avatar zhangyingbin

焊工履历接口修改

parent 9064c384
......@@ -94,9 +94,10 @@ public class WorkHistoryController extends BaseController {
* 列表分页查询
* @return
*/
@RequestMapping(value = "/listPage", method = RequestMethod.GET)
@TycloudOperation(ApiLevel = UserType.AGENCY)
@RequestMapping(value = "/page", method = RequestMethod.GET)
@ApiOperation(httpMethod = "GET", value = "列表分页查询", notes = "列表分页查询")
public IPage<WorkHistory> listPage(String pageNum, String pageSize,
public ResponseModel<IPage<WorkHistory>> listPage(String pageNum, String pageSize,
WorkHistory tzUgpWorkHistory){
Page<WorkHistory> pageBean;
......@@ -133,7 +134,7 @@ public class WorkHistoryController extends BaseController {
pageBean = new Page<>(Integer.parseInt(pageNum), Integer.parseInt(pageSize));
}
page = workHistoryServiceImpl.page(pageBean, tzUgpWorkHistoryQueryWrapper);
return page;
return ResponseHelper.buildResponse(page);
}
/**
......
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