发票打印修改;
This commit is contained in:
+5
-1
@@ -591,6 +591,10 @@ public class BusinessDocumentApplicationService {
|
||||
return businessDocumentDomainService.queryList(businessDocumentDO);
|
||||
}
|
||||
|
||||
public List<Map<String,Object>> getFeeList(String invoiceId) {
|
||||
return businessDocumentDomainService.getFeeList(invoiceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改业务单据支付状态,同步网货修改支付状态
|
||||
*/
|
||||
@@ -1659,4 +1663,4 @@ public class BusinessDocumentApplicationService {
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -10,6 +10,7 @@ import com.linke.finance.domain.businessDocumentDetali.repository.po.BusinessDoc
|
||||
import com.linke.finance.domain.reconciliation.repository.po.ReconciliationPO;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 业务单据Service接口
|
||||
@@ -24,6 +25,8 @@ public interface IBusinessDocumentService extends IService<BusinessDocument>
|
||||
*/
|
||||
public List<BusinessDocumentPO> queryList(BusinessDocumentDO businessDocumentDO);
|
||||
|
||||
public List<Map<String,Object>> getFeeList(String invoiceId);
|
||||
|
||||
/**
|
||||
* 新增业务单据
|
||||
*/
|
||||
@@ -60,4 +63,4 @@ public interface IBusinessDocumentService extends IService<BusinessDocument>
|
||||
List<BusinessDocumentDetaliPO> querySettlementList(BusinessDocumentDO businessDocumentDO);
|
||||
|
||||
BusinessDocument getByWaybillNo(String waybillNo);
|
||||
}
|
||||
}
|
||||
+5
-1
@@ -1,6 +1,8 @@
|
||||
package com.linke.finance.domain.businessDocument.repository.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.linke.finance.domain.businessDocument.entity.BusinessDocument;
|
||||
import com.linke.finance.domain.businessDocument.repository.po.AccountsReceivableAppPO;
|
||||
@@ -24,6 +26,8 @@ public interface BusinessDocumentMapper extends BaseMapper<BusinessDocument>
|
||||
*/
|
||||
public List<BusinessDocumentPO> queryList(BusinessDocumentDO businessDocumentDO);
|
||||
|
||||
List<Map<String,Object>> getFeeList(@Param("invoiceId")String invoiceId);
|
||||
|
||||
/**
|
||||
* 查询申请开票业务单据列表
|
||||
*/
|
||||
@@ -38,4 +42,4 @@ public interface BusinessDocumentMapper extends BaseMapper<BusinessDocument>
|
||||
List<BusinessDocumentPO> queryListByReconciliation(BusinessDocumentDO businessDocumentDO);
|
||||
|
||||
List<BusinessDocumentDetaliPO> querySettlementList(@Param("businessDocumentDO") BusinessDocumentDO businessDocumentDO);
|
||||
}
|
||||
}
|
||||
+8
-1
@@ -17,6 +17,7 @@ import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 业务单据Service业务层处理
|
||||
@@ -39,6 +40,12 @@ public class BusinessDocumentImpl extends ServiceImpl<BusinessDocumentMapper, Bu
|
||||
return businessDocumentMapper.queryList(businessDocumentDO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Map<String,Object>> getFeeList(String invoiceId)
|
||||
{
|
||||
return businessDocumentMapper.getFeeList(invoiceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增业务单据
|
||||
*/
|
||||
@@ -130,4 +137,4 @@ public class BusinessDocumentImpl extends ServiceImpl<BusinessDocumentMapper, Bu
|
||||
|
||||
return businessDocument;
|
||||
}
|
||||
}
|
||||
}
|
||||
+6
-5
@@ -21,10 +21,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* 业务单据
|
||||
@@ -50,6 +47,10 @@ public class BusinessDocumentDomainService {
|
||||
return businessDocumentService.queryList(businessDocumentDO);
|
||||
}
|
||||
|
||||
public List<Map<String,Object>> getFeeList(String invoiceId) {
|
||||
return businessDocumentService.getFeeList(invoiceId);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 新增业务单据
|
||||
@@ -202,4 +203,4 @@ public class BusinessDocumentDomainService {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
+14
-1
@@ -2,6 +2,7 @@ package com.linke.finance.interfaces.facade.reconciliation;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.linke.finance.application.server.businessDocument.BusinessDocumentApplicationService;
|
||||
import com.linke.finance.application.server.reconciliation.ReconciliationApplicationService;
|
||||
@@ -11,6 +12,7 @@ import com.linke.finance.domain.reconciliation.entity.Reconciliation;
|
||||
import com.linke.finance.domain.reconciliation.repository.po.FinacialReconciliationListVO;
|
||||
import com.linke.finance.interfaces.assembler.businessDocument.BusinessDocumentAssembler;
|
||||
import com.mhd.common.core.domain.dto.BusinessDocumentDTO;
|
||||
import com.mhd.common.core.domain.entity.R;
|
||||
import com.mhd.common.log.annotation.Log;
|
||||
import com.mhd.common.log.enums.BusinessType;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
@@ -193,6 +195,17 @@ public class ReconciliationApi extends BaseController{
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 对账单详情
|
||||
*/
|
||||
@GetMapping("/getFeeListByInvoiceId")
|
||||
public R<List<Map<String,Object>>> getFeeList(@RequestParam String invoiceId)
|
||||
{
|
||||
List<Map<String,Object>> list = businessDocumentApplicationService.getFeeList(invoiceId);
|
||||
return R.ok(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成对账单(调账对账)
|
||||
*/
|
||||
@@ -297,4 +310,4 @@ public class ReconciliationApi extends BaseController{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user