18 changed files with 475 additions and 174 deletions
@ -0,0 +1,23 @@ |
|||
package com.ccsens.recovery.service; |
|||
|
|||
import com.ccsens.recovery.bean.dto.HospitalDto; |
|||
import com.ccsens.recovery.bean.vo.HospitalVo; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import org.springframework.transaction.annotation.Propagation; |
|||
import org.springframework.transaction.annotation.Transactional; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) |
|||
public class HospitalService implements IHospitalService{ |
|||
@Override |
|||
public List<HospitalVo.RobotInfo> queryRobotByHospital(HospitalDto.HospitalId param, Long userId) { |
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,58 @@ |
|||
package com.ccsens.recovery.service; |
|||
|
|||
import com.ccsens.recovery.bean.dto.HospitalDto; |
|||
import com.ccsens.recovery.bean.dto.PatientDto; |
|||
import com.ccsens.recovery.bean.vo.PatientVo; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import org.springframework.transaction.annotation.Propagation; |
|||
import org.springframework.transaction.annotation.Transactional; |
|||
|
|||
import java.util.List; |
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) |
|||
public class PatientService implements IPatientService{ |
|||
@Override |
|||
public List<PatientVo.Patient> queryPatientByDoctorId(HospitalDto.DoctorId param, Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public List<PatientVo.Patient> queryPatientByRecovery(HospitalDto.HospitalId param, Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public PatientVo.Patient getPatientById(PatientDto.PatientId param, Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public void addPatient(PatientDto.PatientDetail param, Long userId) { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public void choosePatient(PatientDto.ChoosePatient param, Long userId) { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public PatientVo.RecipeRecordId startDrill(PatientDto.StartDrill param, Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public void endDrill(PatientDto.EndDrill param, Long userId) { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public void actionFeedback(PatientDto.ActionFeedback param, Long userId) { |
|||
|
|||
} |
|||
} |
@ -0,0 +1,43 @@ |
|||
package com.ccsens.recovery.service; |
|||
|
|||
import com.ccsens.recovery.bean.dto.PatientDto; |
|||
import com.ccsens.recovery.bean.dto.RecipeDto; |
|||
import com.ccsens.recovery.bean.vo.RecipeVo; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import org.springframework.transaction.annotation.Propagation; |
|||
import org.springframework.transaction.annotation.Transactional; |
|||
|
|||
import java.util.List; |
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) |
|||
public class RecipeService implements IRecipeService{ |
|||
@Override |
|||
public void queryPatientByDoctorId(RecipeDto.AddRecipe param, Long userId) { |
|||
|
|||
} |
|||
|
|||
@Override |
|||
public List<RecipeVo.Drill> queryDrill(Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public List<RecipeVo.PatientRecipe> queryRecipeByPatientId(PatientDto.PatientId param, Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public List<RecipeVo.Game> queryGameByDrill(RecipeDto.DrillId param, Long userId) { |
|||
return null; |
|||
} |
|||
|
|||
@Override |
|||
public List<RecipeVo.RecipeRecord> queryRecipeRecord(RecipeDto.RecipeProjectId param, Long userId) { |
|||
return null; |
|||
} |
|||
} |
@ -1,6 +1,6 @@ |
|||
spring: |
|||
profiles: |
|||
active: dev |
|||
include: util-dev,common |
|||
active: test |
|||
include: util-test,common |
|||
|
|||
|
|||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue