Commit e2b4a2ea authored by srx's avatar srx

项目焊工管理查看

parent ecb8e0e6
......@@ -2,11 +2,15 @@ package com.yeejoin.amos.boot.module.ugp.biz.controller;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.biz.common.controller.BaseController;
import com.yeejoin.amos.boot.module.ugp.api.dto.WelderDto;
import com.yeejoin.amos.boot.module.ugp.api.entity.Project;
import com.yeejoin.amos.boot.module.ugp.api.mapper.ProjectMapper;
import com.yeejoin.amos.boot.module.ugp.biz.service.impl.OrgServiceImpl;
import com.yeejoin.amos.boot.module.ugp.biz.service.impl.ProjectServiceImpl;
import com.yeejoin.amos.boot.module.ugp.biz.service.impl.WelderServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -30,7 +34,11 @@ public class WelderController extends BaseController {
@Autowired
ProjectMapper projectMapper;
@Autowired
ProjectServiceImpl projectService;
@Autowired
WelderServiceImpl welderServiceImpl;
/**
* 新增焊工信息
*
......@@ -67,5 +75,16 @@ public class WelderController extends BaseController {
return ResponseHelper.buildResponse(jsonObjectList);
}
/**
* 项目焊工人员分页查询
*
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@ApiOperation(httpMethod = "GET", value = "项目焊工人员分页查询列表", notes = "项目焊工人员分页查询列表")
@GetMapping(value = "/getpageInfo")
public ResponseModel<IPage<Map>> getpageInfo(){
return ResponseHelper.buildResponse(welderServiceImpl.getpageInfo());
}
}
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