|
|
@ -12,14 +12,7 @@ import com.kms.common.utils.BaseEntityUtils; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.PutMapping; |
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.jianwei.common.mybaitsplus.BeanToWrapper; |
|
|
@ -46,14 +39,14 @@ public class BsSgcProjectPersonnelController extends BaseController |
|
|
|
private BsSgcProjectPersonnelService bsSgcProjectPersonnelService; |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询项目人员名单信息列表 |
|
|
|
*/ |
|
|
|
@PostMapping("/list") |
|
|
|
@ApiOperation("项目人员名单信息列表") |
|
|
|
public IPage list(@RequestBody SearchParam<BsSgcProjectPersonnel> sp) |
|
|
|
{ |
|
|
|
return bsSgcProjectPersonnelService.selectPage(sp); |
|
|
|
} |
|
|
|
* 查询项目人员名单信息列表 |
|
|
|
*/ |
|
|
|
@PostMapping("/list") |
|
|
|
@ApiOperation("项目人员名单信息列表") |
|
|
|
public IPage list(@RequestBody SearchParam<BsSgcProjectPersonnel> sp) |
|
|
|
{ |
|
|
|
return bsSgcProjectPersonnelService.selectPage(sp); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 导出项目人员名单信息列表 |
|
|
@ -111,4 +104,16 @@ public class BsSgcProjectPersonnelController extends BaseController |
|
|
|
{ |
|
|
|
return toAjax(bsSgcProjectPersonnelService.removeByIds(Arrays.asList(ids))); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 查询项目人员类型统计 |
|
|
|
*/ |
|
|
|
@PostMapping("/typeStatistics") |
|
|
|
@ApiOperation("查询项目人员类型统计") |
|
|
|
public AjaxResult typeStatistics(@RequestParam(required = false)String proNo, |
|
|
|
@RequestParam(required = false)String type) |
|
|
|
{ |
|
|
|
return AjaxResult.success(bsSgcProjectPersonnelService.typeStatistics(proNo,type)); |
|
|
|
} |
|
|
|
} |
|
|
|