管道基础大数据平台系统开发-【后端】-Server
13693261870
2022-12-25 035d6d22f53b0d5e84262df7c88da9d58b119e8b
src/main/java/com/lf/server/controller/show/ApplyController.java
@@ -5,6 +5,7 @@
import com.lf.server.entity.all.ResponseMsg;
import com.lf.server.entity.ctrl.DownloadReqEntity;
import com.lf.server.entity.show.ApplyEntity;
import com.lf.server.entity.show.FlowEntity;
import com.lf.server.entity.sys.UserEntity;
import com.lf.server.helper.AesHelper;
import com.lf.server.helper.StringHelper;
@@ -106,6 +107,20 @@
    }
    @SysLog()
    @ApiOperation(value = "查询待审核数")
    @GetMapping(value = "/selectSubmits")
    public ResponseMsg<Object> selectSubmits(HttpServletRequest req) {
        try {
            UserEntity ue = tokenService.getCurrentUser(req);
            int rows = applyService.selectSubmits(ue.getId());
            return success(rows);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
        }
    }
    @SysLog()
    @ApiOperation(value = "查询流程")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "applyId", value = "数据申请ID", dataType = "Integer", paramType = "query", example = "1")
@@ -113,9 +128,9 @@
    @GetMapping(value = "/selectFlows")
    public ResponseMsg<Object> selectFlows(Integer applyId) {
        try {
            //
            List<FlowEntity> rs = applyService.selectFlows(applyId);
            return success(null);
            return success(rs);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
        }