|
@@ -3,7 +3,6 @@ package thyyxxk.webserver.dao.his.casefrontsheet;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
-import org.apache.ibatis.annotations.Update;
|
|
|
import thyyxxk.webserver.entity.casefrontsheet.StatisticsBySeason;
|
|
|
import thyyxxk.webserver.entity.dictionary.PureCodeName;
|
|
|
|
|
@@ -50,6 +49,13 @@ public interface SheetSearchDao {
|
|
|
@Select("select rtrim(code) code, rtrim(name) name from zd_cm3_new with(nolock)")
|
|
|
List<PureCodeName> getAllItem();
|
|
|
|
|
|
+ @Select("select top 1 disefamily_code from t_si_disefamily_diagnose with(nolock) where dise_code=#{code} or disefamily_code=#{code}")
|
|
|
+ String selectDisefamilyCode(@Param("code") String code);
|
|
|
+
|
|
|
+ @Select("select oprn_code as code, oprn_name as name, oprn_grade as ssfz from " +
|
|
|
+ "t_si_operation_disefamily with(nolock) where disefamily_code=#{code} order by oprn_grade desc")
|
|
|
+ List<PureCodeName> selectOperationDisefamilies(@Param("code") String code);
|
|
|
+
|
|
|
@Select("select " +
|
|
|
"rtrim(a.inpatient_no) as AKC190,AKB020='H43010500370',USERNAME='长沙泰和医院',ZFY=a.total_charge, " +
|
|
|
"a.admiss_times as ZYCS,rtrim(a.inpatient_no) as BAH,rtrim(a.name) as XM,a.sex AS XB, " +
|