| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | @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") |
| | |
| | | @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); |
| | | } |