diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditCustomerController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditCustomerController.java
new file mode 100644
index 000000000..a5ea4b506
--- /dev/null
+++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditCustomerController.java
@@ -0,0 +1,134 @@
+
+/**
+ * @Project: emis
+ * @Title: EmisCreditCustomerController.java
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ * @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.EmisCreditCustomer;
+import com.xdadan.erp.emis.service.IEmisCreditCustomerService;
+
+/**
+ * 客户信用额度表Controller
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ */
+@RestController
+@RequestMapping("/emis/emisCreditCustomer")
+public class EmisCreditCustomerController extends BaseController
+{
+ @Autowired
+ private IEmisCreditCustomerService emisCreditCustomerService;
+
+ /**
+ * 查询客户信用额度表列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(EmisCreditCustomer emisCreditCustomer)
+ {
+ startPage();
+ List list = emisCreditCustomerService.selectEmisCreditCustomerList(emisCreditCustomer);
+ return getDataTable(list);
+ }
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomer
+ * @return 数量
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:list')")
+ @GetMapping("/checkUnique")
+ public AjaxResult checkUnique(EmisCreditCustomer emisCreditCustomer)
+ {
+ int cnt=emisCreditCustomerService.checkUnique(emisCreditCustomer);
+ return AjaxResult.success("检查成功",cnt);
+ }
+
+
+ /**
+ * 导出客户信用额度表列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:export')")
+ @Log(title = "客户信用额度表", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, EmisCreditCustomer emisCreditCustomer)
+ {
+ List list = emisCreditCustomerService.selectEmisCreditCustomerList(emisCreditCustomer);
+ ExcelUtil util = new ExcelUtil(EmisCreditCustomer.class);
+ util.exportExcel(response, list, "客户信用额度表数据");
+ }
+
+ /**
+ * 获取客户信用额度表详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(emisCreditCustomerService.selectEmisCreditCustomerById(id));
+ }
+
+ /**
+ * 新增客户信用额度表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:add')")
+ @Log(title = "客户信用额度表", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody EmisCreditCustomer emisCreditCustomer)
+ {
+ return toAjax(emisCreditCustomerService.insertEmisCreditCustomer(emisCreditCustomer));
+ }
+
+ /**
+ * 修改客户信用额度表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:edit')")
+ @Log(title = "客户信用额度表", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody EmisCreditCustomer emisCreditCustomer)
+ {
+ return toAjax(emisCreditCustomerService.updateEmisCreditCustomer(emisCreditCustomer));
+ }
+
+ /**
+ * 删除客户信用额度表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomer:remove')")
+ @Log(title = "客户信用额度表", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(emisCreditCustomerService.deleteEmisCreditCustomerByIds(ids));
+ }
+}
diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditCustomerRecordController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditCustomerRecordController.java
new file mode 100644
index 000000000..29073eb39
--- /dev/null
+++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditCustomerRecordController.java
@@ -0,0 +1,134 @@
+
+/**
+ * @Project: emis
+ * @Title: EmisCreditCustomerRecordController.java
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ * @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.EmisCreditCustomerRecord;
+import com.xdadan.erp.emis.service.IEmisCreditCustomerRecordService;
+
+/**
+ * 客户信用额度记录Controller
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ */
+@RestController
+@RequestMapping("/emis/emisCreditCustomerRecord")
+public class EmisCreditCustomerRecordController extends BaseController
+{
+ @Autowired
+ private IEmisCreditCustomerRecordService emisCreditCustomerRecordService;
+
+ /**
+ * 查询客户信用额度记录列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ startPage();
+ List list = emisCreditCustomerRecordService.selectEmisCreditCustomerRecordList(emisCreditCustomerRecord);
+ return getDataTable(list);
+ }
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomerRecord
+ * @return 数量
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:list')")
+ @GetMapping("/checkUnique")
+ public AjaxResult checkUnique(EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ int cnt=emisCreditCustomerRecordService.checkUnique(emisCreditCustomerRecord);
+ return AjaxResult.success("检查成功",cnt);
+ }
+
+
+ /**
+ * 导出客户信用额度记录列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:export')")
+ @Log(title = "客户信用额度记录", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ List list = emisCreditCustomerRecordService.selectEmisCreditCustomerRecordList(emisCreditCustomerRecord);
+ ExcelUtil util = new ExcelUtil(EmisCreditCustomerRecord.class);
+ util.exportExcel(response, list, "客户信用额度记录数据");
+ }
+
+ /**
+ * 获取客户信用额度记录详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(emisCreditCustomerRecordService.selectEmisCreditCustomerRecordById(id));
+ }
+
+ /**
+ * 新增客户信用额度记录
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:add')")
+ @Log(title = "客户信用额度记录", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ return toAjax(emisCreditCustomerRecordService.insertEmisCreditCustomerRecord(emisCreditCustomerRecord));
+ }
+
+ /**
+ * 修改客户信用额度记录
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:edit')")
+ @Log(title = "客户信用额度记录", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ return toAjax(emisCreditCustomerRecordService.updateEmisCreditCustomerRecord(emisCreditCustomerRecord));
+ }
+
+ /**
+ * 删除客户信用额度记录
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditCustomerRecord:remove')")
+ @Log(title = "客户信用额度记录", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(emisCreditCustomerRecordService.deleteEmisCreditCustomerRecordByIds(ids));
+ }
+}
diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditSalesmenController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditSalesmenController.java
new file mode 100644
index 000000000..572df6b05
--- /dev/null
+++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditSalesmenController.java
@@ -0,0 +1,134 @@
+
+/**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenController.java
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ * @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.EmisCreditSalesmen;
+import com.xdadan.erp.emis.service.IEmisCreditSalesmenService;
+
+/**
+ * 销售信用额度Controller
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ */
+@RestController
+@RequestMapping("/emis/emisCreditSalesmen")
+public class EmisCreditSalesmenController extends BaseController
+{
+ @Autowired
+ private IEmisCreditSalesmenService emisCreditSalesmenService;
+
+ /**
+ * 查询销售信用额度列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(EmisCreditSalesmen emisCreditSalesmen)
+ {
+ startPage();
+ List list = emisCreditSalesmenService.selectEmisCreditSalesmenList(emisCreditSalesmen);
+ return getDataTable(list);
+ }
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmen
+ * @return 数量
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:list')")
+ @GetMapping("/checkUnique")
+ public AjaxResult checkUnique(EmisCreditSalesmen emisCreditSalesmen)
+ {
+ int cnt=emisCreditSalesmenService.checkUnique(emisCreditSalesmen);
+ return AjaxResult.success("检查成功",cnt);
+ }
+
+
+ /**
+ * 导出销售信用额度列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:export')")
+ @Log(title = "销售信用额度", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, EmisCreditSalesmen emisCreditSalesmen)
+ {
+ List list = emisCreditSalesmenService.selectEmisCreditSalesmenList(emisCreditSalesmen);
+ ExcelUtil util = new ExcelUtil(EmisCreditSalesmen.class);
+ util.exportExcel(response, list, "销售信用额度数据");
+ }
+
+ /**
+ * 获取销售信用额度详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(emisCreditSalesmenService.selectEmisCreditSalesmenById(id));
+ }
+
+ /**
+ * 新增销售信用额度
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:add')")
+ @Log(title = "销售信用额度", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody EmisCreditSalesmen emisCreditSalesmen)
+ {
+ return toAjax(emisCreditSalesmenService.insertEmisCreditSalesmen(emisCreditSalesmen));
+ }
+
+ /**
+ * 修改销售信用额度
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:edit')")
+ @Log(title = "销售信用额度", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody EmisCreditSalesmen emisCreditSalesmen)
+ {
+ return toAjax(emisCreditSalesmenService.updateEmisCreditSalesmen(emisCreditSalesmen));
+ }
+
+ /**
+ * 删除销售信用额度
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmen:remove')")
+ @Log(title = "销售信用额度", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(emisCreditSalesmenService.deleteEmisCreditSalesmenByIds(ids));
+ }
+}
diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditSalesmenRecordController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditSalesmenRecordController.java
new file mode 100644
index 000000000..5d35f7dc1
--- /dev/null
+++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCreditSalesmenRecordController.java
@@ -0,0 +1,134 @@
+
+/**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenRecordController.java
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ * @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.EmisCreditSalesmenRecord;
+import com.xdadan.erp.emis.service.IEmisCreditSalesmenRecordService;
+
+/**
+ * 销售信用额度记录Controller
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ */
+@RestController
+@RequestMapping("/emis/emisCreditSalesmenRecord")
+public class EmisCreditSalesmenRecordController extends BaseController
+{
+ @Autowired
+ private IEmisCreditSalesmenRecordService emisCreditSalesmenRecordService;
+
+ /**
+ * 查询销售信用额度记录列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ startPage();
+ List list = emisCreditSalesmenRecordService.selectEmisCreditSalesmenRecordList(emisCreditSalesmenRecord);
+ return getDataTable(list);
+ }
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmenRecord
+ * @return 数量
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:list')")
+ @GetMapping("/checkUnique")
+ public AjaxResult checkUnique(EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ int cnt=emisCreditSalesmenRecordService.checkUnique(emisCreditSalesmenRecord);
+ return AjaxResult.success("检查成功",cnt);
+ }
+
+
+ /**
+ * 导出销售信用额度记录列表
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:export')")
+ @Log(title = "销售信用额度记录", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ List list = emisCreditSalesmenRecordService.selectEmisCreditSalesmenRecordList(emisCreditSalesmenRecord);
+ ExcelUtil util = new ExcelUtil(EmisCreditSalesmenRecord.class);
+ util.exportExcel(response, list, "销售信用额度记录数据");
+ }
+
+ /**
+ * 获取销售信用额度记录详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(emisCreditSalesmenRecordService.selectEmisCreditSalesmenRecordById(id));
+ }
+
+ /**
+ * 新增销售信用额度记录
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:add')")
+ @Log(title = "销售信用额度记录", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ return toAjax(emisCreditSalesmenRecordService.insertEmisCreditSalesmenRecord(emisCreditSalesmenRecord));
+ }
+
+ /**
+ * 修改销售信用额度记录
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:edit')")
+ @Log(title = "销售信用额度记录", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ return toAjax(emisCreditSalesmenRecordService.updateEmisCreditSalesmenRecord(emisCreditSalesmenRecord));
+ }
+
+ /**
+ * 删除销售信用额度记录
+ */
+ @PreAuthorize("@ss.hasPermi('emis:emisCreditSalesmenRecord:remove')")
+ @Log(title = "销售信用额度记录", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(emisCreditSalesmenRecordService.deleteEmisCreditSalesmenRecordByIds(ids));
+ }
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditCustomer.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditCustomer.java
new file mode 100644
index 000000000..0f77ce21e
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditCustomer.java
@@ -0,0 +1,59 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditCustomer.java
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ * @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 EmisCreditCustomer
+ * @Description 客户信用额度表
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ */
+ @Data
+public class EmisCreditCustomer extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /* id */
+ private Long id;
+ /* 客户编码 */
+ private String customerCode;
+ /* 当前余额 */
+ private BigDecimal curMoney;
+ /* 余额比率 */
+ private BigDecimal curMoneyRate;
+ /* 信用额度 */
+ private BigDecimal creditMoney;
+ /* 币种 */
+ private String currency;
+ /* 运输方式 */
+ private String transType;
+ /* 开始日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date startDate;
+ /* 结束日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date endDate;
+ /* 是否启用 1-启用 0-未启用 */
+ private String blOpen;
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditCustomerRecord.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditCustomerRecord.java
new file mode 100644
index 000000000..4f688f91d
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditCustomerRecord.java
@@ -0,0 +1,53 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditCustomerRecord.java
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ * @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 EmisCreditCustomerRecord
+ * @Description 客户信用额度记录
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ */
+ @Data
+public class EmisCreditCustomerRecord extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /* id */
+ private Long id;
+ /* 客户编码 */
+ private String customerCode;
+ /* 运单号 */
+ private String billCode;
+ /* 操作类型 加,减 1-加 2-减 */
+ private String changeType;
+ /* 当前操作金额 */
+ private BigDecimal changeMoney;
+ /* 前余额 */
+ private BigDecimal preBalance;
+ /* 变动后余额 */
+ private BigDecimal backBalance;
+ /* 币种 */
+ private String currency;
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditSalesmen.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditSalesmen.java
new file mode 100644
index 000000000..d0b4286ec
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditSalesmen.java
@@ -0,0 +1,61 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditSalesmen.java
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ * @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 EmisCreditSalesmen
+ * @Description 销售信用额度
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ */
+ @Data
+public class EmisCreditSalesmen extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /* id */
+ private Long id;
+ /* 销售名称 */
+ private String salesmen;
+ /* 当前余额 */
+ private BigDecimal curMoney;
+ /* 余额比率 */
+ private BigDecimal curMoneyRate;
+ /* 信用额度 */
+ private BigDecimal creditMoney;
+ /* 币种 */
+ private String currency;
+ /* 运输方式 */
+ private String transType;
+ /* 开始日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date startDate;
+ /* 结束日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date endDate;
+ /* 是否启用 1-启用 0-未启用 */
+ private String blOpen;
+ /* 是否锁定 0-否 1-是 */
+ private String blLock;
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditSalesmenRecord.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditSalesmenRecord.java
new file mode 100644
index 000000000..f330393ec
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCreditSalesmenRecord.java
@@ -0,0 +1,53 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenRecord.java
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ * @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 EmisCreditSalesmenRecord
+ * @Description 销售信用额度记录
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ */
+ @Data
+public class EmisCreditSalesmenRecord extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /* id */
+ private Long id;
+ /* 销售名称 */
+ private String salesmen;
+ /* 运单号 */
+ private String billCode;
+ /* 操作类型 加,减 1-加 2-减 */
+ private String changeType;
+ /* 操作金额 */
+ private BigDecimal changeMoney;
+ /* 前余额 */
+ private BigDecimal preBalance;
+ /* 变动后余额 */
+ private BigDecimal backBalance;
+ /* 币种 */
+ private String currency;
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditCustomerMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditCustomerMapper.java
new file mode 100644
index 000000000..27ff6af7c
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditCustomerMapper.java
@@ -0,0 +1,80 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditCustomerMapper.java
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ * @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.EmisCreditCustomer;
+/**
+ * @ClassName EmisCreditCustomerMapper
+ * @Description 客户信用额度表 Mapper 接口
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ */
+public interface EmisCreditCustomerMapper extends BaseMapper
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditCustomer selectEmisCreditCustomerById(Long id);
+
+ /**
+ * 查询列表
+ *
+ * @param emisCreditCustomer
+ * @return 集合
+ */
+ public List selectEmisCreditCustomerList(EmisCreditCustomer emisCreditCustomer);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomer
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditCustomer emisCreditCustomer);
+
+
+ /**
+ * 新增
+ *
+ * @param emisCreditCustomer
+ * @return
+ */
+ public int insertEmisCreditCustomer(EmisCreditCustomer emisCreditCustomer);
+
+ /**
+ * 修改
+ *
+ * @param emisCreditCustomer
+ * @return
+ */
+ public int updateEmisCreditCustomer(EmisCreditCustomer emisCreditCustomer);
+
+ /**
+ * 删除
+ *
+ * @param id 主键
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerById(Long id);
+
+ /**
+ * 批量删除
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerByIds(Long[] ids);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditCustomerRecordMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditCustomerRecordMapper.java
new file mode 100644
index 000000000..0592f1ed5
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditCustomerRecordMapper.java
@@ -0,0 +1,80 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditCustomerRecordMapper.java
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ * @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.EmisCreditCustomerRecord;
+/**
+ * @ClassName EmisCreditCustomerRecordMapper
+ * @Description 客户信用额度记录 Mapper 接口
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ */
+public interface EmisCreditCustomerRecordMapper extends BaseMapper
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditCustomerRecord selectEmisCreditCustomerRecordById(Long id);
+
+ /**
+ * 查询列表
+ *
+ * @param emisCreditCustomerRecord
+ * @return 集合
+ */
+ public List selectEmisCreditCustomerRecordList(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomerRecord
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+
+ /**
+ * 新增
+ *
+ * @param emisCreditCustomerRecord
+ * @return
+ */
+ public int insertEmisCreditCustomerRecord(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+ /**
+ * 修改
+ *
+ * @param emisCreditCustomerRecord
+ * @return
+ */
+ public int updateEmisCreditCustomerRecord(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+ /**
+ * 删除
+ *
+ * @param id 主键
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerRecordById(Long id);
+
+ /**
+ * 批量删除
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerRecordByIds(Long[] ids);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditSalesmenMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditSalesmenMapper.java
new file mode 100644
index 000000000..a2dc43e71
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditSalesmenMapper.java
@@ -0,0 +1,80 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenMapper.java
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ * @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.EmisCreditSalesmen;
+/**
+ * @ClassName EmisCreditSalesmenMapper
+ * @Description 销售信用额度 Mapper 接口
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ */
+public interface EmisCreditSalesmenMapper extends BaseMapper
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditSalesmen selectEmisCreditSalesmenById(Long id);
+
+ /**
+ * 查询列表
+ *
+ * @param emisCreditSalesmen
+ * @return 集合
+ */
+ public List selectEmisCreditSalesmenList(EmisCreditSalesmen emisCreditSalesmen);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmen
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditSalesmen emisCreditSalesmen);
+
+
+ /**
+ * 新增
+ *
+ * @param emisCreditSalesmen
+ * @return
+ */
+ public int insertEmisCreditSalesmen(EmisCreditSalesmen emisCreditSalesmen);
+
+ /**
+ * 修改
+ *
+ * @param emisCreditSalesmen
+ * @return
+ */
+ public int updateEmisCreditSalesmen(EmisCreditSalesmen emisCreditSalesmen);
+
+ /**
+ * 删除
+ *
+ * @param id 主键
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenById(Long id);
+
+ /**
+ * 批量删除
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenByIds(Long[] ids);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditSalesmenRecordMapper.java b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditSalesmenRecordMapper.java
new file mode 100644
index 000000000..bcc3187bf
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/mapper/EmisCreditSalesmenRecordMapper.java
@@ -0,0 +1,80 @@
+/**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenRecordMapper.java
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ * @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.EmisCreditSalesmenRecord;
+/**
+ * @ClassName EmisCreditSalesmenRecordMapper
+ * @Description 销售信用额度记录 Mapper 接口
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ */
+public interface EmisCreditSalesmenRecordMapper extends BaseMapper
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditSalesmenRecord selectEmisCreditSalesmenRecordById(Long id);
+
+ /**
+ * 查询列表
+ *
+ * @param emisCreditSalesmenRecord
+ * @return 集合
+ */
+ public List selectEmisCreditSalesmenRecordList(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmenRecord
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+
+ /**
+ * 新增
+ *
+ * @param emisCreditSalesmenRecord
+ * @return
+ */
+ public int insertEmisCreditSalesmenRecord(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+ /**
+ * 修改
+ *
+ * @param emisCreditSalesmenRecord
+ * @return
+ */
+ public int updateEmisCreditSalesmenRecord(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+ /**
+ * 删除
+ *
+ * @param id 主键
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenRecordById(Long id);
+
+ /**
+ * 批量删除
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenRecordByIds(Long[] ids);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditCustomerRecordService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditCustomerRecordService.java
new file mode 100644
index 000000000..b31cb3c7a
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditCustomerRecordService.java
@@ -0,0 +1,78 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditCustomerRecordService.java
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ * @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.EmisCreditCustomerRecord;
+
+/**
+ * @ClassName EmisCreditCustomerRecordService
+ * @Description 客户信用额度记录
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ */
+public interface IEmisCreditCustomerRecordService
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditCustomerRecord selectEmisCreditCustomerRecordById(Long id);
+
+ /**
+ * 查询客户信用额度记录列表
+ *
+ * @param emisCreditCustomerRecord 客户信用额度记录
+ * @return 客户信用额度记录集合
+ */
+ public List selectEmisCreditCustomerRecordList(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomerRecord
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+ /**
+ * 新增客户信用额度记录
+ *
+ * @param emisCreditCustomerRecord 客户信用额度记录
+ * @return 结果
+ */
+ public int insertEmisCreditCustomerRecord(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+ /**
+ * 修改客户信用额度记录
+ *
+ * @param emisCreditCustomerRecord 客户信用额度记录
+ * @return 结果
+ */
+ public int updateEmisCreditCustomerRecord(EmisCreditCustomerRecord emisCreditCustomerRecord);
+
+ /**
+ * 批量删除客户信用额度记录
+ *
+ * @param ids 需要删除的客户信用额度记录主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerRecordByIds(Long[] ids);
+
+ /**
+ * 删除客户信用额度记录信息
+ *
+ * @param id 客户信用额度记录主键
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerRecordById(Long id);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditCustomerService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditCustomerService.java
new file mode 100644
index 000000000..8fa4dcebb
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditCustomerService.java
@@ -0,0 +1,78 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditCustomerService.java
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ * @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.EmisCreditCustomer;
+
+/**
+ * @ClassName EmisCreditCustomerService
+ * @Description 客户信用额度表
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ */
+public interface IEmisCreditCustomerService
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditCustomer selectEmisCreditCustomerById(Long id);
+
+ /**
+ * 查询客户信用额度表列表
+ *
+ * @param emisCreditCustomer 客户信用额度表
+ * @return 客户信用额度表集合
+ */
+ public List selectEmisCreditCustomerList(EmisCreditCustomer emisCreditCustomer);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomer
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditCustomer emisCreditCustomer);
+
+ /**
+ * 新增客户信用额度表
+ *
+ * @param emisCreditCustomer 客户信用额度表
+ * @return 结果
+ */
+ public int insertEmisCreditCustomer(EmisCreditCustomer emisCreditCustomer);
+
+ /**
+ * 修改客户信用额度表
+ *
+ * @param emisCreditCustomer 客户信用额度表
+ * @return 结果
+ */
+ public int updateEmisCreditCustomer(EmisCreditCustomer emisCreditCustomer);
+
+ /**
+ * 批量删除客户信用额度表
+ *
+ * @param ids 需要删除的客户信用额度表主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerByIds(Long[] ids);
+
+ /**
+ * 删除客户信用额度表信息
+ *
+ * @param id 客户信用额度表主键
+ * @return 结果
+ */
+ public int deleteEmisCreditCustomerById(Long id);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditSalesmenRecordService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditSalesmenRecordService.java
new file mode 100644
index 000000000..6745fe150
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditSalesmenRecordService.java
@@ -0,0 +1,78 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenRecordService.java
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ * @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.EmisCreditSalesmenRecord;
+
+/**
+ * @ClassName EmisCreditSalesmenRecordService
+ * @Description 销售信用额度记录
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ */
+public interface IEmisCreditSalesmenRecordService
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditSalesmenRecord selectEmisCreditSalesmenRecordById(Long id);
+
+ /**
+ * 查询销售信用额度记录列表
+ *
+ * @param emisCreditSalesmenRecord 销售信用额度记录
+ * @return 销售信用额度记录集合
+ */
+ public List selectEmisCreditSalesmenRecordList(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmenRecord
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+ /**
+ * 新增销售信用额度记录
+ *
+ * @param emisCreditSalesmenRecord 销售信用额度记录
+ * @return 结果
+ */
+ public int insertEmisCreditSalesmenRecord(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+ /**
+ * 修改销售信用额度记录
+ *
+ * @param emisCreditSalesmenRecord 销售信用额度记录
+ * @return 结果
+ */
+ public int updateEmisCreditSalesmenRecord(EmisCreditSalesmenRecord emisCreditSalesmenRecord);
+
+ /**
+ * 批量删除销售信用额度记录
+ *
+ * @param ids 需要删除的销售信用额度记录主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenRecordByIds(Long[] ids);
+
+ /**
+ * 删除销售信用额度记录信息
+ *
+ * @param id 销售信用额度记录主键
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenRecordById(Long id);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditSalesmenService.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditSalesmenService.java
new file mode 100644
index 000000000..28bbc233b
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/IEmisCreditSalesmenService.java
@@ -0,0 +1,78 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenService.java
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ * @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.EmisCreditSalesmen;
+
+/**
+ * @ClassName EmisCreditSalesmenService
+ * @Description 销售信用额度
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ */
+public interface IEmisCreditSalesmenService
+{
+ /**
+ * 主键查询
+ * @param id
+ * @return
+ */
+ public EmisCreditSalesmen selectEmisCreditSalesmenById(Long id);
+
+ /**
+ * 查询销售信用额度列表
+ *
+ * @param emisCreditSalesmen 销售信用额度
+ * @return 销售信用额度集合
+ */
+ public List selectEmisCreditSalesmenList(EmisCreditSalesmen emisCreditSalesmen);
+
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmen
+ * @return 数量
+ */
+ public int checkUnique(EmisCreditSalesmen emisCreditSalesmen);
+
+ /**
+ * 新增销售信用额度
+ *
+ * @param emisCreditSalesmen 销售信用额度
+ * @return 结果
+ */
+ public int insertEmisCreditSalesmen(EmisCreditSalesmen emisCreditSalesmen);
+
+ /**
+ * 修改销售信用额度
+ *
+ * @param emisCreditSalesmen 销售信用额度
+ * @return 结果
+ */
+ public int updateEmisCreditSalesmen(EmisCreditSalesmen emisCreditSalesmen);
+
+ /**
+ * 批量删除销售信用额度
+ *
+ * @param ids 需要删除的销售信用额度主键集合
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenByIds(Long[] ids);
+
+ /**
+ * 删除销售信用额度信息
+ *
+ * @param id 销售信用额度主键
+ * @return 结果
+ */
+ public int deleteEmisCreditSalesmenById(Long id);
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditCustomerRecordServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditCustomerRecordServiceImpl.java
new file mode 100644
index 000000000..7457dc999
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditCustomerRecordServiceImpl.java
@@ -0,0 +1,117 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditCustomerRecordServiceImpl.java
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ * @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.EmisCreditCustomerRecord;
+import com.xdadan.erp.emis.mapper.EmisCreditCustomerRecordMapper;
+import com.xdadan.erp.emis.service.IEmisCreditCustomerRecordService;
+
+/**
+ * 客户信用额度记录Service业务层处理
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:55
+ */
+@Service
+public class EmisCreditCustomerRecordServiceImpl implements IEmisCreditCustomerRecordService
+{
+ @Autowired
+ private EmisCreditCustomerRecordMapper emisCreditCustomerRecordMapper;
+
+ /**
+ * 查询客户信用额度记录
+ *
+ * @param id 客户信用额度记录主键
+ * @return 客户信用额度记录
+ */
+ @Override
+ public EmisCreditCustomerRecord selectEmisCreditCustomerRecordById(Long id)
+ {
+ return emisCreditCustomerRecordMapper.selectEmisCreditCustomerRecordById(id);
+ }
+
+
+ /**
+ * 查询客户信用额度记录列表
+ *
+ * @param emisCreditCustomerRecord 客户信用额度记录
+ * @return 客户信用额度记录
+ */
+ @Override
+ public List selectEmisCreditCustomerRecordList(EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ return emisCreditCustomerRecordMapper.selectEmisCreditCustomerRecordList(emisCreditCustomerRecord);
+ }
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomerRecord
+ * @return 数量
+ */
+ @Override
+ public int checkUnique(EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ return emisCreditCustomerRecordMapper.checkUnique(emisCreditCustomerRecord);
+ }
+
+ /**
+ * 新增客户信用额度记录
+ *
+ * @param emisCreditCustomerRecord 客户信用额度记录
+ * @return 结果
+ */
+ @Override
+ public int insertEmisCreditCustomerRecord(EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ return emisCreditCustomerRecordMapper.insertEmisCreditCustomerRecord(emisCreditCustomerRecord);
+ }
+
+ /**
+ * 修改客户信用额度记录
+ *
+ * @param emisCreditCustomerRecord 客户信用额度记录
+ * @return 结果
+ */
+ @Override
+ public int updateEmisCreditCustomerRecord(EmisCreditCustomerRecord emisCreditCustomerRecord)
+ {
+ return emisCreditCustomerRecordMapper.updateEmisCreditCustomerRecord(emisCreditCustomerRecord);
+ }
+
+ /**
+ * 批量删除客户信用额度记录
+ *
+ * @param ids 需要删除的客户信用额度记录主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditCustomerRecordByIds(Long[] ids)
+ {
+ return emisCreditCustomerRecordMapper.deleteEmisCreditCustomerRecordByIds(ids);
+ }
+
+ /**
+ * 删除客户信用额度记录信息
+ *
+ * @param id 客户信用额度记录主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditCustomerRecordById(Long id)
+ {
+ return emisCreditCustomerRecordMapper.deleteEmisCreditCustomerRecordById(id);
+ }
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditCustomerServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditCustomerServiceImpl.java
new file mode 100644
index 000000000..593e3613e
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditCustomerServiceImpl.java
@@ -0,0 +1,117 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditCustomerServiceImpl.java
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ * @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.EmisCreditCustomer;
+import com.xdadan.erp.emis.mapper.EmisCreditCustomerMapper;
+import com.xdadan.erp.emis.service.IEmisCreditCustomerService;
+
+/**
+ * 客户信用额度表Service业务层处理
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:54
+ */
+@Service
+public class EmisCreditCustomerServiceImpl implements IEmisCreditCustomerService
+{
+ @Autowired
+ private EmisCreditCustomerMapper emisCreditCustomerMapper;
+
+ /**
+ * 查询客户信用额度表
+ *
+ * @param id 客户信用额度表主键
+ * @return 客户信用额度表
+ */
+ @Override
+ public EmisCreditCustomer selectEmisCreditCustomerById(Long id)
+ {
+ return emisCreditCustomerMapper.selectEmisCreditCustomerById(id);
+ }
+
+
+ /**
+ * 查询客户信用额度表列表
+ *
+ * @param emisCreditCustomer 客户信用额度表
+ * @return 客户信用额度表
+ */
+ @Override
+ public List selectEmisCreditCustomerList(EmisCreditCustomer emisCreditCustomer)
+ {
+ return emisCreditCustomerMapper.selectEmisCreditCustomerList(emisCreditCustomer);
+ }
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditCustomer
+ * @return 数量
+ */
+ @Override
+ public int checkUnique(EmisCreditCustomer emisCreditCustomer)
+ {
+ return emisCreditCustomerMapper.checkUnique(emisCreditCustomer);
+ }
+
+ /**
+ * 新增客户信用额度表
+ *
+ * @param emisCreditCustomer 客户信用额度表
+ * @return 结果
+ */
+ @Override
+ public int insertEmisCreditCustomer(EmisCreditCustomer emisCreditCustomer)
+ {
+ return emisCreditCustomerMapper.insertEmisCreditCustomer(emisCreditCustomer);
+ }
+
+ /**
+ * 修改客户信用额度表
+ *
+ * @param emisCreditCustomer 客户信用额度表
+ * @return 结果
+ */
+ @Override
+ public int updateEmisCreditCustomer(EmisCreditCustomer emisCreditCustomer)
+ {
+ return emisCreditCustomerMapper.updateEmisCreditCustomer(emisCreditCustomer);
+ }
+
+ /**
+ * 批量删除客户信用额度表
+ *
+ * @param ids 需要删除的客户信用额度表主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditCustomerByIds(Long[] ids)
+ {
+ return emisCreditCustomerMapper.deleteEmisCreditCustomerByIds(ids);
+ }
+
+ /**
+ * 删除客户信用额度表信息
+ *
+ * @param id 客户信用额度表主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditCustomerById(Long id)
+ {
+ return emisCreditCustomerMapper.deleteEmisCreditCustomerById(id);
+ }
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditSalesmenRecordServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditSalesmenRecordServiceImpl.java
new file mode 100644
index 000000000..268271935
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditSalesmenRecordServiceImpl.java
@@ -0,0 +1,117 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenRecordServiceImpl.java
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ * @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.EmisCreditSalesmenRecord;
+import com.xdadan.erp.emis.mapper.EmisCreditSalesmenRecordMapper;
+import com.xdadan.erp.emis.service.IEmisCreditSalesmenRecordService;
+
+/**
+ * 销售信用额度记录Service业务层处理
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:57
+ */
+@Service
+public class EmisCreditSalesmenRecordServiceImpl implements IEmisCreditSalesmenRecordService
+{
+ @Autowired
+ private EmisCreditSalesmenRecordMapper emisCreditSalesmenRecordMapper;
+
+ /**
+ * 查询销售信用额度记录
+ *
+ * @param id 销售信用额度记录主键
+ * @return 销售信用额度记录
+ */
+ @Override
+ public EmisCreditSalesmenRecord selectEmisCreditSalesmenRecordById(Long id)
+ {
+ return emisCreditSalesmenRecordMapper.selectEmisCreditSalesmenRecordById(id);
+ }
+
+
+ /**
+ * 查询销售信用额度记录列表
+ *
+ * @param emisCreditSalesmenRecord 销售信用额度记录
+ * @return 销售信用额度记录
+ */
+ @Override
+ public List selectEmisCreditSalesmenRecordList(EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ return emisCreditSalesmenRecordMapper.selectEmisCreditSalesmenRecordList(emisCreditSalesmenRecord);
+ }
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmenRecord
+ * @return 数量
+ */
+ @Override
+ public int checkUnique(EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ return emisCreditSalesmenRecordMapper.checkUnique(emisCreditSalesmenRecord);
+ }
+
+ /**
+ * 新增销售信用额度记录
+ *
+ * @param emisCreditSalesmenRecord 销售信用额度记录
+ * @return 结果
+ */
+ @Override
+ public int insertEmisCreditSalesmenRecord(EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ return emisCreditSalesmenRecordMapper.insertEmisCreditSalesmenRecord(emisCreditSalesmenRecord);
+ }
+
+ /**
+ * 修改销售信用额度记录
+ *
+ * @param emisCreditSalesmenRecord 销售信用额度记录
+ * @return 结果
+ */
+ @Override
+ public int updateEmisCreditSalesmenRecord(EmisCreditSalesmenRecord emisCreditSalesmenRecord)
+ {
+ return emisCreditSalesmenRecordMapper.updateEmisCreditSalesmenRecord(emisCreditSalesmenRecord);
+ }
+
+ /**
+ * 批量删除销售信用额度记录
+ *
+ * @param ids 需要删除的销售信用额度记录主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditSalesmenRecordByIds(Long[] ids)
+ {
+ return emisCreditSalesmenRecordMapper.deleteEmisCreditSalesmenRecordByIds(ids);
+ }
+
+ /**
+ * 删除销售信用额度记录信息
+ *
+ * @param id 销售信用额度记录主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditSalesmenRecordById(Long id)
+ {
+ return emisCreditSalesmenRecordMapper.deleteEmisCreditSalesmenRecordById(id);
+ }
+
+}
diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditSalesmenServiceImpl.java b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditSalesmenServiceImpl.java
new file mode 100644
index 000000000..cafbe65a5
--- /dev/null
+++ b/emis-biz/src/main/java/com/xdadan/erp/emis/service/impl/EmisCreditSalesmenServiceImpl.java
@@ -0,0 +1,117 @@
+ /**
+ * @Project: emis
+ * @Title: EmisCreditSalesmenServiceImpl.java
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ * @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.EmisCreditSalesmen;
+import com.xdadan.erp.emis.mapper.EmisCreditSalesmenMapper;
+import com.xdadan.erp.emis.service.IEmisCreditSalesmenService;
+
+/**
+ * 销售信用额度Service业务层处理
+ *
+ * @author linfso
+ * @date 2025-03-08 16:17:56
+ */
+@Service
+public class EmisCreditSalesmenServiceImpl implements IEmisCreditSalesmenService
+{
+ @Autowired
+ private EmisCreditSalesmenMapper emisCreditSalesmenMapper;
+
+ /**
+ * 查询销售信用额度
+ *
+ * @param id 销售信用额度主键
+ * @return 销售信用额度
+ */
+ @Override
+ public EmisCreditSalesmen selectEmisCreditSalesmenById(Long id)
+ {
+ return emisCreditSalesmenMapper.selectEmisCreditSalesmenById(id);
+ }
+
+
+ /**
+ * 查询销售信用额度列表
+ *
+ * @param emisCreditSalesmen 销售信用额度
+ * @return 销售信用额度
+ */
+ @Override
+ public List selectEmisCreditSalesmenList(EmisCreditSalesmen emisCreditSalesmen)
+ {
+ return emisCreditSalesmenMapper.selectEmisCreditSalesmenList(emisCreditSalesmen);
+ }
+
+ /**
+ * 检查是否重复
+ *
+ * @param emisCreditSalesmen
+ * @return 数量
+ */
+ @Override
+ public int checkUnique(EmisCreditSalesmen emisCreditSalesmen)
+ {
+ return emisCreditSalesmenMapper.checkUnique(emisCreditSalesmen);
+ }
+
+ /**
+ * 新增销售信用额度
+ *
+ * @param emisCreditSalesmen 销售信用额度
+ * @return 结果
+ */
+ @Override
+ public int insertEmisCreditSalesmen(EmisCreditSalesmen emisCreditSalesmen)
+ {
+ return emisCreditSalesmenMapper.insertEmisCreditSalesmen(emisCreditSalesmen);
+ }
+
+ /**
+ * 修改销售信用额度
+ *
+ * @param emisCreditSalesmen 销售信用额度
+ * @return 结果
+ */
+ @Override
+ public int updateEmisCreditSalesmen(EmisCreditSalesmen emisCreditSalesmen)
+ {
+ return emisCreditSalesmenMapper.updateEmisCreditSalesmen(emisCreditSalesmen);
+ }
+
+ /**
+ * 批量删除销售信用额度
+ *
+ * @param ids 需要删除的销售信用额度主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditSalesmenByIds(Long[] ids)
+ {
+ return emisCreditSalesmenMapper.deleteEmisCreditSalesmenByIds(ids);
+ }
+
+ /**
+ * 删除销售信用额度信息
+ *
+ * @param id 销售信用额度主键
+ * @return 结果
+ */
+ @Override
+ public int deleteEmisCreditSalesmenById(Long id)
+ {
+ return emisCreditSalesmenMapper.deleteEmisCreditSalesmenById(id);
+ }
+
+}
diff --git a/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml b/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml
new file mode 100644
index 000000000..b85efb069
--- /dev/null
+++ b/emis-biz/src/main/resources/mapper/EmisCreditCustomerMapper.xml
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, customer_code, cur_money, cur_money_rate, credit_money, currency, trans_type, start_date, end_date, bl_open, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_credit_customer
+
+
+
+
+
+
+
+
+
+ insert into emis_credit_customer
+
+ id,
+ customer_code,
+ cur_money,
+ cur_money_rate,
+ credit_money,
+ currency,
+ trans_type,
+ start_date,
+ end_date,
+ bl_open,
+ remark,
+ tenant_id,
+ del_flag,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ create_site,
+ update_site,
+
+
+ #{id},
+ #{customerCode},
+ #{curMoney},
+ #{curMoneyRate},
+ #{creditMoney},
+ #{currency},
+ #{transType},
+ #{startDate},
+ #{endDate},
+ #{blOpen},
+ #{remark},
+ #{tenantId},
+ #{delFlag},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{createSite},
+ #{updateSite},
+
+
+
+
+ update emis_credit_customer
+
+ customer_code = #{customerCode},
+ cur_money = #{curMoney},
+ cur_money_rate = #{curMoneyRate},
+ credit_money = #{creditMoney},
+ currency = #{currency},
+ trans_type = #{transType},
+ start_date = #{startDate},
+ end_date = #{endDate},
+ bl_open = #{blOpen},
+ remark = #{remark},
+ tenant_id = #{tenantId},
+ 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_credit_customer where id = #{id}
+
+
+
+ delete from emis_credit_customer where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/emis-biz/src/main/resources/mapper/EmisCreditCustomerRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisCreditCustomerRecordMapper.xml
new file mode 100644
index 000000000..23e3bf87e
--- /dev/null
+++ b/emis-biz/src/main/resources/mapper/EmisCreditCustomerRecordMapper.xml
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, customer_code, bill_code, change_type, change_money, pre_balance, back_balance, currency, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_credit_customer_record
+
+
+
+
+
+
+
+
+
+ insert into emis_credit_customer_record
+
+ id,
+ customer_code,
+ bill_code,
+ change_type,
+ change_money,
+ pre_balance,
+ back_balance,
+ currency,
+ remark,
+ del_flag,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ create_site,
+ update_site,
+
+
+ #{id},
+ #{customerCode},
+ #{billCode},
+ #{changeType},
+ #{changeMoney},
+ #{preBalance},
+ #{backBalance},
+ #{currency},
+ #{remark},
+ #{delFlag},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{createSite},
+ #{updateSite},
+
+
+
+
+ update emis_credit_customer_record
+
+ customer_code = #{customerCode},
+ bill_code = #{billCode},
+ change_type = #{changeType},
+ change_money = #{changeMoney},
+ pre_balance = #{preBalance},
+ back_balance = #{backBalance},
+ currency = #{currency},
+ 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_credit_customer_record where id = #{id}
+
+
+
+ delete from emis_credit_customer_record where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml b/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml
new file mode 100644
index 000000000..c781a85df
--- /dev/null
+++ b/emis-biz/src/main/resources/mapper/EmisCreditSalesmenMapper.xml
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, salesmen, cur_money, cur_money_rate, credit_money, currency, trans_type, start_date, end_date, bl_open, bl_lock, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_credit_salesmen
+
+
+
+
+
+
+
+
+
+ insert into emis_credit_salesmen
+
+ id,
+ salesmen,
+ cur_money,
+ cur_money_rate,
+ credit_money,
+ currency,
+ trans_type,
+ start_date,
+ end_date,
+ bl_open,
+ bl_lock,
+ remark,
+ tenant_id,
+ del_flag,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ create_site,
+ update_site,
+
+
+ #{id},
+ #{salesmen},
+ #{curMoney},
+ #{curMoneyRate},
+ #{creditMoney},
+ #{currency},
+ #{transType},
+ #{startDate},
+ #{endDate},
+ #{blOpen},
+ #{blLock},
+ #{remark},
+ #{tenantId},
+ #{delFlag},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{createSite},
+ #{updateSite},
+
+
+
+
+ update emis_credit_salesmen
+
+ salesmen = #{salesmen},
+ cur_money = #{curMoney},
+ cur_money_rate = #{curMoneyRate},
+ credit_money = #{creditMoney},
+ currency = #{currency},
+ trans_type = #{transType},
+ start_date = #{startDate},
+ end_date = #{endDate},
+ bl_open = #{blOpen},
+ bl_lock = #{blLock},
+ remark = #{remark},
+ tenant_id = #{tenantId},
+ 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_credit_salesmen where id = #{id}
+
+
+
+ delete from emis_credit_salesmen where id in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/emis-biz/src/main/resources/mapper/EmisCreditSalesmenRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisCreditSalesmenRecordMapper.xml
new file mode 100644
index 000000000..6439f5832
--- /dev/null
+++ b/emis-biz/src/main/resources/mapper/EmisCreditSalesmenRecordMapper.xml
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, salesmen, bill_code, change_type, change_money, pre_balance, back_balance, currency, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_credit_salesmen_record
+
+
+
+
+
+
+
+
+
+ insert into emis_credit_salesmen_record
+
+ id,
+ salesmen,
+ bill_code,
+ change_type,
+ change_money,
+ pre_balance,
+ back_balance,
+ currency,
+ remark,
+ del_flag,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ create_site,
+ update_site,
+
+
+ #{id},
+ #{salesmen},
+ #{billCode},
+ #{changeType},
+ #{changeMoney},
+ #{preBalance},
+ #{backBalance},
+ #{currency},
+ #{remark},
+ #{delFlag},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{createSite},
+ #{updateSite},
+
+
+
+
+ update emis_credit_salesmen_record
+
+ salesmen = #{salesmen},
+ bill_code = #{billCode},
+ change_type = #{changeType},
+ change_money = #{changeMoney},
+ pre_balance = #{preBalance},
+ back_balance = #{backBalance},
+ currency = #{currency},
+ 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_credit_salesmen_record where id = #{id}
+
+
+
+ delete from emis_credit_salesmen_record where id in
+
+ #{id}
+
+
+
\ No newline at end of file