This commit is contained in:
ly19960718 2021-05-04 15:41:39 +08:00
parent ab59e5fcbd
commit d202b4c297
4 changed files with 0 additions and 42 deletions

View File

@ -75,8 +75,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
updateAuditState(token,applyAuditVO); updateAuditState(token,applyAuditVO);
} }
public SuccessResultList<List<ApplyClassPlanDTO>> listPageApplyClassPlan(ListPage page) throws Exception{ public SuccessResultList<List<ApplyClassPlanDTO>> listPageApplyClassPlan(ListPage page) throws Exception{
List<ApplyClassPlanDTO> list= new ArrayList<>(); List<ApplyClassPlanDTO> list= new ArrayList<>();
String applyCardNumber = page.getParams().get("applyCardNumber").toString(); 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()); return new SuccessResultList<>(list, pageInfo.getPageNum(), pageInfo.getTotal());
} }
public List<ApplyDTO> listByClassId(String classId){ public List<ApplyDTO> listByClassId(String classId){
if(StringUtils.isBlank(classId)){ if(StringUtils.isBlank(classId)){
throw new SearchException("获取失败"); throw new SearchException("获取失败");
@ -114,8 +111,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
return this.list(params); return this.list(params);
} }
@Override @Override
public void save(ApplyVO applyVO) { public void save(ApplyVO applyVO) {
saveReturnId(applyVO); saveReturnId(applyVO);
@ -188,8 +183,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
} }
} }
@Override @Override
public void remove(List<String> ids) { public void remove(List<String> ids) {
remove(null, ids); remove(null, ids);
@ -324,7 +317,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
return count(params); return count(params);
} }
/** /**
* 统计计划报名人数不包括审核未通过撤回状态 * 统计计划报名人数不包括审核未通过撤回状态
*/ */
@ -339,17 +331,12 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
return count(params); return count(params);
} }
@Override @Override
public Integer count(Map<String, Object> params) { public Integer count(Map<String, Object> params) {
Integer count = applyDao.count(params); Integer count = applyDao.count(params);
return count == null ? 0 : count; return count == null ? 0 : count;
} }
public void updateAuditState(String token, ApplyAuditVO applyAuditVO){ public void updateAuditState(String token, ApplyAuditVO applyAuditVO){
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put("applyId",applyAuditVO.getApplyId()); params.put("applyId",applyAuditVO.getApplyId());

View File

@ -83,12 +83,6 @@ public class ApplyAuditLogServiceImpl extends DefaultBaseService implements IApp
return applyAuditLogId; return applyAuditLogId;
} }
@Override @Override
public void remove(List<String> ids) { public void remove(List<String> ids) {
remove(null, ids); remove(null, ids);

View File

@ -59,9 +59,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple
} }
} }
public InstitutionDTO getByUserId(String userId){ public InstitutionDTO getByUserId(String userId){
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put("userId",userId); params.put("userId",userId);
@ -72,7 +69,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple
return iInstitutionService.get(trainingInstitutionUserDTO.getInstitutionId()); return iInstitutionService.get(trainingInstitutionUserDTO.getInstitutionId());
} }
public void updateUser(String institutionId,List<String> userIds){ public void updateUser(String institutionId,List<String> userIds){
TrainingInstitutionUserVO vo = new TrainingInstitutionUserVO(); TrainingInstitutionUserVO vo = new TrainingInstitutionUserVO();
vo.setInstitutionId(institutionId); vo.setInstitutionId(institutionId);
@ -90,12 +86,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple
} }
} }
@Override @Override
public void save(TrainingInstitutionUserVO trainingInstitutionUserVO) { public void save(TrainingInstitutionUserVO trainingInstitutionUserVO) {
saveReturnId(trainingInstitutionUserVO); saveReturnId(trainingInstitutionUserVO);

View File

@ -36,8 +36,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType
private IWorkTypeDao workTypeDao; private IWorkTypeDao workTypeDao;
public List<WorkTypeZTreeDTO> listZTree(Map<String, Object> params){ public List<WorkTypeZTreeDTO> listZTree(Map<String, Object> params){
List<WorkTypeZTreeDTO> list = workTypeDao.listZTree(params); List<WorkTypeZTreeDTO> list = workTypeDao.listZTree(params);
for (WorkTypeZTreeDTO workTypeZTreeDTO : list) { for (WorkTypeZTreeDTO workTypeZTreeDTO : list) {
@ -53,15 +51,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType
return list; return list;
} }
@Override @Override
public void save(WorkTypeVO workTypeVO) { public void save(WorkTypeVO workTypeVO) {
saveReturnId(workTypeVO); saveReturnId(workTypeVO);
@ -197,7 +186,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType
return new SuccessResultList<>(workTypeDTOs, pageInfo.getPageNum(), pageInfo.getTotal()); return new SuccessResultList<>(workTypeDTOs, pageInfo.getPageNum(), pageInfo.getTotal());
} }
private void checkCode(String code) { private void checkCode(String code) {
Map<String, Object> params = new HashMap<>(); Map<String, Object> params = new HashMap<>();
params.put("workTypeCode",code); params.put("workTypeCode",code);
@ -207,7 +195,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType
} }
} }
@Override @Override
public Integer count(Map<String, Object> params) { public Integer count(Map<String, Object> params) {
Integer count = workTypeDao.count(params); Integer count = workTypeDao.count(params);