Ignore:
Timestamp:
01/08/21 00:35:56 (3 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
4cec0a3
Parents:
509cb95
Message:

added dummy data for user skills and fixed bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/service/impl/WorkServiceImpl.java

    r509cb95 ra8e8545  
    7777
    7878    @Override
    79     public Job insertJob(String title, String description, Long adccId, int salary, List<Integer> skillsRequired, AccountType type) {
     79    public Job insertJob(String title, String description, Long adccId, int salary, List<Long> skillsRequired, AccountType type) {
    8080        List<Skill> skills = this.skillService.returnSkillsBasedOnId(skillsRequired);
    8181        Account account = this.accountService.findByIdAndType(adccId, type);
     
    8585
    8686    @Override
    87     public Internship insertInternship(String title, String description, Long adccId, int salary, List<Integer> skillsTrained, int openSpots, AccountType type) {
     87    public Internship insertInternship(String title, String description, Long adccId, int salary, List<Long> skillsTrained, int openSpots, AccountType type) {
    8888        List<Skill> skills = this.skillService.returnSkillsBasedOnId(skillsTrained);
    8989        Account account = this.accountService.findByIdAndType(adccId, type);
     
    9393
    9494    @Override
    95     public Project insertProject(String title, String description, Long adccId, int salary, List<Integer> skillsRequired, Date validUntil, AccountType type) {
     95    public Project insertProject(String title, String description, Long adccId, int salary, List<Long> skillsRequired, Date validUntil, AccountType type) {
    9696        List<Skill> skills = this.skillService.returnSkillsBasedOnId(skillsRequired);
    9797        Account account = this.accountService.findByIdAndType(adccId, type);
Note: See TracChangeset for help on using the changeset viewer.