Browse Source

modify:

1. 增加手动推送采购公告接口;
tags/24110601^0
WendyYang 4 weeks ago
parent
commit
3b0530e8a3
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/controller/PurchaseController.java

+ 4
- 3
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/controller/PurchaseController.java View File

@@ -10,6 +10,7 @@ import com.hz.pm.api.projectdeclared.model.req.SubmitPurchaseNoticeReq.PurchaseN
import com.hz.pm.api.projectdeclared.model.vo.*;
import com.hz.pm.api.projectlib.model.req.ProjectListReq;
import com.hz.pm.api.projectlib.model.vo.ProjectLibListItemVO;
import com.ningdatech.basic.model.IdVo;
import com.ningdatech.basic.model.PageVo;
import com.ningdatech.log.annotation.WebLog;
import io.swagger.annotations.Api;
@@ -178,11 +179,11 @@ public class PurchaseController {
purchaseManage.purchaseOrgConfirm(req);
}

@GetMapping("/purchase/{bidId}")
@PostMapping("/pushToMhNotice")
@PreAuthorize("hasAuthority('SUPER_ADMIN')")
@ApiOperation("推送采购公告至信创云图")
public void pushToMhNotice(@PathVariable Long bidId) {
purchaseManage.pushToMhNotice(bidId);
public void pushToMhNotice(@RequestBody IdVo<Long> id) {
purchaseManage.pushToMhNotice(id.getId());
}

}

Loading…
Cancel
Save