|
@@ -210,6 +210,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "获取专家身份证号列表")
|
|
@ApiOperation(value = "获取专家身份证号列表")
|
|
@GetMapping("/getExpertIdNumberList")
|
|
@GetMapping("/getExpertIdNumberList")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getExpertIdNumberList')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult getExpertIdNumberList(@NotEmpty(message = "采购需求id不能为空")
|
|
public AjaxResult getExpertIdNumberList(@NotEmpty(message = "采购需求id不能为空")
|
|
@RequestParam(value = "demandId", required = true) Long demandId) {
|
|
@RequestParam(value = "demandId", required = true) Long demandId) {
|
|
PmDemand pmDemand = pmDemandService.getById(demandId);
|
|
PmDemand pmDemand = pmDemandService.getById(demandId);
|
|
@@ -232,6 +234,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "根据身份证号查询专家", notes = "必传 查询条件:身份证号")
|
|
@ApiOperation(value = "根据身份证号查询专家", notes = "必传 查询条件:身份证号")
|
|
@GetMapping("/findExpertWithIdNumber")
|
|
@GetMapping("/findExpertWithIdNumber")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:findExpertWithIdNumber')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult findExpertWithIdNumber(@NotEmpty(message = "采购需求id不能为空")
|
|
public AjaxResult findExpertWithIdNumber(@NotEmpty(message = "采购需求id不能为空")
|
|
@RequestParam(value = "demandId", required = true) Long demandId,
|
|
@RequestParam(value = "demandId", required = true) Long demandId,
|
|
@NotEmpty(message = "身份证号不能为空")
|
|
@NotEmpty(message = "身份证号不能为空")
|
|
@@ -280,6 +284,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "获取回避单位下拉列表")
|
|
@ApiOperation(value = "获取回避单位下拉列表")
|
|
@GetMapping("/getExpertUnitList")
|
|
@GetMapping("/getExpertUnitList")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getExpertUnitList')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult getExpertUnitList() {
|
|
public AjaxResult getExpertUnitList() {
|
|
List<BaseExpert> baseExperts = baseExpertService.list();
|
|
List<BaseExpert> baseExperts = baseExpertService.list();
|
|
if(ObjectUtils.isEmpty(baseExperts)){
|
|
if(ObjectUtils.isEmpty(baseExperts)){
|
|
@@ -297,6 +303,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "抽取专家",notes = "采购需求ID必传")
|
|
@ApiOperation(value = "抽取专家",notes = "采购需求ID必传")
|
|
@PostMapping("/extractExpertBatch")
|
|
@PostMapping("/extractExpertBatch")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:extractExpertBatch')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE)
|
|
public AjaxResult extractExpertBatch(@NotEmpty(message = "参数不能为空")
|
|
public AjaxResult extractExpertBatch(@NotEmpty(message = "参数不能为空")
|
|
@RequestBody PmBaseExpertExtractReqVo pmBaseExpertExtractReqVo) {
|
|
@RequestBody PmBaseExpertExtractReqVo pmBaseExpertExtractReqVo) {
|
|
|
|
|
|
@@ -314,6 +322,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "填写开标信息",notes = "采购需求ID必传")
|
|
@ApiOperation(value = "填写开标信息",notes = "采购需求ID必传")
|
|
@PostMapping("/insertBidOpeningBatch")
|
|
@PostMapping("/insertBidOpeningBatch")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertBidOpeningBatch')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT)
|
|
public AjaxResult insertBidOpeningBatch(@NotEmpty(message = "数据为空")
|
|
public AjaxResult insertBidOpeningBatch(@NotEmpty(message = "数据为空")
|
|
@RequestBody PmBidOpeningFillReqVo pmBidOpeningFillReqVo) {
|
|
@RequestBody PmBidOpeningFillReqVo pmBidOpeningFillReqVo) {
|
|
|
|
|
|
@@ -336,6 +346,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "中标基本情况填制-开标信息下拉列表", notes = "必传选需求ID")
|
|
@ApiOperation(value = "中标基本情况填制-开标信息下拉列表", notes = "必传选需求ID")
|
|
@GetMapping("/getPullDownBidOpeningList")
|
|
@GetMapping("/getPullDownBidOpeningList")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getPullDownBidOpeningList')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult getPullDownBidOpeningList(@NotEmpty(message = "需求ID不能为空")
|
|
public AjaxResult getPullDownBidOpeningList(@NotEmpty(message = "需求ID不能为空")
|
|
@RequestParam(value = "demandId", required = true) Long demandId) {
|
|
@RequestParam(value = "demandId", required = true) Long demandId) {
|
|
LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<PmBidOpening> pmBidOpeningLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
@@ -348,6 +360,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "中标基本情况填制-中标情况填制提交",notes = "采购需求ID必传")
|
|
@ApiOperation(value = "中标基本情况填制-中标情况填制提交",notes = "采购需求ID必传")
|
|
@PostMapping("/insertPmBidWinning")
|
|
@PostMapping("/insertPmBidWinning")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmBidWinning')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT)
|
|
public AjaxResult insertPmBidWinning(@NotEmpty(message = "数据为空")
|
|
public AjaxResult insertPmBidWinning(@NotEmpty(message = "数据为空")
|
|
@RequestBody PmBidWinningReqVo pmBidWinningReqVo) {
|
|
@RequestBody PmBidWinningReqVo pmBidWinningReqVo) {
|
|
try {
|
|
try {
|
|
@@ -367,6 +381,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "中标基本情况填制-更换中标人提交",notes = "采购需求ID必传")
|
|
@ApiOperation(value = "中标基本情况填制-更换中标人提交",notes = "采购需求ID必传")
|
|
@PostMapping("/updatePmBidWinning")
|
|
@PostMapping("/updatePmBidWinning")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:updatePmBidWinning')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE)
|
|
public AjaxResult updatePmBidWinning(@NotEmpty(message = "数据为空")
|
|
public AjaxResult updatePmBidWinning(@NotEmpty(message = "数据为空")
|
|
@RequestBody PmBidWinningReqVo pmBidWinningReqVo) {
|
|
@RequestBody PmBidWinningReqVo pmBidWinningReqVo) {
|
|
try {
|
|
try {
|
|
@@ -384,6 +400,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "流标情况填制",notes = "采购需求ID必传")
|
|
@ApiOperation(value = "流标情况填制",notes = "采购需求ID必传")
|
|
@PostMapping("/insertPmBidFailure")
|
|
@PostMapping("/insertPmBidFailure")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:insertPmBidFailure')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.INSERT)
|
|
public AjaxResult insertPmBidFailure(@NotEmpty(message = "数据为空")
|
|
public AjaxResult insertPmBidFailure(@NotEmpty(message = "数据为空")
|
|
@RequestBody PmBidFailureReqVo pmBidFailureReqVo) {
|
|
@RequestBody PmBidFailureReqVo pmBidFailureReqVo) {
|
|
try {
|
|
try {
|
|
@@ -403,6 +421,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "质疑处理",notes = "采购需求ID必传")
|
|
@ApiOperation(value = "质疑处理",notes = "采购需求ID必传")
|
|
@PostMapping("/handleCallQuestion")
|
|
@PostMapping("/handleCallQuestion")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:handleCallQuestion')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.UPDATE)
|
|
public AjaxResult handleCallQuestion(@NotEmpty(message = "数据为空")
|
|
public AjaxResult handleCallQuestion(@NotEmpty(message = "数据为空")
|
|
@RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) {
|
|
@RequestBody PmCallQuestionReqVo pmCallQuestionReqVo) {
|
|
try {
|
|
try {
|
|
@@ -428,6 +448,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "上传中标通知书",notes = "采购需求ID和上传附件必传")
|
|
@ApiOperation(value = "上传中标通知书",notes = "采购需求ID和上传附件必传")
|
|
@PostMapping("/uploadBidWinningNotification")
|
|
@PostMapping("/uploadBidWinningNotification")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:uploadBidWinningNotification')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.IMPORT)
|
|
public AjaxResult uploadBidWinningNotification(@NotEmpty(message = "数据为空") @RequestBody PmPurchaseExecutionReqVo pmPurchaseExecutionReqVo) {
|
|
public AjaxResult uploadBidWinningNotification(@NotEmpty(message = "数据为空") @RequestBody PmPurchaseExecutionReqVo pmPurchaseExecutionReqVo) {
|
|
Long demandId = pmPurchaseExecutionReqVo.getDemandId();
|
|
Long demandId = pmPurchaseExecutionReqVo.getDemandId();
|
|
if(ObjectUtils.isEmpty(demandId)){
|
|
if(ObjectUtils.isEmpty(demandId)){
|
|
@@ -460,6 +482,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "查看详情", notes = "必传demandId和详情类型(1项目计划,2需求建档,3任务下达,4中标信息,5合同信息,6建设情况),其他字段不传")
|
|
@ApiOperation(value = "查看详情", notes = "必传demandId和详情类型(1项目计划,2需求建档,3任务下达,4中标信息,5合同信息,6建设情况),其他字段不传")
|
|
@PostMapping("/view")
|
|
@PostMapping("/view")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:view')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult view(@RequestBody PmDemandReqVo pmDemandReqVo) {
|
|
public AjaxResult view(@RequestBody PmDemandReqVo pmDemandReqVo) {
|
|
if(pmDemandReqVo.getDemandId() == null){
|
|
if(pmDemandReqVo.getDemandId() == null){
|
|
return AjaxResult.error("demandId不能为空");
|
|
return AjaxResult.error("demandId不能为空");
|
|
@@ -475,6 +499,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "专家信息查看详情列表", notes = "必传需求ID和选取时间(yyyy-MM-dd)")
|
|
@ApiOperation(value = "专家信息查看详情列表", notes = "必传需求ID和选取时间(yyyy-MM-dd)")
|
|
@GetMapping("/getBaseExpertList")
|
|
@GetMapping("/getBaseExpertList")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBaseExpertList')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult getBaseExpertList(@NotEmpty(message = "需求ID不能为空")
|
|
public AjaxResult getBaseExpertList(@NotEmpty(message = "需求ID不能为空")
|
|
@RequestParam(value = "demandId", required = true) Long demandId,
|
|
@RequestParam(value = "demandId", required = true) Long demandId,
|
|
@NotEmpty(message = "选取时间不能为空")
|
|
@NotEmpty(message = "选取时间不能为空")
|
|
@@ -501,6 +527,8 @@ public class PmPurchaseExecutionController extends BaseController {
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "开标信息查看详情列表", notes = "必传选需求ID和开标时间(yyyy-MM-dd)")
|
|
@ApiOperation(value = "开标信息查看详情列表", notes = "必传选需求ID和开标时间(yyyy-MM-dd)")
|
|
@GetMapping("/getBidOpeningList")
|
|
@GetMapping("/getBidOpeningList")
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('pm:purchaseExecution:getBidOpeningList')")
|
|
|
|
+ @Log(title = ModularConstans.purchaseExecution, businessType = BusinessType.QUERY)
|
|
public AjaxResult getBidOpeningList(@NotEmpty(message = "需求ID不能为空")
|
|
public AjaxResult getBidOpeningList(@NotEmpty(message = "需求ID不能为空")
|
|
@RequestParam(value = "demandId", required = true) Long demandId,
|
|
@RequestParam(value = "demandId", required = true) Long demandId,
|
|
@NotEmpty(message = "开标时间不能为空")
|
|
@NotEmpty(message = "开标时间不能为空")
|