|
@@ -372,11 +372,11 @@ public interface DismissDao {
|
|
|
@Param("times") int times,
|
|
|
@Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
- @Update("select sum(depo_amount) from zy_deposit_file where " +
|
|
|
+ @Select("select cast(sum(depo_amount) as varchar(16)) from zy_deposit_file where " +
|
|
|
"inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn}")
|
|
|
String selectDepositSumamt(@Param("patNo") String patNo,
|
|
|
- @Param("times") int times,
|
|
|
- @Param("ledgerSn") int ledgerSn);
|
|
|
+ @Param("times") int times,
|
|
|
+ @Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
@Update("update zy_ledger_file set deposit=#{deposit}, balance=#{balance}, responce_type=#{restype}, " +
|
|
|
"total_charge=#{map.total},charge1=#{map.001},charge2=#{map.002}, charge3=#{map.003},charge4=#{map.004}, " +
|