|
@@ -177,6 +177,7 @@ public class OthspendingsServiceImpl extends CommonBaseServiceImpl<OthspendingsM
|
|
|
bankinformation.setBk_thisamount(beginamount + incomme - spending - bk_amount);
|
|
bankinformation.setBk_thisamount(beginamount + incomme - spending - bk_amount);
|
|
|
bankinformation.setBk_income(incomme);
|
|
bankinformation.setBk_income(incomme);
|
|
|
bankinformation.setBk_spending(spending + bk_amount);
|
|
bankinformation.setBk_spending(spending + bk_amount);
|
|
|
|
|
+ bankinformationMapper.updateByPrimaryKeySelective(bankinformation);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* ve_preamount=nvl(ve_preamount,0)+pb_preamount,
|
|
* ve_preamount=nvl(ve_preamount,0)+pb_preamount,
|
|
@@ -262,9 +263,10 @@ public class OthspendingsServiceImpl extends CommonBaseServiceImpl<OthspendingsM
|
|
|
Double beginamount = bankinformation.getBk_beginamount();
|
|
Double beginamount = bankinformation.getBk_beginamount();
|
|
|
Double spending = bankinformation.getBk_spending() == null ? new Double(0) : bankinformation.getBk_spending();
|
|
Double spending = bankinformation.getBk_spending() == null ? new Double(0) : bankinformation.getBk_spending();
|
|
|
Double incomme = bankinformation.getBk_income() == null ? new Double(0) : bankinformation.getBk_income();
|
|
Double incomme = bankinformation.getBk_income() == null ? new Double(0) : bankinformation.getBk_income();
|
|
|
- bankinformation.setBk_thisamount(beginamount + incomme - spending - bk_amount);
|
|
|
|
|
|
|
+ bankinformation.setBk_thisamount(beginamount + incomme - spending + bk_amount);
|
|
|
bankinformation.setBk_income(incomme);
|
|
bankinformation.setBk_income(incomme);
|
|
|
- bankinformation.setBk_spending(spending + bk_amount);
|
|
|
|
|
|
|
+ bankinformation.setBk_spending(spending - bk_amount);
|
|
|
|
|
+ bankinformationMapper.updateByPrimaryKeySelective(bankinformation);
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* ve_preamount=nvl(ve_preamount,0)+pb_preamount,
|
|
* ve_preamount=nvl(ve_preamount,0)+pb_preamount,
|