|
|
@@ -159,7 +159,7 @@ public class OthspendingsServiceImpl extends CommonBaseServiceImpl<OthspendingsM
|
|
|
DocBaseDTO docBaseDTO = this.insert(othsp);
|
|
|
Long id = docBaseDTO.getId();
|
|
|
|
|
|
- Double amount = banksubledgerMapper.selectThisamount(othspendings.getOs_bankcode());
|
|
|
+ Double amount = banksubledgerMapper.selectThisamount(othspendings.getOs_bankcode(), companyId);
|
|
|
//取从表金额
|
|
|
List<Othspendingsdetail> othspendingsdetailList = othsp.getItems();
|
|
|
Iterator isList = othspendingsdetailList.iterator();
|
|
|
@@ -253,7 +253,7 @@ public class OthspendingsServiceImpl extends CommonBaseServiceImpl<OthspendingsM
|
|
|
banksubledgerMapper.deleteByPrimaryKey(othspendings.getOs_code(), "其他支出单",BaseContextHolder.getCompanyId());
|
|
|
|
|
|
//资金
|
|
|
- Double amount = banksubledgerMapper.selectThisamount(othspendings.getOs_bankcode());
|
|
|
+ Double amount = banksubledgerMapper.selectThisamount(othspendings.getOs_bankcode(), BaseContextHolder.getCompanyId());
|
|
|
//取从表金额
|
|
|
List<Othspendingsdetail> othspendingsdetailList = othspendingsdetailMapper.selectByPrimaryKey(id);
|
|
|
Iterator isList = othspendingsdetailList.iterator();
|