|
|
@@ -41,7 +41,7 @@ public interface JieShouHuiZhenDao {
|
|
|
@Select("SELECT order_code FROM zd_emp_title where code = #{code} ")
|
|
|
String getOrderCodeByEmpTit(String code);
|
|
|
|
|
|
- @Select("select rtrim(a.inpatient_no) inpatient_no , " +
|
|
|
+ @Select("select rtrim(a.inpatient_no) inpatient_no ,a.admiss_times, " +
|
|
|
" b.admiss_date, " +
|
|
|
" rtrim(name) name, " +
|
|
|
" bed_no, " +
|
|
|
@@ -108,4 +108,12 @@ public interface JieShouHuiZhenDao {
|
|
|
" #{deptCode}, #{deptCode},\n" +
|
|
|
" 1, #{execUnit})")
|
|
|
void insertYzZyPatientFee(YzZyPatientFee fee);
|
|
|
+
|
|
|
+
|
|
|
+ @Select("select count(1)\n" +
|
|
|
+ "from zy_detail_charge\n" +
|
|
|
+ "where inpatient_no = #{patNO}\n" +
|
|
|
+ " and admiss_times = #{times}\n" +
|
|
|
+ " and order_no = #{order} ")
|
|
|
+ int orderFeeCount(String patNO, Integer times, BigDecimal order);
|
|
|
}
|