发票打印修改;
This commit is contained in:
+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 {
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user