|
@ -112,7 +112,7 @@ public class PatientPrescriptionController extends WeixinBaseController {
|
|
|
@RequestParam(value = "pagesize",required = true) Integer pagesize) {
|
|
|
//getUID()"a663d0cf7f8c4d38a8327cedc921e65f"
|
|
|
try {
|
|
|
JSONArray result = prescriptionDispensaryCodeService.findByStatusAndTime(timeType,"a663d0cf7f8c4d38a8327cedc921e65f",status,page,pagesize,1);
|
|
|
JSONArray result = prescriptionDispensaryCodeService.findByStatusAndTime(timeType,getUID(),status,page,pagesize,1);
|
|
|
return result.toString();
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|
|
@ -131,7 +131,7 @@ public class PatientPrescriptionController extends WeixinBaseController {
|
|
|
try {
|
|
|
JSONObject json = new JSONObject();
|
|
|
// String patientCode = getUID();
|
|
|
int count = prescriptionDispensaryCodeService.dispensaryCodeCount("a663d0cf7f8c4d38a8327cedc921e65f",1);
|
|
|
int count = prescriptionDispensaryCodeService.dispensaryCodeCount(getUID(),1);
|
|
|
if (count > 0) {
|
|
|
json.put("data", true);
|
|
|
return json.toString();
|