| | |
| | | public ResponseEntity<String> queryOaWorkflow(@RequestHeader(value = "store-id") String storeId, |
| | | @RequestHeader(value = "user-id") String userId, |
| | | @RequestParam(value = "flowId", required = false) String flowId, |
| | | @RequestParam(value = "flowName", required = false) String flowName, |
| | | @RequestParam(value = "flowType", required = false) String flowType, |
| | | @RequestParam(value = "state", required = false) String state, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | |
| | | oaWorkflowDto.setRow(row); |
| | | oaWorkflowDto.setStoreId(storeId); |
| | | oaWorkflowDto.setFlowId(flowId); |
| | | oaWorkflowDto.setFlowName(flowName); |
| | | oaWorkflowDto.setFlowType(flowType); |
| | | oaWorkflowDto.setState(state); |
| | | oaWorkflowDto.setUserId(userId); |
| | | return getOaWorkflowBMOImpl.get(oaWorkflowDto); |
| | |
| | | if ("flowId".equals(key)) { |
| | | continue; |
| | | } |
| | | if ("fileName".equals(key)) { |
| | | continue; |
| | | } |
| | | |
| | | if ("realFileName".equals(key)) { |
| | | continue; |
| | | } |
| | | |
| | | columns.add(key); |
| | | values.add(reqJson.getString(key)); |
| | |
| | | */ |
| | | @RequestMapping(value = "/queryOaWorkflowUser", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryOaWorkflowUser(@RequestHeader(value = "store-id") String storeId, |
| | | @RequestHeader(value = "user-id") String userId, |
| | | @RequestParam(value = "flowId", required = false) String flowId, |
| | | @RequestParam(value = "id", required = false) String id, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | @RequestHeader(value = "user-id") String userId, |
| | | @RequestParam(value = "flowId", required = false) String flowId, |
| | | @RequestParam(value = "id", required = false) String id, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | JSONObject paramIn = new JSONObject(); |
| | | paramIn.put("page", page); |
| | | paramIn.put("row", row); |