|
@@ -17,7 +17,6 @@ import thyyxxk.webserver.entity.zhuyuanyisheng.yizhuluru.*;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
|
|
|
/**
|
|
@@ -26,7 +25,7 @@ import java.util.Set;
|
|
|
* </p>
|
|
|
*
|
|
|
* @author xc
|
|
|
- * @date 2022-01-04 17:00
|
|
|
+ * @date 2022-01-04 17:00
|
|
|
*/
|
|
|
@Mapper
|
|
|
public interface YiZhuLuRuDao {
|
|
@@ -489,9 +488,6 @@ public interface YiZhuLuRuDao {
|
|
|
Integer times,
|
|
|
List<String> list);
|
|
|
|
|
|
- @Select("select count(1) from zy_actpatient where inpatient_no = #{patNo} and admiss_times = #{times}")
|
|
|
- int inTheHospital(String patNo, Integer times);
|
|
|
-
|
|
|
@Update("<script>" +
|
|
|
"update zy_detail_charge " +
|
|
|
"set ori_detail_sn = -1 " +
|
|
@@ -535,10 +531,10 @@ public interface YiZhuLuRuDao {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 获取医生下面的病区
|
|
|
+ *
|
|
|
*
|
|
|
* @param deptCode 科室编码
|
|
|
- * @return
|
|
|
+ * @return 获取医生下面的病区
|
|
|
*/
|
|
|
@Select("select dept " +
|
|
|
"from zd_dept_all with (NOLOCK) " +
|
|
@@ -547,10 +543,10 @@ public interface YiZhuLuRuDao {
|
|
|
List<String> getTheDoctorSDepartment(String deptCode);
|
|
|
|
|
|
/**
|
|
|
- * 获取已经确认收费的医嘱
|
|
|
+ *
|
|
|
*
|
|
|
* @param orderNo 医嘱号
|
|
|
- * @return
|
|
|
+ * @return 获取已经确认收费的医嘱
|
|
|
*/
|
|
|
@Select("select count(*) " +
|
|
|
"from yz_zy_patient_fee with (NOLOCK) " +
|
|
@@ -909,16 +905,6 @@ public interface YiZhuLuRuDao {
|
|
|
UserInfo selectedUserInfoByCode(String code);
|
|
|
|
|
|
|
|
|
- @Select("select day_800, day_830, day_900, " +
|
|
|
- " day_930, day_1000, day_1030, day_1100, day_1130, day_1200, day_1230, day_1300, day_1330, " +
|
|
|
- " day_1400, day_1430, day_1500, day_1530, day_1600, day_1630, day_1700, day_1730, " +
|
|
|
- " day_1800, day_1830, day_1900, day_1930, day_2000, day_2030, day_2100, day_2130, " +
|
|
|
- " day_2200, day_2230, day_2300, day_2330, day_2400, day_030, day_100, day_130, day_200, " +
|
|
|
- " day_230, day_300, day_330, day_400, day_430, day_500, day_530, day_600, day_630, " +
|
|
|
- " day_700, day_730 " +
|
|
|
- "from yz_order_frequency where code = #{code}")
|
|
|
- Map<String, Short> numberOfTimesADay(String code);
|
|
|
-
|
|
|
@Select("select rtrim(supply_code) code,rtrim(supply_name) name " +
|
|
|
"from yz_supply_type with (NOLOCK) " +
|
|
|
"where ps_flag in ('1', '0')")
|
|
@@ -1325,24 +1311,6 @@ public interface YiZhuLuRuDao {
|
|
|
YzOrderPattern yuanLaiDeMuBanBianMa(@Param("patternName") String patternName,
|
|
|
@Param("inputId") String inputId);
|
|
|
|
|
|
-
|
|
|
- @Select("select top 1 * " +
|
|
|
- "from yz_OrderPattern with (NOLOCK) " +
|
|
|
- "where pattern_code = #{patternCode} " +
|
|
|
- " and input_id = #{inputId}" +
|
|
|
- " and input_type <> 4 ")
|
|
|
- YzOrderPattern getDataAccordingToTemplateCode(@Param("patternCode") String patternCode,
|
|
|
- @Param("inputId") String input);
|
|
|
-
|
|
|
- @Select("select pattern_code," +
|
|
|
- " rtrim(input_type) input_type," +
|
|
|
- " input_id " +
|
|
|
- "from yz_OrderPattern with (NOLOCK) " +
|
|
|
- "where pattern_name = #{patternName} " +
|
|
|
- "and input_type not in ('3','4') ")
|
|
|
- YzOrderPattern gongGongMuBan(@Param("patternName") String patternName);
|
|
|
-
|
|
|
-
|
|
|
@Delete("<script>" +
|
|
|
"delete yz_OrderPattern " +
|
|
|
"where pattern_code = #{patternCode}; " +
|