| | |
| | | private Integer status; |
| | | /**工单结束意见*/ |
| | | private String endReason; |
| | | /**子表id*/ |
| | | private Integer sheetId; |
| | | |
| | | /**流程的下个处理人*/ |
| | | @TableField(exist = false) |
| | |
| | | |
| | | public void setEndReason(String endReason) { |
| | | this.endReason = endReason; |
| | | } |
| | | |
| | | public Integer getSheetId() { |
| | | return sheetId; |
| | | } |
| | | |
| | | public void setSheetId(Integer sheetId) { |
| | | this.sheetId = sheetId; |
| | | } |
| | | |
| | | public Integer getNextUser() { |
| | |
| | | mainService.updateStatusById(link.getMainId(),0); |
| | | }else{ |
| | | //审批通过,更新主表状态 |
| | | mainService.updateStatusById(link.getMainId(),5); |
| | | mainService.updateEndStatusById(link.getMainId(),"完结",5); |
| | | } |
| | | } |
| | | } |
| | |
| | | mainMapper.updateById(main); |
| | | } |
| | | |
| | | public void updateEndStatusById(Integer id,String endReason,Integer status) { |
| | | WorksheetMain main = new WorksheetMain(); |
| | | main.setId(id); |
| | | main.setStatus(status); |
| | | main.setEndReason(endReason); |
| | | mainMapper.updateById(main); |
| | | } |
| | | |
| | | public Map<String, WorksheetMain> getList() { |
| | | |
| | | return null; |