|
@@ -261,7 +261,7 @@ public interface UpIdCollectionDao extends BaseMapper<SetlinfoUpld> {
|
|
|
"where zyh = #{patNo} and zycs = #{times} " + "order by ssxh")
|
|
|
List<OprninfoUpld> oprninfoUplds(@Param("patNo") String patNo, @Param("times") Integer times, @Param("tableName") String tableName);
|
|
|
|
|
|
- @Select("select case when isnull(dzfp_receipt_no,'') !='' then dzfp_receipt_no else rtrim(receipt_no) end receipt_no from zy_receipt where inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn} and receipt_no<>'00000000'" + "and receipt_sn = 1")
|
|
|
+ @Select("select case when isnull(dzfp_receipt_no,'') !='' then dzfp_receipt_no else rtrim(receipt_no) end receipt_no from zy_receipt where inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn} and receipt_sn = 1")
|
|
|
String billNo(@Param("patNo") String patNo, @Param("times") Integer times, @Param("ledgerSn") Integer ledgerSn);
|
|
|
|
|
|
@Select("select top 1 receipt_bill " +
|