|
@@ -166,7 +166,6 @@ public interface UpIdCollectionDao {
|
|
|
@Param("times") Integer times,
|
|
|
@Param("tableName") String tableName);
|
|
|
|
|
|
-
|
|
|
@Select("select insuplc_admdvs,insutype,med_type from t_si_pat_info " +
|
|
|
"where pat_no = #{patNo} and times = #{times} and ledger_sn = #{ledgerSn}")
|
|
|
SiPatInfo huoQuZhiFuFangShi(@Param("patNo") String patNo,
|
|
@@ -306,6 +305,9 @@ public interface UpIdCollectionDao {
|
|
|
"<if test=\"auditFlag != 4 \">" +
|
|
|
" and c.audit_flag = #{auditFlag} " +
|
|
|
"</if>" +
|
|
|
+ "<if test=\"hiPaymtd != null \">" +
|
|
|
+ " and a.hi_paymtd = #{hiPaymtd} " +
|
|
|
+ "</if>" +
|
|
|
"<if test=\"referPhysician != null and referPhysician != '' \">" +
|
|
|
" and b.refer_physician = #{referPhysician} " +
|
|
|
"</if>" +
|
|
@@ -324,6 +326,7 @@ public interface UpIdCollectionDao {
|
|
|
@Param("flag") Integer flag,
|
|
|
@Param("referPhysician") String referPhysician,
|
|
|
@Param("auditFlag") Integer auditFlag,
|
|
|
+ @Param("hiPaymtd") Integer hiPaymtd,
|
|
|
@Param("currentPage") long currentPage,
|
|
|
@Param("pageSize") long pageSize);
|
|
|
|
|
@@ -390,6 +393,9 @@ public interface UpIdCollectionDao {
|
|
|
"<if test=\"referPhysician != null and referPhysician != '' \">" +
|
|
|
" and b.refer_physician = #{referPhysician} " +
|
|
|
"</if>" +
|
|
|
+ "<if test=\"hiPaymtd != null \">" +
|
|
|
+ " and a.hi_paymtd = #{hiPaymtd} " +
|
|
|
+ "</if>" +
|
|
|
"</script>")
|
|
|
long huoQuJieSuanRenYuanTotal(@Param("startTime") String startTime,
|
|
|
@Param("endTime") String endTime,
|
|
@@ -403,7 +409,8 @@ public interface UpIdCollectionDao {
|
|
|
@Param("decTypes") List<Integer> decTypes,
|
|
|
@Param("flag") Integer flag,
|
|
|
@Param("referPhysician") String referPhysician,
|
|
|
- @Param("auditFlag") Integer auditFlag);
|
|
|
+ @Param("auditFlag") Integer auditFlag,
|
|
|
+ @Param("hiPaymtd") Integer hiPaymtd);
|
|
|
|
|
|
|
|
|
@Select("select opName = (select top(1) rtrim(name) from a_employee_mi where code = op_id_code)," +
|
|
@@ -421,10 +428,12 @@ public interface UpIdCollectionDao {
|
|
|
" sszsName2 = (select top(1) rtrim(name) from a_employee_mi where code = sszs2), " +
|
|
|
" mzys_name = (select top(1) rtrim(name) from a_employee_mi where code = mzys)," +
|
|
|
" bah, zyh, zycs, ssxh, ssrq, sstj, " +
|
|
|
- " ssys = (select top(1) yb_code from a_employee_mi where code = ssys)" +
|
|
|
- ", sszs1, sszs2, mzys = (select top(1) yb_code from a_employee_mi where code = mzys), ssbm, ssmc, rtrim(mzff) mzff, rtrim(qkjb) qkjb," +
|
|
|
- "rtrim(yhqk) yhqk, ssbfz, fhqk, ssjb, cut_heal" +
|
|
|
- " from ${tableName} where zyh = #{patNo} and zycs = #{times} and isnull(ssbm,'-') <> '-'")
|
|
|
+ " ssys , sszs1, sszs2, mzys ," +
|
|
|
+ " ssbm, ssmc, rtrim(mzff) mzff, rtrim(qkjb) qkjb," +
|
|
|
+ "rtrim(yhqk) yhqk, ssbfz, fhqk, ssjb, cut_heal," +
|
|
|
+ "(select top(1) yb_code from a_employee_mi where code = ssys) as oper_dr_code, " +
|
|
|
+ "(select top(1) yb_code from a_employee_mi where code = mzys) as anst_dr_code " +
|
|
|
+ "from ${tableName} where zyh = #{patNo} and zycs = #{times} and isnull(ssbm,'-') <> '-'")
|
|
|
List<BatjBa4> shouShuXinXi(@Param("patNo") String patNo,
|
|
|
@Param("times") Integer times,
|
|
|
@Param("tableName") String tableName);
|
|
@@ -618,4 +627,9 @@ public interface UpIdCollectionDao {
|
|
|
"where job_nurse = b.code and zyh = #{patNo} and zycs = #{times} ")
|
|
|
GetDropdownBox zeRenHuShi(@Param("patNo") String patNo,
|
|
|
@Param("times") Integer times);
|
|
|
+
|
|
|
+
|
|
|
+ @Select("select pat_no,times,ledger_sn from t_si_setlinfo")
|
|
|
+ List<Map<String, Object>> huoQuQuanBuJieSuanRenYuan();
|
|
|
+
|
|
|
}
|