|
|
|
|
|
|
|
|
@Autowired |
|
|
@Autowired |
|
|
private UserRepo uRepo; |
|
|
private UserRepo uRepo; |
|
|
|
|
|
|
|
|
@Transactional |
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
//添加审批人 |
|
|
//添加审批人 |
|
|
public void add(@Valid AddModel add) throws ManagerException { |
|
|
public void add(@Valid AddModel add) throws ManagerException { |
|
|
add.valid(); |
|
|
add.valid(); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//分页查询 |
|
|
//分页查询 |
|
|
@Transactional |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public Pagination queryPage(ZfdAuditorPageRequest queryModel) { |
|
|
public Pagination queryPage(ZfdAuditorPageRequest queryModel) { |
|
|
return zfdAuditorRepo.page(queryModel); |
|
|
return zfdAuditorRepo.page(queryModel); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//通过id查询 |
|
|
//通过id查询 |
|
|
@Transactional |
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public ZfdAuditor findById(String id) { |
|
|
public ZfdAuditor findById(String id) { |
|
|
return zfdAuditorRepo.findById(id).orElse(null); |
|
|
return zfdAuditorRepo.findById(id).orElse(null); |