Commit 2abe53bc by yinyong

数据中心--资产负债表借支已还金额判断

parent d4639131
...@@ -140,7 +140,7 @@ public interface DcBalanceSheetMapper { ...@@ -140,7 +140,7 @@ public interface DcBalanceSheetMapper {
@Select({"select finished_accounts_payable from dc_balance_sheet where statistical_time = #{date}"}) @Select({"select finished_accounts_payable from dc_balance_sheet where statistical_time = #{date}"})
BigDecimal getLogisticsAccountsPayableSum(@Param("date") Date date); BigDecimal getLogisticsAccountsPayableSum(@Param("date") Date date);
@Select("select sum((amount - had_pay + ifnull(compensate, 0)) * to_rmb_rate) from dc_daily_fee where recoed_time = #{lastDay}") @Select("select sum((amount - ifnull(had_pay, 0) + ifnull(compensate, 0)) * to_rmb_rate) from dc_daily_fee where recoed_time = #{lastDay}")
BigDecimal getAmountBorrowed(@Param("lastDay") Date lastDay); BigDecimal getAmountBorrowed(@Param("lastDay") Date lastDay);
int updateByPrimaryKeySelective(DcBalanceSheet record); int updateByPrimaryKeySelective(DcBalanceSheet record);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment