瀏覽代碼

医保字典取值按版本号倒序排序

lighter 2 年之前
父節點
當前提交
4e8235081b
共有 1 個文件被更改,包括 11 次插入11 次删除
  1. 11 11
      src/main/java/thyyxxk/webserver/dao/his/medicalinsurance/SiDownloadDao.java

+ 11 - 11
src/main/java/thyyxxk/webserver/dao/his/medicalinsurance/SiDownloadDao.java

@@ -31,7 +31,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertChnsHblBatch(List<SiDlChnsHbl> list);
 
-    @Select("select * from t_si_dl_chns_hbl with(nolock)")
+    @Select("select * from t_si_dl_chns_hbl with(nolock) order by version_name desc")
     IPage<SiDlChnsHbl> selectSiDlChnsHblPage(IPage<SiDlChnsHbl> iPage);
 
     @Update("truncate table t_si_dl_dss_dns")
@@ -125,7 +125,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertInstPrptnBatch(List<SiDlInstPrptn> list);
 
-    @Select("select * from t_si_dl_inst_prptn with(nolock)")
+    @Select("select * from t_si_dl_inst_prptn with(nolock) order by version_name desc")
     IPage<SiDlInstPrptn> selectSiDlInstPrptnPage(IPage<SiDlInstPrptn> iPage);
 
     @Update("truncate table t_si_dl_mdcn_sply")
@@ -170,7 +170,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertMdcnSplyBatch(List<SiDlMdcnSply> list);
 
-    @Select("select * from t_si_dl_mdcn_sply with(nolock)")
+    @Select("select * from t_si_dl_mdcn_sply with(nolock) order by version_name desc")
     IPage<SiDlMdcnSply> selectSiDlMdcnSplyPage(IPage<SiDlMdcnSply> iPage);
 
     @Update("truncate table t_si_dl_mdcn_srvc")
@@ -189,7 +189,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertMdcnSrvcBatch(List<SiDlMdcnSrvc> list);
 
-    @Select("select * from t_si_dl_mdcn_srvc with(nolock)")
+    @Select("select * from t_si_dl_mdcn_srvc with(nolock) order by version_name desc")
     IPage<SiDlMdcnSrvc> selectSiDlMdcnSrvcPage(IPage<SiDlMdcnSrvc> iPage);
 
     @Update("truncate table t_si_dl_oprtn")
@@ -211,7 +211,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertOprtnBatch(List<SiDlOprtn> list);
 
-    @Select("select * from t_si_dl_oprtn with(nolock)")
+    @Select("select * from t_si_dl_oprtn with(nolock) order by version_name desc")
     IPage<SiDlOprtn> selectSiDlOprtnPage(IPage<SiDlOprtn> iPage);
 
     @Update("truncate table t_si_dl_pay_by_dss")
@@ -231,7 +231,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertPayByDssBatch(List<SiDlPayByDss> list);
 
-    @Select("select * from t_si_dl_pay_by_dss with(nolock)")
+    @Select("select * from t_si_dl_pay_by_dss with(nolock) order by version_name desc")
     IPage<SiDlPayByDss> selectSiDlPayByDssPage(IPage<SiDlPayByDss> iPage);
 
     @Update("truncate table t_si_dl_ptnt_wstn_mdcn")
@@ -283,7 +283,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertPtntWstnMdcnBatch(List<SiDlPtntWstnMdcn> list);
 
-    @Select("select * from t_si_dl_ptnt_wstn_mdcn with(nolock)")
+    @Select("select * from t_si_dl_ptnt_wstn_mdcn with(nolock) order by version_name desc")
     IPage<SiDlPtntWstnMdcn> selectSiDlPtntWstnMdcnPage(IPage<SiDlPtntWstnMdcn> iPage);
 
     @Update("truncate table t_si_dl_slw_spc_chr")
@@ -303,7 +303,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertSlwSpcChrBatch(List<SiDlSlwSpcChr> list);
 
-    @Select("select * from t_si_dl_slw_spc_chr with(nolock)")
+    @Select("select * from t_si_dl_slw_spc_chr with(nolock) order by version_name desc")
     IPage<SiDlSlwSpcChr> selectSiDlSlwSpcChrPage(IPage<SiDlSlwSpcChr> iPage);
 
     @Update("truncate table t_si_dl_tcm_syndr")
@@ -322,7 +322,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertTcmSyndrBatch(List<SiDlTcmSyndr> list);
 
-    @Select("select * from t_si_dl_tcm_syndr with(nolock)")
+    @Select("select * from t_si_dl_tcm_syndr with(nolock) order by version_name desc")
     IPage<SiDlTcmSyndr> selectSiDlTcmSyndrPage(IPage<SiDlTcmSyndr> iPage);
 
     @Update("truncate table t_si_dl_tmr_mrphlgy")
@@ -341,7 +341,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertTmrMrphlgyBatch(List<SiDlTmrMrphlgy> list);
 
-    @Select("select * from t_si_dl_tmr_mrphlgy with(nolock)")
+    @Select("select * from t_si_dl_tmr_mrphlgy with(nolock) order by version_name desc")
     IPage<SiDlTmrMrphlgy> selectSiDlTmrMrphlgyPage(IPage<SiDlTmrMrphlgy> iPage);
 
     @Update("truncate table t_si_dl_trdtnl_chns_dss")
@@ -378,7 +378,7 @@ public interface SiDownloadDao {
             "</script>")
     void insertSelfPayCatalogue(List<SelfPayFirstCatalogue> list);
 
-    @Select("select * from t_si_dl_trdtnl_chns_dss with(nolock)")
+    @Select("select * from t_si_dl_trdtnl_chns_dss with(nolock) order by version_name desc")
     IPage<SiDlTrdtnlChnsDss> selectSiDlTrdtnlChnsDssPage(IPage<SiDlTrdtnlChnsDss> iPage);
 
     @Select("select distinct national_code as code from ${table} " +