Selaa lähdekoodia

添加医生端的判断是否有取药码接口

liuwenbin 8 vuotta sitten
vanhempi
commit
8823575865

+ 2 - 2
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/prescription/PatientPrescriptionController.java

@ -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();