|
@ -1,6 +1,7 @@
|
|
|
package com.yihu.jw.hospital.endpoint.prescription;
|
|
|
|
|
|
import com.yihu.jw.entity.hospital.prescription.WlyyOutpatientDO;
|
|
|
import com.yihu.jw.hospital.prescription.service.PrescriptionLogService;
|
|
|
import com.yihu.jw.hospital.prescription.service.PrescriptionService;
|
|
|
import com.yihu.jw.restmodel.base.dict.DictHospitalDeptVO;
|
|
|
import com.yihu.jw.restmodel.base.org.BaseOrgVO;
|
|
@ -43,6 +44,9 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@Autowired
|
|
|
private WlyyBusinessService wlyyBusinessService;
|
|
|
|
|
|
@Autowired
|
|
|
private PrescriptionLogService prescriptionLogService;
|
|
|
|
|
|
@Value("${demo.flag}")
|
|
|
private boolean demoFlag;
|
|
|
|
|
@ -633,7 +637,13 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@ApiParam(name = "winNo", value = "6总部7金榜8夏禾")
|
|
|
@RequestParam(value = "winNo", required = true)String winNo)throws Exception{
|
|
|
return success(prescriptionService.getInspectionDictionary(pyKey,winNo));
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = BaseHospitalRequestMapping.Prescription.findPrescriptionLogByPreId)
|
|
|
@ApiOperation(value = "查询处方日志", notes = "查询处方日志")
|
|
|
public ListEnvelop findPrescriptionLogByPreId(@ApiParam(name = "prescriptionCode", value = "处方code")
|
|
|
@RequestParam(value = "prescriptionCode", required = true)String prescriptionCode)throws Exception{
|
|
|
return success(prescriptionLogService.findPrescriptionLogByPreId(prescriptionCode));
|
|
|
}
|
|
|
|
|
|
}
|