ariesy 主表增加税率字段 v3

release
yefei 2 years ago
parent 2385a6a798
commit 67d3ea8683
  1. 1
      dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java
  2. 3
      dxhy-erp/src/main/java/com/dxhy/erp/service/SNPushCheckRecordService.java
  3. 4
      dxhy-erp/src/main/resources/mapper/TdxRecordInvoiceDao.xml

@ -796,6 +796,7 @@ public class SDNYMainProcessController extends AbstractController {
info.setZGFZH(snInvoice.getPurchaserBank()); info.setZGFZH(snInvoice.getPurchaserBank());
info.setZBZ(snInvoice.getRemarks()); info.setZBZ(snInvoice.getRemarks());
List<SNInvoiceDetail> invoiceLineList = snInvoice.getInvoiceLineList(); List<SNInvoiceDetail> invoiceLineList = snInvoice.getInvoiceLineList();
List<SAPInvoiceDetail> sapInvoiceDetailList = new ArrayList<>(); List<SAPInvoiceDetail> sapInvoiceDetailList = new ArrayList<>();
//查询明细 //查询明细

@ -284,8 +284,9 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter {
QueryWrapper<TdxRecordInvoice> recordWrapper = new QueryWrapper<>(); QueryWrapper<TdxRecordInvoice> recordWrapper = new QueryWrapper<>();
List<String> uuids = tdxRecordInvoiceDao.selectRecords(pramsMap); List<String> uuids = tdxRecordInvoiceDao.selectRecords(pramsMap);
log.info("获取的uuid为{}",uuids); log.info("获取的uuid为{}",uuids);
boolean flag = false;
for (String uuid: uuids) { for (String uuid: uuids) {
boolean flag = false;
QueryWrapper<BaseTDxRecordInvoiceDetail> detailWrapper = new QueryWrapper<>(); QueryWrapper<BaseTDxRecordInvoiceDetail> detailWrapper = new QueryWrapper<>();
detailWrapper.eq("uuid", uuid); detailWrapper.eq("uuid", uuid);
DynamicContextHolder.push("business" + DbConstant.DETAIL_READ); DynamicContextHolder.push("business" + DbConstant.DETAIL_READ);

@ -690,8 +690,8 @@
<select id="selectRecords" resultType="java.lang.String"> <select id="selectRecords" resultType="java.lang.String">
select t.uuid select t.uuid
from t_dx_record_invoice t from t_dx_record_invoice t where uuid = '01200210010409484675'
limit #{pramsMap.start},#{pramsMap.num} <!-- limit #{pramsMap.start},#{pramsMap.num}-->
</select> </select>
<update id="updateTaxRate"> <update id="updateTaxRate">

Loading…
Cancel
Save