|
@@ -7,6 +7,8 @@ import java.util.concurrent.CopyOnWriteArrayList;
|
|
|
|
|
|
import com.rtrh.projects.web.log.Log;
|
|
import com.rtrh.projects.web.log.Log;
|
|
|
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -47,6 +49,7 @@ import com.rtrh.projects.vo.subject.SubPassVO;
|
|
*/
|
|
*/
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/outApi/todo")
|
|
@RequestMapping("/outApi/todo")
|
|
|
|
+@Api( description = "待办-API")
|
|
public class TodoApiController extends BaseOutApiController {
|
|
public class TodoApiController extends BaseOutApiController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -75,6 +78,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
*/
|
|
*/
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("list")
|
|
@PostMapping("list")
|
|
|
|
+ @ApiOperation(value="待办列表")
|
|
public JsonResult list(@RequestBody TodoTypeVO vo) {
|
|
public JsonResult list(@RequestBody TodoTypeVO vo) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|
|
@@ -100,6 +104,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
*/
|
|
*/
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("getPreNew")
|
|
@PostMapping("getPreNew")
|
|
|
|
+ @ApiOperation(value="获取项目前期项目信息/项目审核")
|
|
public JsonResult getPreNew(@RequestBody SubIdVO vo) {
|
|
public JsonResult getPreNew(@RequestBody SubIdVO vo) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
LoginUserVO userVO = jwtUtils.getUserInfo(getToken());
|
|
LoginUserVO userVO = jwtUtils.getUserInfo(getToken());
|
|
@@ -147,6 +152,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("passPreNew")
|
|
@PostMapping("passPreNew")
|
|
// @Log("审核通过项目前期手续")
|
|
// @Log("审核通过项目前期手续")
|
|
|
|
+ @ApiOperation(value="项目审核")
|
|
public JsonResult passPreNew(@RequestBody SubPassVO passVO) {
|
|
public JsonResult passPreNew(@RequestBody SubPassVO passVO) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|
|
@@ -171,6 +177,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("passOpen")
|
|
@PostMapping("passOpen")
|
|
// @Log("审核通过开工申报")
|
|
// @Log("审核通过开工申报")
|
|
|
|
+ @ApiOperation(value="开工审核-通过")
|
|
public JsonResult passOpen(@RequestBody StartVerifyVO vo) {
|
|
public JsonResult passOpen(@RequestBody StartVerifyVO vo) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|
|
@@ -191,6 +198,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("backOpen")
|
|
@PostMapping("backOpen")
|
|
// @Log("退回开工申报")
|
|
// @Log("退回开工申报")
|
|
|
|
+ @ApiOperation(value="开工审核-退回")
|
|
public JsonResult backOpen(@RequestBody StartVerifyVO vo) {
|
|
public JsonResult backOpen(@RequestBody StartVerifyVO vo) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|
|
@@ -211,6 +219,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
|
|
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("getOpinion")
|
|
@PostMapping("getOpinion")
|
|
|
|
+ @ApiOperation(value="获取竣工申报项目信息")
|
|
public JsonResult getOpinion(@RequestBody CompleteOpionionQueryVO queryVO) {
|
|
public JsonResult getOpinion(@RequestBody CompleteOpionionQueryVO queryVO) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|
|
@@ -243,6 +252,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("approvalAgree")
|
|
@PostMapping("approvalAgree")
|
|
// @Log("审核通过开工申报")
|
|
// @Log("审核通过开工申报")
|
|
|
|
+ @ApiOperation(value="竣工审核-通过")
|
|
public JsonResult approvalAgree(@RequestBody SubCompletedVo vo) {
|
|
public JsonResult approvalAgree(@RequestBody SubCompletedVo vo) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|
|
@@ -264,6 +274,7 @@ public class TodoApiController extends BaseOutApiController {
|
|
@TokenAuthenticate
|
|
@TokenAuthenticate
|
|
@PostMapping("approvalBack")
|
|
@PostMapping("approvalBack")
|
|
// @Log("退回开工申报")
|
|
// @Log("退回开工申报")
|
|
|
|
+ @ApiOperation(value="竣工审核-退回")
|
|
public JsonResult approvalBack(@RequestBody SubCompletedVo vo) {
|
|
public JsonResult approvalBack(@RequestBody SubCompletedVo vo) {
|
|
JsonResult result = new JsonResult();
|
|
JsonResult result = new JsonResult();
|
|
try {
|
|
try {
|