|
@@ -117,7 +117,6 @@ public interface PublicDao {
|
|
|
@Param("admissTimes") Integer admissTimes,
|
|
|
@Param("ledgerSn") Integer ledgerSn);
|
|
|
|
|
|
-
|
|
|
@Select("select ori_detail_sn from zy_detail_charge where inpatient_no = #{inpatientNo} and admiss_times = #{admissTimes} and ledger_sn = #{ledgerSn} " +
|
|
|
"and ori_detail_sn is not null " +
|
|
|
"and charge_amount < 0")
|
|
@@ -132,19 +131,19 @@ public interface PublicDao {
|
|
|
"#{item}" +
|
|
|
"</foreach>" +
|
|
|
"</script>")
|
|
|
- void genXingFuLiuShui(@Param("inpatientNo") String inpatientNo,
|
|
|
- @Param("admissTimes") Integer admissTimes,
|
|
|
- @Param("ledgerSn") Integer ledgerSn,
|
|
|
- @Param("list") List<Integer> detailSnList);
|
|
|
+ void genXingFuShuDuiYingZhenLiuShui(@Param("inpatientNo") String inpatientNo,
|
|
|
+ @Param("admissTimes") Integer admissTimes,
|
|
|
+ @Param("ledgerSn") Integer ledgerSn,
|
|
|
+ @Param("list") List<Integer> detailSnList);
|
|
|
|
|
|
@Select("select ori_detail_sn,sum(charge_fee) charge_fee,sum(charge_amount) charge_amount " +
|
|
|
"from zy_detail_charge a " +
|
|
|
"where inpatient_no=#{inpatientNo} and admiss_times = #{admissTimes} and ledger_sn = #{ledgerSn} and order_no <> 6 and trans_flag_yb <> 2 " +
|
|
|
" and ori_detail_sn is not null and charge_amount<0 " +
|
|
|
"group by ori_detail_sn having count(1) > 1")
|
|
|
- List<ZyDetailCharge> chongFuLiuShui(@Param("inpatientNo") String inpatientNo,
|
|
|
- @Param("admissTimes") Integer admissTimes,
|
|
|
- @Param("ledgerSn") Integer ledgerSn);
|
|
|
+ List<ZyDetailCharge> chongFuTuiFeiLiuShui(@Param("inpatientNo") String inpatientNo,
|
|
|
+ @Param("admissTimes") Integer admissTimes,
|
|
|
+ @Param("ledgerSn") Integer ledgerSn);
|
|
|
|
|
|
|
|
|
@Select("<script>" +
|
|
@@ -200,9 +199,9 @@ public interface PublicDao {
|
|
|
@Param("detailSn") List<Integer> detailSn);
|
|
|
|
|
|
@Select("select top(1) code,dept_code,name,code_rs from a_employee_mi where (code = #{code} or code_rs = #{code}) and isnull(del_flag,0) = 0 ")
|
|
|
- UserInfo huoQuYuanGongXinXi(String code);
|
|
|
+ UserInfo huoQuYuanGongBianMa(String code);
|
|
|
|
|
|
@Select("SELECT small_dept FROM zd_dept_all where dept = #{deptCode}")
|
|
|
- List<String> huoQuBingFanhKeShi(String deptCode);
|
|
|
+ List<String> bingFangSuoSuKeShi(String deptCode);
|
|
|
|
|
|
}
|