| | |
| | | private ResponsibilityUnitService responsibilityUnitService; |
| | | @Autowired |
| | | private SysDictTypeService sysDictTypeService; |
| | | @Autowired |
| | | private UserService userService; |
| | | |
| | | /** |
| | | * 根据字典类型获取字典数据 |
| | |
| | | } |
| | | //获取新建图片 |
| | | allocationMapper.insert(allocation); |
| | | //推送数据 |
| | | userService.pushOneUser(allocation); |
| | | redisTemplate.opsForValue().set(RedisConstants.JBD_DATA,i); |
| | | if(NEW_BUILT.equals(allocationCond.getState())) { |
| | | //添加流程数据 |
| | |
| | | allocation.setState(changeCond.getState()); |
| | | allocation.setChangeTime(new Date()); |
| | | this.updateById(allocation); |
| | | //推送数据 |
| | | Allocation allocation1 = this.getById(changeCond.getAllocationId()); |
| | | userService.pushOneUser(allocation1); |
| | | //添加流程数据 |
| | | ApproveTable approveTable = new ApproveTable(); |
| | | approveTable.setRelationId(allocation.getAllocationId()); |