|
|
@@ -20,10 +20,7 @@ import com.jzg.commons.entity.po.SysUserJzgInfoBankCard;
|
|
|
import com.jzg.commons.entity.vo.AmountAuditVo;
|
|
|
import com.jzg.commons.entity.vo.IncomeAndExpenseList;
|
|
|
import com.jzg.commons.exception.SystemException;
|
|
|
-import com.jzg.commons.util.AssertionUtils;
|
|
|
-import com.jzg.commons.util.BigDecimalUtil;
|
|
|
-import com.jzg.commons.util.DateTimeUtils;
|
|
|
-import com.jzg.commons.util.StringUtils;
|
|
|
+import com.jzg.commons.util.*;
|
|
|
import com.jzg.organization.mapper.SysAmountAuditingMapper;
|
|
|
import com.jzg.organization.service.*;
|
|
|
import com.jzg.organization.state.AuditState;
|
|
|
@@ -530,6 +527,12 @@ public class SysAmountAuditingServiceImpl extends ServiceImpl<SysAmountAuditingM
|
|
|
public List<IncomeAndExpenseList> getIncomeAndExpense(IncomeAndExpenseParam param) {
|
|
|
log.info("查询收支明细queryIncomeANdExpense:param=[{}]", JSONUtil.toJsonStr(param));
|
|
|
List<IncomeAndExpenseList> incomeAndExpenseLists = baseMapper.getIncomeAndExpense(param);
|
|
|
+ incomeAndExpenseLists = incomeAndExpenseLists.stream().peek(action->{
|
|
|
+ if(StrUtil.isNotEmpty(action.getPaymentVoucher())){
|
|
|
+ var res = MinioUtils.getPresignedObjectUrl("jzg", action.getPaymentVoucher());
|
|
|
+ action.setPaymentVoucher(res);
|
|
|
+ }
|
|
|
+ }).toList();
|
|
|
log.info("查询收支明细queryIncomeANdExpense:param=[{}],incomeAndExpenseLists.size()=[{}]",JSONUtil.toJsonStr(param), CollUtil.size(incomeAndExpenseLists));
|
|
|
return incomeAndExpenseLists;
|
|
|
}
|