|
@ -797,8 +797,16 @@ public class PrescriptionService extends ZysoftBaseService{
|
|
|
public String getDispUnSettleFeeInfoList(String cardNo, String visitNo,String recipeNo) throws Exception
|
|
|
{
|
|
|
Prescription prescription = prescriptionDao.findByVisitNoAndRecipeNo(visitNo,recipeNo);
|
|
|
String hos = "";
|
|
|
if(prescription==null){
|
|
|
Patient patient = patientDao.findBySsc(cardNo);
|
|
|
SignFamily signFamily = signFamilyDao.findByPatient(patient.getCode());
|
|
|
hos = signFamily.getHospital();
|
|
|
}else {
|
|
|
hos = prescription.getHospital();
|
|
|
}
|
|
|
|
|
|
String[] hospitalMapping = getHospitalMapping(prescription.getHospital()); //获取机构映射
|
|
|
String[] hospitalMapping = getHospitalMapping(hos); //获取机构映射
|
|
|
String hospital = hospitalMapping[0];
|
|
|
String licence = hospitalMapping[1];
|
|
|
// String licence = "5YGl5bq35LmL6Lev";
|