|
|
@@ -6,6 +6,7 @@ import com.hz.pm.api.projectlib.model.req.DeclaredProjectListReq; |
|
|
|
import com.hz.pm.api.projectlib.model.vo.DeclaredProjectListVO; |
|
|
|
import com.hz.pm.api.projectlib.model.vo.MhProjectBaseInfoVO; |
|
|
|
import com.ningdatech.basic.model.PageVo; |
|
|
|
import com.ningdatech.log.annotation.WebLog; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
@@ -32,24 +33,28 @@ public class MhProjectController { |
|
|
|
|
|
|
|
@ApiOperation("立项备案列表") |
|
|
|
@GetMapping("/pageDeclaredProject") |
|
|
|
@WebLog("立项备案列表") |
|
|
|
public PageVo<DeclaredProjectListVO> pageDeclaredProject(DeclaredProjectListReq req) { |
|
|
|
return declaredRecordManage.pageDeclaredProject(req); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("信产项目基本信息") |
|
|
|
@GetMapping("/baseInfo/{mhProjectId}") |
|
|
|
@WebLog("信产项目基本信息") |
|
|
|
public MhProjectBaseInfoVO projectBaseInfo(@PathVariable Long mhProjectId) { |
|
|
|
return declaredRecordManage.getProjectBaseInfo(mhProjectId); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("立项备案提交") |
|
|
|
@PostMapping("/submit") |
|
|
|
@WebLog("立项备案提交") |
|
|
|
public void submit(@Valid @RequestBody DefaultDeclaredDTO req) { |
|
|
|
declaredRecordManage.startDeclaredRecord(req); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("立项备案重新提交") |
|
|
|
@PostMapping("/resubmit") |
|
|
|
@WebLog("立项备案重新提交") |
|
|
|
public void resubmit(@Valid @RequestBody DefaultDeclaredDTO req) { |
|
|
|
declaredRecordManage.restartDeclaredRecord(req); |
|
|
|
} |
|
|
|