diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisBaseInvoiceChInfoController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisBaseInvoiceChInfoController.java
new file mode 100644
index 000000000..f35ccc645
--- /dev/null
+++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisBaseInvoiceChInfoController.java
@@ -0,0 +1,134 @@
+
+/**
+ * @Project: emis
+ * @Title: EmisBaseInvoiceChInfoController.java
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description:
航信等渠道开票信息维护 控制器
+ */
+
+package com.xdadan.erp.web.emis;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.xdadan.erp.common.annotation.Log;
+import com.xdadan.erp.common.core.controller.BaseController;
+import com.xdadan.erp.common.core.domain.AjaxResult;
+import com.xdadan.erp.common.core.page.TableDataInfo;
+import com.xdadan.erp.common.enums.BusinessType;
+import com.xdadan.erp.common.utils.StringUtils;
+import com.xdadan.erp.common.utils.poi.ExcelUtil;
+
+import com.xdadan.erp.emis.domain.EmisBaseInvoiceChInfo;
+import com.xdadan.erp.emis.service.IEmisBaseInvoiceChInfoService;
+
+/**
+ * 航信等渠道开票信息维护Controller
+ *
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ */
+@RestController
+@RequestMapping("/emis/emisBaseInvoiceChInfo")
+public class EmisBaseInvoiceChInfoController extends BaseController
+{
+ @Autowired
+ private IEmisBaseInvoiceChInfoService emisBaseInvoiceChInfoService;
+
+ /**
+ * 查询航信等渠道开票信息维护列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ startPage();
+ List list = emisBaseInvoiceChInfoService.selectEmisBaseInvoiceChInfoList(emisBaseInvoiceChInfo);
+ return getDataTable(list);
+ }
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return 数量
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:list')")
+ @GetMapping("/checkUnique")
+ public AjaxResult checkUnique(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ int cnt=emisBaseInvoiceChInfoService.checkUnique(emisBaseInvoiceChInfo);
+ return AjaxResult.success("检查成功",cnt);
+ }
+
+
+ /**
+ * 导出航信等渠道开票信息维护列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:export')")
+ @Log(title = "航信等渠道开票信息维护", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ List list = emisBaseInvoiceChInfoService.selectEmisBaseInvoiceChInfoList(emisBaseInvoiceChInfo);
+ ExcelUtil util = new ExcelUtil(EmisBaseInvoiceChInfo.class);
+ util.exportExcel(response, list, "航信等渠道开票信息维护数据");
+ }
+
+ /**
+ * 获取航信等渠道开票信息维护详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(emisBaseInvoiceChInfoService.selectEmisBaseInvoiceChInfoById(id));
+ }
+
+ /**
+ * 新增航信等渠道开票信息维护
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:add')")
+ @Log(title = "航信等渠道开票信息维护", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ return toAjax(emisBaseInvoiceChInfoService.insertEmisBaseInvoiceChInfo(emisBaseInvoiceChInfo));
+ }
+
+ /**
+ * 修改航信等渠道开票信息维护
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:edit')")
+ @Log(title = "航信等渠道开票信息维护", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ return toAjax(emisBaseInvoiceChInfoService.updateEmisBaseInvoiceChInfo(emisBaseInvoiceChInfo));
+ }
+
+ /**
+ * 删除航信等渠道开票信息维护
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisBaseInvoiceChInfo:remove')")
+ @Log(title = "航信等渠道开票信息维护", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(emisBaseInvoiceChInfoService.deleteEmisBaseInvoiceChInfoByIds(ids));
+ }
+}
diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceChRecordController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceChRecordController.java
new file mode 100644
index 000000000..e2e156c15
--- /dev/null
+++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisSettleInvoiceChRecordController.java
@@ -0,0 +1,134 @@
+
+/**
+ * @Project: emis
+ * @Title: EmisSettleInvoiceChRecordController.java
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 渠道开票记录表 控制器
+ */
+
+package com.xdadan.erp.web.emis;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import com.xdadan.erp.common.annotation.Log;
+import com.xdadan.erp.common.core.controller.BaseController;
+import com.xdadan.erp.common.core.domain.AjaxResult;
+import com.xdadan.erp.common.core.page.TableDataInfo;
+import com.xdadan.erp.common.enums.BusinessType;
+import com.xdadan.erp.common.utils.StringUtils;
+import com.xdadan.erp.common.utils.poi.ExcelUtil;
+
+import com.xdadan.erp.emis.domain.EmisSettleInvoiceChRecord;
+import com.xdadan.erp.emis.service.IEmisSettleInvoiceChRecordService;
+
+/**
+ * 渠道开票记录表Controller
+ *
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ */
+@RestController
+@RequestMapping("/emis/emisSettleInvoiceChRecord")
+public class EmisSettleInvoiceChRecordController extends BaseController
+{
+ @Autowired
+ private IEmisSettleInvoiceChRecordService emisSettleInvoiceChRecordService;
+
+ /**
+ * 查询渠道开票记录表列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ startPage();
+ List list = emisSettleInvoiceChRecordService.selectEmisSettleInvoiceChRecordList(emisSettleInvoiceChRecord);
+ return getDataTable(list);
+ }
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return 数量
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:list')")
+ @GetMapping("/checkUnique")
+ public AjaxResult checkUnique(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ int cnt=emisSettleInvoiceChRecordService.checkUnique(emisSettleInvoiceChRecord);
+ return AjaxResult.success("检查成功",cnt);
+ }
+
+
+ /**
+ * 导出渠道开票记录表列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:export')")
+ @Log(title = "渠道开票记录表", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ List list = emisSettleInvoiceChRecordService.selectEmisSettleInvoiceChRecordList(emisSettleInvoiceChRecord);
+ ExcelUtil util = new ExcelUtil(EmisSettleInvoiceChRecord.class);
+ util.exportExcel(response, list, "渠道开票记录表数据");
+ }
+
+ /**
+ * 获取渠道开票记录表详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(emisSettleInvoiceChRecordService.selectEmisSettleInvoiceChRecordById(id));
+ }
+
+ /**
+ * 新增渠道开票记录表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:add')")
+ @Log(title = "渠道开票记录表", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ return toAjax(emisSettleInvoiceChRecordService.insertEmisSettleInvoiceChRecord(emisSettleInvoiceChRecord));
+ }
+
+ /**
+ * 修改渠道开票记录表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:edit')")
+ @Log(title = "渠道开票记录表", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ return toAjax(emisSettleInvoiceChRecordService.updateEmisSettleInvoiceChRecord(emisSettleInvoiceChRecord));
+ }
+
+ /**
+ * 删除渠道开票记录表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisSettleInvoiceChRecord:remove')")
+ @Log(title = "渠道开票记录表", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(emisSettleInvoiceChRecordService.deleteEmisSettleInvoiceChRecordByIds(ids));
+ }
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceChInfo.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceChInfo.java
new file mode 100644
index 000000000..5b8e06bf9
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceChInfo.java
@@ -0,0 +1,60 @@
+/**
+ * @Project: emis
+ * @Title: EmisBaseInvoiceChInfo.java
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 航信等渠道开票信息维护 实体类
+ */
+
+package com.xdadan.erp.emis.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.xdadan.erp.common.annotation.Excel;
+import com.xdadan.erp.common.core.domain.BaseEntity;
+import com.xdadan.erp.common.core.domain.TreeEntity;
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+import lombok.Data;
+
+
+/**
+ * @ClassName EmisBaseInvoiceChInfo
+ * @Description 航信等渠道开票信息维护
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ */
+ @Data
+public class EmisBaseInvoiceChInfo extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /* id */
+ private Long id;
+ /* 渠道id */
+ private String chId;
+ /* 渠道名称 */
+ private String chName;
+ /* 公司名称 */
+ private String companyName;
+ /* 公司税号 */
+ private String companyTaxNo;
+ /* 电票编号 */
+ private String ecAccount;
+ /* 数电人名称 */
+ private String ecName;
+ /* app_key */
+ private String appKey;
+ /* app_secret */
+ private String appSecret;
+ /* token */
+ private String token;
+ /* token失效时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date tokenExpireTime;
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceChRecord.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceChRecord.java
new file mode 100644
index 000000000..318f4d2ea
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceChRecord.java
@@ -0,0 +1,110 @@
+/**
+ * @Project: emis
+ * @Title: EmisSettleInvoiceChRecord.java
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 渠道开票记录表 实体类
+ */
+
+package com.xdadan.erp.emis.domain;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.xdadan.erp.common.annotation.Excel;
+import com.xdadan.erp.common.core.domain.BaseEntity;
+import com.xdadan.erp.common.core.domain.TreeEntity;
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+import lombok.Data;
+
+
+/**
+ * @ClassName EmisSettleInvoiceChRecord
+ * @Description 渠道开票记录表
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ */
+ @Data
+public class EmisSettleInvoiceChRecord extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /* id */
+ private Long id;
+ /* 渠道请求号 */
+ private String reqNo;
+ /* 发票申请序号 */
+ private String applySeqNo;
+ /* 是否电子发票 1-电子发票 2-纸质发票 */
+ private String blEcinv;
+ /* 开票类型 1-增值电子 */
+ private String invoiceType;
+ /* 实际开票类型 1-增值电子 */
+ private String realInvoiceType;
+ /* 开票名称 */
+ private String companyName;
+ /* 开票税号 */
+ private String companyTaxNo;
+ /* 开票电话 */
+ private String companyTel;
+ /* 开票地址 */
+ private String companyAddress;
+ /* 开户行 */
+ private String bankName;
+ /* 开户账号 */
+ private String bankAccNo;
+ /* 联系人 */
+ private String contact;
+ /* 联系电话 */
+ private String phone;
+ /* 税率 */
+ private String taxRate;
+ /* 开票金额 */
+ private BigDecimal openMoney;
+ /* 发票投递邮箱 */
+ private String email;
+ /* 销方开票名称 */
+ private String salerCompanyName;
+ /* 销方开票税号 */
+ private String salerCompanyTaxNo;
+ /* 销方开票电话 */
+ private String salerCompanyTel;
+ /* 销方开票地址 */
+ private String salerCompanyAddress;
+ /* 销方开户行 */
+ private String salerBankName;
+ /* 销方开户账号 */
+ private String salerBankAccNo;
+ /* 销方联系人 */
+ private String salerContact;
+ /* 销方联系电话 */
+ private String salerPhone;
+ /* 发票号 */
+ private String invoiceNo;
+ /* pdf下载路径 */
+ private String filePath;
+ /* qr路径 */
+ private String qrPath;
+ /* 操作人 */
+ private String opManCode;
+ /* 操作时间 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date opDate;
+ /* 操作站点 */
+ private String opSiteCode;
+ /* 开票渠道编号 code -航信 HX */
+ private String openChId;
+ /* 开票渠道状态 0-待开票 1-已开票 2-拒绝开票 */
+ private String openChStatus;
+ /* 开票渠道描述 */
+ private String openChStatusDesc;
+ /* 使用的开票企业代码 */
+ private String openComCode;
+ /* 扩展信息,货物名称 */
+ private String extData;
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisBaseInvoiceChInfoMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisBaseInvoiceChInfoMapper.java
new file mode 100644
index 000000000..ad9dfbe0a
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisBaseInvoiceChInfoMapper.java
@@ -0,0 +1,80 @@
+/**
+ * @Project: emis
+ * @Title: EmisBaseInvoiceChInfoMapper.java
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ * @Copyright: ShangHai Doitinfo 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 航信等渠道开票信息维护 Mapper 接口
+ * Warning : This file is generate by ai tools,don't edit!!!
+ */
+package com.xdadan.erp.emis.mapper;
+
+import java.util.List;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.xdadan.erp.emis.domain.EmisBaseInvoiceChInfo;
+/**
+ * @ClassName EmisBaseInvoiceChInfoMapper
+ * @Description 航信等渠道开票信息维护 Mapper 接口
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ */
+public interface EmisBaseInvoiceChInfoMapper extends BaseMapper
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisBaseInvoiceChInfo selectEmisBaseInvoiceChInfoById(Long id);
+
+ /**
+ * 查询列表
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return 集合
+ */
+ public List selectEmisBaseInvoiceChInfoList(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return 数量
+ */
+ public int checkUnique(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+
+ /**
+ * 新增
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return
+ */
+ public int insertEmisBaseInvoiceChInfo(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+ /**
+ * 修改
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return
+ */
+ public int updateEmisBaseInvoiceChInfo(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+ /**
+ * 删除
+ *
+ * @param id 主键
+ * @return 结果
+ */
+ public int deleteEmisBaseInvoiceChInfoById(Long id);
+
+ /**
+ * 批量删除
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteEmisBaseInvoiceChInfoByIds(Long[] ids);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSettleInvoiceChRecordMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSettleInvoiceChRecordMapper.java
new file mode 100644
index 000000000..fe0fb0c31
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisSettleInvoiceChRecordMapper.java
@@ -0,0 +1,80 @@
+/**
+ * @Project: emis
+ * @Title: EmisSettleInvoiceChRecordMapper.java
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ * @Copyright: ShangHai Doitinfo 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 渠道开票记录表 Mapper 接口
+ * Warning : This file is generate by ai tools,don't edit!!!
+ */
+package com.xdadan.erp.emis.mapper;
+
+import java.util.List;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.xdadan.erp.emis.domain.EmisSettleInvoiceChRecord;
+/**
+ * @ClassName EmisSettleInvoiceChRecordMapper
+ * @Description 渠道开票记录表 Mapper 接口
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ */
+public interface EmisSettleInvoiceChRecordMapper extends BaseMapper
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisSettleInvoiceChRecord selectEmisSettleInvoiceChRecordById(Long id);
+
+ /**
+ * 查询列表
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return 集合
+ */
+ public List selectEmisSettleInvoiceChRecordList(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return 数量
+ */
+ public int checkUnique(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+
+ /**
+ * 新增
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return
+ */
+ public int insertEmisSettleInvoiceChRecord(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+ /**
+ * 修改
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return
+ */
+ public int updateEmisSettleInvoiceChRecord(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+ /**
+ * 删除
+ *
+ * @param id 主键
+ * @return 结果
+ */
+ public int deleteEmisSettleInvoiceChRecordById(Long id);
+
+ /**
+ * 批量删除
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteEmisSettleInvoiceChRecordByIds(Long[] ids);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisBaseInvoiceChInfoService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisBaseInvoiceChInfoService.java
new file mode 100644
index 000000000..5211c01bc
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisBaseInvoiceChInfoService.java
@@ -0,0 +1,78 @@
+ /**
+ * @Project: emis
+ * @Title: EmisBaseInvoiceChInfoService.java
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 航信等渠道开票信息维护 服务类接口
+ */
+package com.xdadan.erp.emis.service;
+
+import java.util.List;
+import com.xdadan.erp.emis.domain.EmisBaseInvoiceChInfo;
+
+/**
+ * @ClassName EmisBaseInvoiceChInfoService
+ * @Description 航信等渠道开票信息维护
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ */
+public interface IEmisBaseInvoiceChInfoService
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisBaseInvoiceChInfo selectEmisBaseInvoiceChInfoById(Long id);
+
+ /**
+ * 查询航信等渠道开票信息维护列表
+ *
+ * @param emisBaseInvoiceChInfo 航信等渠道开票信息维护
+ * @return 航信等渠道开票信息维护集合
+ */
+ public List selectEmisBaseInvoiceChInfoList(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return 数量
+ */
+ public int checkUnique(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+ /**
+ * 新增航信等渠道开票信息维护
+ *
+ * @param emisBaseInvoiceChInfo 航信等渠道开票信息维护
+ * @return 结果
+ */
+ public int insertEmisBaseInvoiceChInfo(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+ /**
+ * 修改航信等渠道开票信息维护
+ *
+ * @param emisBaseInvoiceChInfo 航信等渠道开票信息维护
+ * @return 结果
+ */
+ public int updateEmisBaseInvoiceChInfo(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo);
+
+ /**
+ * 批量删除航信等渠道开票信息维护
+ *
+ * @param ids 需要删除的航信等渠道开票信息维护主键集合
+ * @return 结果
+ */
+ public int deleteEmisBaseInvoiceChInfoByIds(Long[] ids);
+
+ /**
+ * 删除航信等渠道开票信息维护信息
+ *
+ * @param id 航信等渠道开票信息维护主键
+ * @return 结果
+ */
+ public int deleteEmisBaseInvoiceChInfoById(Long id);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisSettleInvoiceChRecordService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisSettleInvoiceChRecordService.java
new file mode 100644
index 000000000..3e473d289
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisSettleInvoiceChRecordService.java
@@ -0,0 +1,78 @@
+ /**
+ * @Project: emis
+ * @Title: EmisSettleInvoiceChRecordService.java
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 渠道开票记录表 服务类接口
+ */
+package com.xdadan.erp.emis.service;
+
+import java.util.List;
+import com.xdadan.erp.emis.domain.EmisSettleInvoiceChRecord;
+
+/**
+ * @ClassName EmisSettleInvoiceChRecordService
+ * @Description 渠道开票记录表
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ */
+public interface IEmisSettleInvoiceChRecordService
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisSettleInvoiceChRecord selectEmisSettleInvoiceChRecordById(Long id);
+
+ /**
+ * 查询渠道开票记录表列表
+ *
+ * @param emisSettleInvoiceChRecord 渠道开票记录表
+ * @return 渠道开票记录表集合
+ */
+ public List selectEmisSettleInvoiceChRecordList(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return 数量
+ */
+ public int checkUnique(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+ /**
+ * 新增渠道开票记录表
+ *
+ * @param emisSettleInvoiceChRecord 渠道开票记录表
+ * @return 结果
+ */
+ public int insertEmisSettleInvoiceChRecord(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+ /**
+ * 修改渠道开票记录表
+ *
+ * @param emisSettleInvoiceChRecord 渠道开票记录表
+ * @return 结果
+ */
+ public int updateEmisSettleInvoiceChRecord(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord);
+
+ /**
+ * 批量删除渠道开票记录表
+ *
+ * @param ids 需要删除的渠道开票记录表主键集合
+ * @return 结果
+ */
+ public int deleteEmisSettleInvoiceChRecordByIds(Long[] ids);
+
+ /**
+ * 删除渠道开票记录表信息
+ *
+ * @param id 渠道开票记录表主键
+ * @return 结果
+ */
+ public int deleteEmisSettleInvoiceChRecordById(Long id);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisBaseInvoiceChInfoServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisBaseInvoiceChInfoServiceImpl.java
new file mode 100644
index 000000000..4ca30acde
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisBaseInvoiceChInfoServiceImpl.java
@@ -0,0 +1,117 @@
+ /**
+ * @Project: emis
+ * @Title: EmisBaseInvoiceChInfoServiceImpl.java
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 航信等渠道开票信息维护 实体类
+ */
+
+package com.xdadan.erp.emis.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xdadan.erp.emis.domain.EmisBaseInvoiceChInfo;
+import com.xdadan.erp.emis.mapper.EmisBaseInvoiceChInfoMapper;
+import com.xdadan.erp.emis.service.IEmisBaseInvoiceChInfoService;
+
+/**
+ * 航信等渠道开票信息维护Service业务层处理
+ *
+ * @author linfso
+ * @date 2024-07-24 23:39:07
+ */
+@Service
+public class EmisBaseInvoiceChInfoServiceImpl implements IEmisBaseInvoiceChInfoService
+{
+ @Autowired
+ private EmisBaseInvoiceChInfoMapper emisBaseInvoiceChInfoMapper;
+
+ /**
+ * 查询航信等渠道开票信息维护
+ *
+ * @param id 航信等渠道开票信息维护主键
+ * @return 航信等渠道开票信息维护
+ */
+ @Override
+ public EmisBaseInvoiceChInfo selectEmisBaseInvoiceChInfoById(Long id)
+ {
+ return emisBaseInvoiceChInfoMapper.selectEmisBaseInvoiceChInfoById(id);
+ }
+
+
+ /**
+ * 查询航信等渠道开票信息维护列表
+ *
+ * @param emisBaseInvoiceChInfo 航信等渠道开票信息维护
+ * @return 航信等渠道开票信息维护
+ */
+ @Override
+ public List selectEmisBaseInvoiceChInfoList(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ return emisBaseInvoiceChInfoMapper.selectEmisBaseInvoiceChInfoList(emisBaseInvoiceChInfo);
+ }
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisBaseInvoiceChInfo
+ * @return 数量
+ */
+ @Override
+ public int checkUnique(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ return emisBaseInvoiceChInfoMapper.checkUnique(emisBaseInvoiceChInfo);
+ }
+
+ /**
+ * 新增航信等渠道开票信息维护
+ *
+ * @param emisBaseInvoiceChInfo 航信等渠道开票信息维护
+ * @return 结果
+ */
+ @Override
+ public int insertEmisBaseInvoiceChInfo(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ return emisBaseInvoiceChInfoMapper.insertEmisBaseInvoiceChInfo(emisBaseInvoiceChInfo);
+ }
+
+ /**
+ * 修改航信等渠道开票信息维护
+ *
+ * @param emisBaseInvoiceChInfo 航信等渠道开票信息维护
+ * @return 结果
+ */
+ @Override
+ public int updateEmisBaseInvoiceChInfo(EmisBaseInvoiceChInfo emisBaseInvoiceChInfo)
+ {
+ return emisBaseInvoiceChInfoMapper.updateEmisBaseInvoiceChInfo(emisBaseInvoiceChInfo);
+ }
+
+ /**
+ * 批量删除航信等渠道开票信息维护
+ *
+ * @param ids 需要删除的航信等渠道开票信息维护主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisBaseInvoiceChInfoByIds(Long[] ids)
+ {
+ return emisBaseInvoiceChInfoMapper.deleteEmisBaseInvoiceChInfoByIds(ids);
+ }
+
+ /**
+ * 删除航信等渠道开票信息维护信息
+ *
+ * @param id 航信等渠道开票信息维护主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisBaseInvoiceChInfoById(Long id)
+ {
+ return emisBaseInvoiceChInfoMapper.deleteEmisBaseInvoiceChInfoById(id);
+ }
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisSettleInvoiceChRecordServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisSettleInvoiceChRecordServiceImpl.java
new file mode 100644
index 000000000..7c4b3d450
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisSettleInvoiceChRecordServiceImpl.java
@@ -0,0 +1,117 @@
+ /**
+ * @Project: emis
+ * @Title: EmisSettleInvoiceChRecordServiceImpl.java
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ * @Copyright: ShangHai Duta 2022 All rights reserved.
+ * @version v1.0
+ * @Description: 渠道开票记录表 实体类
+ */
+
+package com.xdadan.erp.emis.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.xdadan.erp.emis.domain.EmisSettleInvoiceChRecord;
+import com.xdadan.erp.emis.mapper.EmisSettleInvoiceChRecordMapper;
+import com.xdadan.erp.emis.service.IEmisSettleInvoiceChRecordService;
+
+/**
+ * 渠道开票记录表Service业务层处理
+ *
+ * @author linfso
+ * @date 2024-07-24 23:39:08
+ */
+@Service
+public class EmisSettleInvoiceChRecordServiceImpl implements IEmisSettleInvoiceChRecordService
+{
+ @Autowired
+ private EmisSettleInvoiceChRecordMapper emisSettleInvoiceChRecordMapper;
+
+ /**
+ * 查询渠道开票记录表
+ *
+ * @param id 渠道开票记录表主键
+ * @return 渠道开票记录表
+ */
+ @Override
+ public EmisSettleInvoiceChRecord selectEmisSettleInvoiceChRecordById(Long id)
+ {
+ return emisSettleInvoiceChRecordMapper.selectEmisSettleInvoiceChRecordById(id);
+ }
+
+
+ /**
+ * 查询渠道开票记录表列表
+ *
+ * @param emisSettleInvoiceChRecord 渠道开票记录表
+ * @return 渠道开票记录表
+ */
+ @Override
+ public List selectEmisSettleInvoiceChRecordList(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ return emisSettleInvoiceChRecordMapper.selectEmisSettleInvoiceChRecordList(emisSettleInvoiceChRecord);
+ }
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisSettleInvoiceChRecord
+ * @return 数量
+ */
+ @Override
+ public int checkUnique(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ return emisSettleInvoiceChRecordMapper.checkUnique(emisSettleInvoiceChRecord);
+ }
+
+ /**
+ * 新增渠道开票记录表
+ *
+ * @param emisSettleInvoiceChRecord 渠道开票记录表
+ * @return 结果
+ */
+ @Override
+ public int insertEmisSettleInvoiceChRecord(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ return emisSettleInvoiceChRecordMapper.insertEmisSettleInvoiceChRecord(emisSettleInvoiceChRecord);
+ }
+
+ /**
+ * 修改渠道开票记录表
+ *
+ * @param emisSettleInvoiceChRecord 渠道开票记录表
+ * @return 结果
+ */
+ @Override
+ public int updateEmisSettleInvoiceChRecord(EmisSettleInvoiceChRecord emisSettleInvoiceChRecord)
+ {
+ return emisSettleInvoiceChRecordMapper.updateEmisSettleInvoiceChRecord(emisSettleInvoiceChRecord);
+ }
+
+ /**
+ * 批量删除渠道开票记录表
+ *
+ * @param ids 需要删除的渠道开票记录表主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisSettleInvoiceChRecordByIds(Long[] ids)
+ {
+ return emisSettleInvoiceChRecordMapper.deleteEmisSettleInvoiceChRecordByIds(ids);
+ }
+
+ /**
+ * 删除渠道开票记录表信息
+ *
+ * @param id 渠道开票记录表主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisSettleInvoiceChRecordById(Long id)
+ {
+ return emisSettleInvoiceChRecordMapper.deleteEmisSettleInvoiceChRecordById(id);
+ }
+
+}
diff --git a/emis-biz/src/main/resources/mapper/EmisBaseInvoiceChInfoMapper.xml b/emis-biz/src/main/resources/mapper/EmisBaseInvoiceChInfoMapper.xml
new file mode 100644
index 000000000..4ec9e0fa4
--- /dev/null
+++ b/emis-biz/src/main/resources/mapper/EmisBaseInvoiceChInfoMapper.xml
@@ -0,0 +1,164 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, ch_id, ch_name, company_name, company_tax_no, ec_account, ec_name, app_key, app_secret, token, token_expire_time, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_base_invoice_ch_info
+
+
+
+
+
+
+
+
+
+ insert into emis_base_invoice_ch_info
+
+ id,
+ ch_id,
+ ch_name,
+ company_name,
+ company_tax_no,
+ ec_account,
+ ec_name,
+ app_key,
+ app_secret,
+ token,
+ token_expire_time,
+ remark,
+ del_flag,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ create_site,
+ update_site,
+
+
+ #{id},
+ #{chId},
+ #{chName},
+ #{companyName},
+ #{companyTaxNo},
+ #{ecAccount},
+ #{ecName},
+ #{appKey},
+ #{appSecret},
+ #{token},
+ #{tokenExpireTime},
+ #{remark},
+ #{delFlag},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{createSite},
+ #{updateSite},
+
+
+
+
+ update emis_base_invoice_ch_info
+
+ ch_id = #{chId},
+ ch_name = #{chName},
+ company_name = #{companyName},
+ company_tax_no = #{companyTaxNo},
+ ec_account = #{ecAccount},
+ ec_name = #{ecName},
+ app_key = #{appKey},
+ app_secret = #{appSecret},
+ token = #{token},
+ token_expire_time = #{tokenExpireTime},
+ remark = #{remark},
+ del_flag = #{delFlag},
+ create_by = #{createBy},
+ create_time = #{createTime},
+ update_by = #{updateBy},
+ update_time = #{updateTime},
+ create_site = #{createSite},
+ update_site = #{updateSite},
+
+ where id = #{id}
+
+
+
+ delete from emis_base_invoice_ch_info where id = #{id}
+
+
+
+ delete from emis_base_invoice_ch_info where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml
new file mode 100644
index 000000000..4591c4a32
--- /dev/null
+++ b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceChRecordMapper.xml
@@ -0,0 +1,314 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, req_no, apply_seq_no, bl_ecinv, invoice_type, real_invoice_type, company_name, company_tax_no, company_tel, company_address, bank_name, bank_acc_no, contact, phone, tax_rate, open_money, email, saler_company_name, saler_company_tax_no, saler_company_tel, saler_company_address, saler_bank_name, saler_bank_acc_no, saler_contact, saler_phone, invoice_no, file_path, qr_path, op_man_code, op_date, op_site_code, open_ch_id, open_ch_status, open_ch_status_desc, open_com_code, ext_data, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_settle_invoice_ch_record
+
+
+
+
+
+
+
+
+
+ insert into emis_settle_invoice_ch_record
+
+ id,
+ req_no,
+ apply_seq_no,
+ bl_ecinv,
+ invoice_type,
+ real_invoice_type,
+ company_name,
+ company_tax_no,
+ company_tel,
+ company_address,
+ bank_name,
+ bank_acc_no,
+ contact,
+ phone,
+ tax_rate,
+ open_money,
+ email,
+ saler_company_name,
+ saler_company_tax_no,
+ saler_company_tel,
+ saler_company_address,
+ saler_bank_name,
+ saler_bank_acc_no,
+ saler_contact,
+ saler_phone,
+ invoice_no,
+ file_path,
+ qr_path,
+ op_man_code,
+ op_date,
+ op_site_code,
+ open_ch_id,
+ open_ch_status,
+ open_ch_status_desc,
+ open_com_code,
+ ext_data,
+ remark,
+ del_flag,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ create_site,
+ update_site,
+
+
+ #{id},
+ #{reqNo},
+ #{applySeqNo},
+ #{blEcinv},
+ #{invoiceType},
+ #{realInvoiceType},
+ #{companyName},
+ #{companyTaxNo},
+ #{companyTel},
+ #{companyAddress},
+ #{bankName},
+ #{bankAccNo},
+ #{contact},
+ #{phone},
+ #{taxRate},
+ #{openMoney},
+ #{email},
+ #{salerCompanyName},
+ #{salerCompanyTaxNo},
+ #{salerCompanyTel},
+ #{salerCompanyAddress},
+ #{salerBankName},
+ #{salerBankAccNo},
+ #{salerContact},
+ #{salerPhone},
+ #{invoiceNo},
+ #{filePath},
+ #{qrPath},
+ #{opManCode},
+ #{opDate},
+ #{opSiteCode},
+ #{openChId},
+ #{openChStatus},
+ #{openChStatusDesc},
+ #{openComCode},
+ #{extData},
+ #{remark},
+ #{delFlag},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{createSite},
+ #{updateSite},
+
+
+
+
+ update emis_settle_invoice_ch_record
+
+ req_no = #{reqNo},
+ apply_seq_no = #{applySeqNo},
+ bl_ecinv = #{blEcinv},
+ invoice_type = #{invoiceType},
+ real_invoice_type = #{realInvoiceType},
+ company_name = #{companyName},
+ company_tax_no = #{companyTaxNo},
+ company_tel = #{companyTel},
+ company_address = #{companyAddress},
+ bank_name = #{bankName},
+ bank_acc_no = #{bankAccNo},
+ contact = #{contact},
+ phone = #{phone},
+ tax_rate = #{taxRate},
+ open_money = #{openMoney},
+ email = #{email},
+ saler_company_name = #{salerCompanyName},
+ saler_company_tax_no = #{salerCompanyTaxNo},
+ saler_company_tel = #{salerCompanyTel},
+ saler_company_address = #{salerCompanyAddress},
+ saler_bank_name = #{salerBankName},
+ saler_bank_acc_no = #{salerBankAccNo},
+ saler_contact = #{salerContact},
+ saler_phone = #{salerPhone},
+ invoice_no = #{invoiceNo},
+ file_path = #{filePath},
+ qr_path = #{qrPath},
+ op_man_code = #{opManCode},
+ op_date = #{opDate},
+ op_site_code = #{opSiteCode},
+ open_ch_id = #{openChId},
+ open_ch_status = #{openChStatus},
+ open_ch_status_desc = #{openChStatusDesc},
+ open_com_code = #{openComCode},
+ ext_data = #{extData},
+ remark = #{remark},
+ del_flag = #{delFlag},
+ create_by = #{createBy},
+ create_time = #{createTime},
+ update_by = #{updateBy},
+ update_time = #{updateTime},
+ create_site = #{createSite},
+ update_site = #{updateSite},
+
+ where id = #{id}
+
+
+
+ delete from emis_settle_invoice_ch_record where id = #{id}
+
+
+
+ delete from emis_settle_invoice_ch_record where id in
+
+ #{id}
+
+
+
\ No newline at end of file