|
@ -2,6 +2,7 @@ package com.yihu.jw.patient.endpoint.servicepackage;
|
|
|
|
|
|
import com.yihu.jw.entity.base.dict.DictHospitalDeptDO;
|
|
import com.yihu.jw.entity.base.dict.DictHospitalDeptDO;
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
|
|
|
|
import com.yihu.jw.entity.base.label.PatientLabelDO;
|
|
import com.yihu.jw.entity.base.org.BaseOrgDO;
|
|
import com.yihu.jw.entity.base.org.BaseOrgDO;
|
|
import com.yihu.jw.entity.base.servicePackage.ServicePackageDO;
|
|
import com.yihu.jw.entity.base.servicePackage.ServicePackageDO;
|
|
import com.yihu.jw.entity.base.servicePackage.ServicePackageItemDO;
|
|
import com.yihu.jw.entity.base.servicePackage.ServicePackageItemDO;
|
|
@ -9,6 +10,7 @@ import com.yihu.jw.entity.base.servicePackage.ServicePackageSignRecordDO;
|
|
import com.yihu.jw.patient.service.servicepackage.PackageService;
|
|
import com.yihu.jw.patient.service.servicepackage.PackageService;
|
|
import com.yihu.jw.restmodel.base.dict.DictHospitalDeptVO;
|
|
import com.yihu.jw.restmodel.base.dict.DictHospitalDeptVO;
|
|
import com.yihu.jw.restmodel.base.doctor.BaseDoctorSimpleVO;
|
|
import com.yihu.jw.restmodel.base.doctor.BaseDoctorSimpleVO;
|
|
|
|
import com.yihu.jw.restmodel.base.label.BasePatientLabelVO;
|
|
import com.yihu.jw.restmodel.base.org.BaseOrgVO;
|
|
import com.yihu.jw.restmodel.base.org.BaseOrgVO;
|
|
import com.yihu.jw.restmodel.patient.signPackage.SerivePackageItemVO;
|
|
import com.yihu.jw.restmodel.patient.signPackage.SerivePackageItemVO;
|
|
import com.yihu.jw.restmodel.patient.signPackage.ServicePackageVO;
|
|
import com.yihu.jw.restmodel.patient.signPackage.ServicePackageVO;
|
|
@ -146,5 +148,14 @@ public class PackageServiceEndpoint extends EnvelopRestEndpoint {
|
|
return packageService.findPatientSignPackage( label, labelType, patient, operator, familyModel, status, isHos, page, size);
|
|
return packageService.findPatientSignPackage( label, labelType, patient, operator, familyModel, status, isHos, page, size);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping(value = PatientRequestMapping.SignPackage.findLabelByLabelType)
|
|
|
|
@ApiOperation(value = "签约记录", notes = "签约记录")
|
|
|
|
public MixEnvelop<BasePatientLabelVO,BasePatientLabelVO> findLabelByLabelType(@ApiParam(name = "labelType", value = "标签类型") @RequestParam(value = "labelType", required = false)String labelType) {
|
|
|
|
List<PatientLabelDO> list = packageService.findLabelByLabelType(labelType);
|
|
|
|
List<BasePatientLabelVO> basePatientLabelVOs = new ArrayList<>();
|
|
|
|
convertToModels(list,basePatientLabelVOs,BasePatientLabelVO.class);
|
|
|
|
return MixEnvelop.getSuccess(PatientRequestMapping.SignPackage.api_success,basePatientLabelVOs);
|
|
|
|
}
|
|
|
|
|
|
//=================================
|
|
//=================================
|
|
}
|
|
}
|