From d202b4c2975e291ad10dab7e2b49195e50e6e6d6 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Tue, 4 May 2021 15:41:39 +0800 Subject: [PATCH] 1 --- .../service/apply/impl/ApplyServiceImpl.java | 13 ------------- .../impl/ApplyAuditLogServiceImpl.java | 6 ------ .../impl/TrainingInstitutionUserServiceImpl.java | 10 ---------- .../service/worktype/impl/WorkTypeServiceImpl.java | 13 ------------- 4 files changed, 42 deletions(-) diff --git a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java index 902d5d0..cc2e485 100644 --- a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java @@ -75,8 +75,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic updateAuditState(token,applyAuditVO); } - - public SuccessResultList> listPageApplyClassPlan(ListPage page) throws Exception{ List list= new ArrayList<>(); String applyCardNumber = page.getParams().get("applyCardNumber").toString(); @@ -101,7 +99,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic return new SuccessResultList<>(list, pageInfo.getPageNum(), pageInfo.getTotal()); } - public List listByClassId(String classId){ if(StringUtils.isBlank(classId)){ throw new SearchException("获取失败"); @@ -114,8 +111,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic return this.list(params); } - - @Override public void save(ApplyVO applyVO) { saveReturnId(applyVO); @@ -188,8 +183,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic } } - - @Override public void remove(List ids) { remove(null, ids); @@ -324,7 +317,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic return count(params); } - /** * 统计计划报名人数(不包括审核未通过,撤回状态) */ @@ -339,17 +331,12 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic return count(params); } - - - @Override public Integer count(Map params) { Integer count = applyDao.count(params); return count == null ? 0 : count; } - - public void updateAuditState(String token, ApplyAuditVO applyAuditVO){ Map params = new HashMap<>(); params.put("applyId",applyAuditVO.getApplyId()); diff --git a/src/main/java/cn/com/tenlion/service/applyauditlog/impl/ApplyAuditLogServiceImpl.java b/src/main/java/cn/com/tenlion/service/applyauditlog/impl/ApplyAuditLogServiceImpl.java index 18d3b62..95398ff 100644 --- a/src/main/java/cn/com/tenlion/service/applyauditlog/impl/ApplyAuditLogServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/applyauditlog/impl/ApplyAuditLogServiceImpl.java @@ -83,12 +83,6 @@ public class ApplyAuditLogServiceImpl extends DefaultBaseService implements IApp return applyAuditLogId; } - - - - - - @Override public void remove(List ids) { remove(null, ids); diff --git a/src/main/java/cn/com/tenlion/service/traininginstitutionuser/impl/TrainingInstitutionUserServiceImpl.java b/src/main/java/cn/com/tenlion/service/traininginstitutionuser/impl/TrainingInstitutionUserServiceImpl.java index 3aca11d..0fcd0b0 100644 --- a/src/main/java/cn/com/tenlion/service/traininginstitutionuser/impl/TrainingInstitutionUserServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/traininginstitutionuser/impl/TrainingInstitutionUserServiceImpl.java @@ -59,9 +59,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple } } - - - public InstitutionDTO getByUserId(String userId){ Map params = new HashMap<>(); params.put("userId",userId); @@ -72,7 +69,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple return iInstitutionService.get(trainingInstitutionUserDTO.getInstitutionId()); } - public void updateUser(String institutionId,List userIds){ TrainingInstitutionUserVO vo = new TrainingInstitutionUserVO(); vo.setInstitutionId(institutionId); @@ -90,12 +86,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple } } - - - - - - @Override public void save(TrainingInstitutionUserVO trainingInstitutionUserVO) { saveReturnId(trainingInstitutionUserVO); diff --git a/src/main/java/cn/com/tenlion/service/worktype/impl/WorkTypeServiceImpl.java b/src/main/java/cn/com/tenlion/service/worktype/impl/WorkTypeServiceImpl.java index ad47dcf..b1b3d5a 100644 --- a/src/main/java/cn/com/tenlion/service/worktype/impl/WorkTypeServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/worktype/impl/WorkTypeServiceImpl.java @@ -36,8 +36,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType private IWorkTypeDao workTypeDao; - - public List listZTree(Map params){ List list = workTypeDao.listZTree(params); for (WorkTypeZTreeDTO workTypeZTreeDTO : list) { @@ -53,15 +51,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType return list; } - - - - - - - - - @Override public void save(WorkTypeVO workTypeVO) { saveReturnId(workTypeVO); @@ -197,7 +186,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType return new SuccessResultList<>(workTypeDTOs, pageInfo.getPageNum(), pageInfo.getTotal()); } - private void checkCode(String code) { Map params = new HashMap<>(); params.put("workTypeCode",code); @@ -207,7 +195,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType } } - @Override public Integer count(Map params) { Integer count = workTypeDao.count(params);