Browse Source

no message

xiaochan 1 năm trước cách đây
mục cha
commit
b8945df4b5

+ 1 - 1
src/main/java/thyyxxk/webserver/service/zhuyuanyisheng/CaoYaoYiZhuService.java

@@ -242,7 +242,7 @@ public class CaoYaoYiZhuService {
             if (feiYongXinXi.getYpLevel() > us.getDoctorLevel()) {
                 errorMessage.add("您没有开此药品的权限");
             }
-            if (!"028".equals(feiYongXinXi.getBillItemZy()) && YesOrNo.YES.getCode().equals(us.getDoctorZy())) {
+            if (!"028".equals(feiYongXinXi.getBillItemZy()) && !YesOrNo.YES.getCode().equals(us.getDoctorZy())) {
                 errorMessage.add("您没有开此药品的权限,请联系医务部。");
             }
             if (BigUtils.bigDaYu(item.getQuantity(), feiYongXinXi.getStockAmount())) {