瀏覽代碼

项目和耗材不使用new_name

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

+ 2 - 2
src/main/java/thyyxxk/webserver/dao/his/dictionary/NationalMatchDao.java

@@ -58,7 +58,7 @@ public interface NationalMatchDao {
                                                   @Param("delFlag") int delFlag,
                                                   @Param("status") int status);
 
-    @Select("select code,new_name as name,charge_unit as unit,type=#{type},discription,descriptions as specification," +
+    @Select("select code,rtrim(name) as name,charge_unit as unit,type=#{type},discription,descriptions as specification," +
 //            "startTime=(select start_time from t_si_dl_mdcn_sply where code=national_code)," +
 //            "endTime=(select end_time from t_si_dl_mdcn_sply where code=national_code)," +
             "national_code,uploaded_flag,national_name,yb_comment as factory from zd_charge_item " +
@@ -71,7 +71,7 @@ public interface NationalMatchDao {
                                                  @Param("delFlag") int delFlag,
                                                  @Param("status") int status);
 
-    @Select("select code,new_name as name,charge_unit as unit,type=#{type}, discription,specification,uploaded_flag," +
+    @Select("select code,rtrim(name) as name,charge_unit as unit,type=#{type}, discription,specification,uploaded_flag," +
             "national_code,national_name,s_code as standardCode, charge_amount as price, " +
 //            "startTime=(select start_date from t_si_dl_mdcn_srvc where code=a.national_code)," +
 //            "endTime=(select end_date from t_si_dl_mdcn_srvc where code=a.national_code)," +