Ejemplo n.º 1
0
 public void insertIndustry(String industrys) throws XueWenServiceException {
   List<Object> names = StringToList.tranfer(industrys);
   for (Object obj : names) {
     Industry ind = new Industry();
     ind.setName(obj.toString());
     industryRepository.save(ind);
   }
 }
Ejemplo n.º 2
0
 public void insertJobs(String industryclass, String pid) throws XueWenServiceException {
   List<Object> names = StringToList.tranfer(industryclass);
   for (Object obj : names) {
     Jobs ind = new Jobs();
     ind.setName(obj.toString());
     ind.setpId(pid);
     jobsRepository.save(ind);
   }
 }