1
This commit is contained in:
parent
ab59e5fcbd
commit
d202b4c297
@ -75,8 +75,6 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
|
||||
updateAuditState(token,applyAuditVO);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public SuccessResultList<List<ApplyClassPlanDTO>> listPageApplyClassPlan(ListPage page) throws Exception{
|
||||
List<ApplyClassPlanDTO> 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<ApplyDTO> 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<String> 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<String, Object> params) {
|
||||
Integer count = applyDao.count(params);
|
||||
return count == null ? 0 : count;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void updateAuditState(String token, ApplyAuditVO applyAuditVO){
|
||||
Map<String, Object> params = new HashMap<>();
|
||||
params.put("applyId",applyAuditVO.getApplyId());
|
||||
|
@ -83,12 +83,6 @@ public class ApplyAuditLogServiceImpl extends DefaultBaseService implements IApp
|
||||
return applyAuditLogId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void remove(List<String> ids) {
|
||||
remove(null, ids);
|
||||
|
@ -59,9 +59,6 @@ public class TrainingInstitutionUserServiceImpl extends DefaultBaseService imple
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public InstitutionDTO getByUserId(String userId){
|
||||
Map<String, Object> 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<String> 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);
|
||||
|
@ -36,8 +36,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType
|
||||
private IWorkTypeDao workTypeDao;
|
||||
|
||||
|
||||
|
||||
|
||||
public List<WorkTypeZTreeDTO> listZTree(Map<String, Object> params){
|
||||
List<WorkTypeZTreeDTO> 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<String, Object> params = new HashMap<>();
|
||||
params.put("workTypeCode",code);
|
||||
@ -207,7 +195,6 @@ public class WorkTypeServiceImpl extends DefaultBaseService implements IWorkType
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Integer count(Map<String, Object> params) {
|
||||
Integer count = workTypeDao.count(params);
|
||||
|
Loading…
Reference in New Issue
Block a user