|
@ -733,6 +733,8 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(chargeType)){
|
|
|
sql+=" AND d.charge_type ='"+chargeType+"'";
|
|
|
}else{
|
|
|
sql+=" AND d.charge_type is not null ";
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(outpatientType)){
|
|
|
sql+=" AND d.outpatient_type like'%"+outpatientType+"%'";
|
|
@ -795,6 +797,8 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(chargeType)){
|
|
|
totalSql+= " AND d.charge_type ='"+chargeType+"'";
|
|
|
}else{
|
|
|
totalSql+= " AND d.charge_type is not null ";
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(outpatientType)){
|
|
|
totalSql+= " AND d.outpatient_type like'%"+outpatientType+"%'";
|
|
@ -852,6 +856,8 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(chargeType)){
|
|
|
sql+= " AND d.charge_type ='"+chargeType+"'";
|
|
|
}else{
|
|
|
sql+= " AND d.charge_type is not null";
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(outpatientType)){
|
|
|
sql+= " AND d.outpatient_type like'%"+outpatientType+"%'";
|