| | |
| | | IMaintainService maintainService; |
| | | @Autowired |
| | | IdentityService identityService; |
| | | @Autowired |
| | | ISysViewService viewService; |
| | | @Autowired |
| | | IMasterAuthorSubscribeService subscribeService; |
| | | |
| | | @Override |
| | | public MaintainField createNowVerion(String tableName, String maintainId, String userId) { |
| | |
| | | |
| | | @Override |
| | | public ActivitiStatus getStatusByBusinessId(String businessId) { |
| | | Flows flows = selectOne(new EntityWrapper<Flows>().eq("business_id", businessId)); |
| | | Flows flows = selectOne(new EntityWrapper<Flows>().eq("business_id", businessId).orderBy("create_time desc")); |
| | | if (flows == null){ |
| | | return null; |
| | | } |
| | |
| | | String maintainId = flows.getBusinessId(); |
| | | masterModifiedService.dealFlow(maintainId, flows.getStatus()); |
| | | maintainService.dealFlow(maintainId, flows.getStatus()); |
| | | viewService.dealFlow(maintainId, flows.getStatus()); |
| | | subscribeService.dealFlow(maintainId, flows.getStatus()); |
| | | } |
| | | if (flows.getBusinessType().equals(ActivitiBusinessType.field)){ |
| | | String maintainId = flows.getBusinessId(); |