Browse Source

删除没用的接口

xiaochan 2 years ago
parent
commit
7ed900778e

+ 0 - 6
src/main/java/thyyxxk/webserver/controller/zhuyuanyizheng/YizhuLuRuController.java

@@ -67,12 +67,6 @@ public class YizhuLuRuController {
         return server.confirmOrders(param);
     }
 
-    @GetMapping("/getParentOrders")
-    public ResultVo<List<XinZhenYzActOrder>> getParentOrders(@RequestParam("patNo") String patNo,
-                                                             @RequestParam("times") Integer times) {
-        return server.getParentOrders(patNo, times);
-    }
-
     @PostMapping("/huoQuYiZhuShuJu")
     public ResultVo<List<XinZhenYzActOrder>> huoQuYiZhuShuJu(@RequestBody @Validated YiZhuFeiYongChaXunTiaoJian param) {
         return server.huoQuYiZhuShuJu(param);

+ 0 - 24
src/main/java/thyyxxk/webserver/dao/his/zhuyuanyisheng/YiZhuLuRuDao.java

@@ -698,30 +698,6 @@ public interface YiZhuLuRuDao {
     List<YiZhuMingChen> composeOrders(String code, String deptCode);
 
 
-    @Select("SELECT                 act_order_no, " +
-            "                       order_name, " +
-            "                       order_time, " +
-            "                       start_time, " +
-            "                       rtrim(frequ_code)  frequ_code, " +
-            "    frequ_code_name  = (select rtrim(comm) from yz_order_frequency where frequ_code = code), " +
-            "                       rtrim(supply_code) supply_code, " +
-            "    supply_code_name = (select rtrim(supply_name) " +
-            "                        from yz_supply_type " +
-            "                        where yz_act_order.supply_code = yz_supply_type.supply_code)," +
-            "                       group_no, " +
-            "    group_no_name    = (select rtrim(group_name) " +
-            "                        from yp_zd_group_name " +
-            "                        where yp_zd_group_name.group_no = yz_act_order.group_no) " +
-            "FROM yz_act_order with (NOLOCK) " +
-            "WHERE inpatient_no = #{patNo} " +
-            "  AND admiss_times = #{times} " +
-            "  AND isnull(parent_no, 0) = 0 " +
-            "  and status_flag = '1'" +
-            "  and drug_flag <> 'd' " +
-            "  and serial <> '00' ")
-    List<XinZhenYzActOrder> getParentOrders(String patNo, Integer times);
-
-
     @Select("SELECT cast(rtrim(isnull(nullif(del_flag, " +
             "                                ''), " +
             "                         0)) as int) as del_flag, " +

+ 0 - 12
src/main/java/thyyxxk/webserver/service/zhuyuanyisheng/YiZhuLuRuServer.java

@@ -185,18 +185,6 @@ public class YiZhuLuRuServer {
         return ResultVoUtil.success(list);
     }
 
-    /**
-     * 获取父医嘱
-     *
-     * @param patNo 住院号
-     * @param times 次数
-     * @return 返回父医嘱
-     */
-    @Deprecated
-    public ResultVo<List<XinZhenYzActOrder>> getParentOrders(String patNo, Integer times) {
-        return ResultVoUtil.success(dao.getParentOrders(patNo, times));
-    }
-
     /**
      * 把有错误的子医嘱纠正回来,子医嘱要跟随父医嘱的频率 等
      *