|
@@ -18,11 +18,13 @@ import com.fjhx.account.entity.account.po.AccountRunningWater;
|
|
|
import com.fjhx.account.entity.account.vo.AccountRunningWaterVo;
|
|
|
import com.fjhx.account.entity.tax.po.TaxRefundDetails;
|
|
|
import com.fjhx.account.entity.transaction.po.Transaction;
|
|
|
+import com.fjhx.account.entity.transaction.po.TransactionDepartment;
|
|
|
import com.fjhx.account.mapper.account.AccountRunningWaterMapper;
|
|
|
import com.fjhx.account.service.account.AccountManagementService;
|
|
|
import com.fjhx.account.service.account.AccountRemainderService;
|
|
|
import com.fjhx.account.service.account.AccountRunningWaterService;
|
|
|
import com.fjhx.account.service.tax.TaxRefundDetailsService;
|
|
|
+import com.fjhx.account.service.transaction.TransactionDepartmentService;
|
|
|
import com.fjhx.account.service.transaction.TransactionService;
|
|
|
import com.fjhx.common.constant.SourceConstant;
|
|
|
import com.fjhx.common.entity.corporation.po.Corporation;
|
|
@@ -75,6 +77,8 @@ public class AccountRunningWaterServiceImpl extends ServiceImpl<AccountRunningWa
|
|
|
private TaxRefundDetailsService taxRefundDetailsService;
|
|
|
@Autowired
|
|
|
private TransactionService transactionService;
|
|
|
+ @Autowired
|
|
|
+ private TransactionDepartmentService transactionDepartmentService;
|
|
|
|
|
|
@Override
|
|
|
public Page<AccountRunningWaterVo> getPage(AccountRunningWaterSelectDto dto) {
|
|
@@ -183,6 +187,11 @@ public class AccountRunningWaterServiceImpl extends ServiceImpl<AccountRunningWa
|
|
|
if (ObjectUtil.isNotEmpty(corporation)) {
|
|
|
result.setCorporationName(corporation.getName());
|
|
|
}
|
|
|
+ //赋值往来单位名称
|
|
|
+ TransactionDepartment transactionDepartment = transactionDepartmentService.getById(result.getTransactionDeptId());
|
|
|
+ if (ObjectUtil.isNotEmpty(transactionDepartment)) {
|
|
|
+ result.setTransactionDeptName(transactionDepartment.getName());
|
|
|
+ }
|
|
|
return result;
|
|
|
}
|
|
|
|