|
@@ -1163,6 +1163,10 @@ public class PrescriptionServices {
|
|
|
}
|
|
|
|
|
|
int hospitalId = authService.getCurrentHospitalId();
|
|
|
+ if(hospitalId > 0){
|
|
|
+ whereSql += " and ( hospital_id = ?)";
|
|
|
+ paramList.add(hospitalId);
|
|
|
+ }
|
|
|
|
|
|
String pharmacyId = request.getPharmacyId();
|
|
|
if (!Checker.isNull(pharmacyId)) {
|