|
@ -1038,7 +1038,11 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
totalSql += " AND h.org_code = '" + orgCode + "'";
|
|
|
}
|
|
|
if (StringUtils.isNotBlank(chargeType)) {
|
|
|
totalSql += " AND d.charge_type ='" + chargeType + "'";
|
|
|
if ("all".equalsIgnoreCase(chargeType)){
|
|
|
|
|
|
}else {
|
|
|
totalSql += " AND d.charge_type ='" + chargeType + "'";
|
|
|
}
|
|
|
} else {
|
|
|
totalSql += " AND d.charge_type is not null ";
|
|
|
}
|
|
@ -1113,7 +1117,11 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
}
|
|
|
|
|
|
if (StringUtils.isNotBlank(chargeType)) {
|
|
|
sql += " AND d.charge_type ='" + chargeType + "'";
|
|
|
if ("all".equalsIgnoreCase(chargeType)){
|
|
|
|
|
|
}else {
|
|
|
sql += " AND d.charge_type ='" + chargeType + "'";
|
|
|
}
|
|
|
} else {
|
|
|
sql += " AND d.charge_type is not null";
|
|
|
}
|
|
@ -1237,7 +1245,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
" h.org_code = '" + orgCode + "'" +
|
|
|
" AND r.role_code ='specialist'";
|
|
|
if (StringUtils.isNotBlank(chargeType)) {
|
|
|
if ("all".equals(chargeType)) {
|
|
|
if ("all".equalsIgnoreCase(chargeType)) {
|
|
|
//不过滤号别
|
|
|
} else {
|
|
|
totalSql += " AND d.charge_type ='" + chargeType + "'";
|
|
@ -1302,7 +1310,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
" h.org_code = '" + orgCode + "'" +
|
|
|
" AND r.role_code ='specialist'";
|
|
|
if (StringUtils.isNotBlank(chargeType)) {
|
|
|
if ("all".equals(chargeType)) {
|
|
|
if ("all".equalsIgnoreCase(chargeType)) {
|
|
|
//不过滤号别
|
|
|
} else {
|
|
|
sql += " AND d.charge_type ='" + chargeType + "'";
|