xiaochan 2 роки тому
батько
коміт
bf2fa11e65

+ 6 - 0
src/main/java/thyyxxk/webserver/controller/jiekou/FluorescenceTestController.java

@@ -28,6 +28,12 @@ public class FluorescenceTestController {
         this.dao = dao;
     }
 
+    /**
+     * 荧光检验保存的接口
+     *
+     * @param js js
+     * @return 提示
+     */
     @PostMapping("/save")
     @PassToken
     public ResultVo<String> save(@RequestBody JSONObject js) {

+ 2 - 2
src/main/java/thyyxxk/webserver/service/hospitalizationCosts/HospitalizationCostsService.java

@@ -199,7 +199,7 @@ public class HospitalizationCostsService {
                             // 口服药无法退费 包装规格是 09,盒,15,瓶 的可以退费
                             if ("1".equals(order.getClassCode())) {
                                 if (order.getRefundableFees().equals(0)) {
-                                    sb.append("医嘱给药方式为口服药,口服无法退费,药剂科要求只有包装规格为,瓶、盒、听、支可以退费退药。");
+                                    sb.append("医嘱给药方式为口服药,口服无法退费,药剂科要求只有包装规格为,瓶、盒、听、支可以退费退药。");
                                 }
                             }
                             if ("d".equals(order.getDrugClass())) {
@@ -271,7 +271,7 @@ public class HospitalizationCostsService {
         } else if (param.getList().size() > 100) {
             throw new BizException(ExceptionEnum.LOGICAL_ERROR, "项目退费一次性大于100条数据");
         }
-        if (StringUtil.isBlank(param.getInpatientNo()) || param.getAdmissTimes() == null || param.getList().size() == 0) {
+        if (StringUtil.isBlank(param.getInpatientNo()) || param.getAdmissTimes() == null) {
             throw new BizException(ExceptionEnum.NULL_POINTER, "患者信息不全");
         }
         if (luRuDao.getHuanZheSFZaiYuan(param.getInpatientNo(), param.getAdmissTimes()) == 0) {

+ 5 - 1
src/main/java/thyyxxk/webserver/utils/CacheOnce.java

@@ -6,12 +6,16 @@ import java.util.function.Function;
 
 
 /**
- * @author Administrator
+ * @author xc
  */
 public class CacheOnce<V> {
     private final Map<String, V> map = new HashMap<>();
     private final Set<String> notQueried = new HashSet<>();
 
+    public CacheOnce() {
+
+    }
+
     public V get(String name) {
         if (map.containsKey(name)) {
             return map.get(name);