Browse Source

删除没用的方法

lighter 2 years ago
parent
commit
38a046b977

+ 0 - 40
src/main/java/thyyxxk/webserver/dao/his/casefrontsheet/CaseFrontSheetDao.java

@@ -530,46 +530,6 @@ public interface CaseFrontSheetDao extends BaseMapper<CaseFrontsheetMain> {
             "values (#{bah},#{times},#{no},13,#{code},#{name},#{operId},#{opDate},'普通',#{cyzg},#{siDiagType},#{admissCond})    ")
     void insertNewYbDiag(YiBaoDisdiag diag);
 
-    @Update("update zy_actpatient set lend_flag=1 where inpatient_no=#{bah} " +
-            "and admiss_times=#{times}")
-    void lendZyOut(@Param("bah") String bah, @Param("times") int times);
-
-    @Update("update zy_inactpatient set lend_flag=1 where inpatient_no=#{bah} " +
-            "and admiss_times=#{times}")
-    void lendZyInOut(@Param("bah") String bah, @Param("times") int times);
-
-    @Insert("insert into ba_op_log (op_type, op_id, op_time, inpatient_no, " +
-            "admiss_times, borrow_id, borrow_date) values (5, #{staffId}, getDate(), #{bah}, " +
-            "#{admissTimes}, #{borrowId}, #{borrowDate})")
-    void writeLendOutLog(@Param("staffId") String staffId,
-                         @Param("bah") String bah,
-                         @Param("admissTimes") int admissTimes,
-                         @Param("borrowId") String borrowId,
-                         @Param("borrowDate") Date borrowDate);
-
-    @Update("update zy_actpatient set lend_flag=2 where inpatient_no=#{bah} " +
-            "and admiss_times=#{times}")
-    void lendZyBack(@Param("bah") String bah, @Param("times") int times);
-
-    @Update("update zy_inactpatient set lend_flag=2 where inpatient_no=#{bah} " +
-            "and admiss_times=#{times}")
-    void lendZyInBack(@Param("bah") String bah, @Param("times") int times);
-
-    @Insert("insert into ba_op_log (op_type, op_id, op_time, inpatient_no, " +
-            "admiss_times, borrow_id, borrow_date) values (6, #{staffId}, getDate(), #{bah}, " +
-            "#{admissTimes}, #{borrowId}, #{borrowDate})")
-    void writeLendBackLog(@Param("staffId") String staffId,
-                          @Param("bah") String bah,
-                          @Param("admissTimes") int admissTimes,
-                          @Param("borrowId") String borrowId,
-                          @Param("borrowDate") Date borrowDate);
-
-    @Select("select top 1 borrow_id, " +
-            "borrow_name=(select rtrim(name) from a_employee_mi with(nolock) where code=borrow_id), " +
-            "borrow_date from ba_op_log with(nolock) where op_type=5 and inpatient_no=#{bah} and admiss_times=#{times} " +
-            "order by borrow_date desc")
-    BorrowBase getBorrowInfo(@Param("bah") String bah, @Param("times") int times);
-
     @Select("select count(1) from zy_inactpatient a with(nolock), batj_ba2 b with(nolock) " +
             "where (dis_dept=#{ward} or dis_ward=#{ward}) and " +
             "b.bah=a.inpatient_no and " +