diff --git a/ktg-admin/src/main/resources/mapper/wm/WmsSupplierMapper.xml b/ktg-admin/src/main/resources/mapper/wm/WmsSupplierMapper.xml
new file mode 100644
index 0000000..212abed
--- /dev/null
+++ b/ktg-admin/src/main/resources/mapper/wm/WmsSupplierMapper.xml
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select ID, SUPPLIER_NAME, SUPPLIER_TYPE_NAME, SUPPLIER_TYPE_CODE, CONTACT_NAME, CONTACT_PHONE, CONTACT_EMAIL, CONTACT_ADDRESS, REGION, WEBSITE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, IS_DELETE from WMS_SUPPLIER
+
+
+
+
+
+
+
+ insert into WMS_SUPPLIER
+
+ SUPPLIER_NAME,
+ SUPPLIER_TYPE_NAME,
+ SUPPLIER_TYPE_CODE,
+ CONTACT_NAME,
+ CONTACT_PHONE,
+ CONTACT_EMAIL,
+ CONTACT_ADDRESS,
+ REGION,
+ WEBSITE,
+ CREATE_BY,
+ CREATE_TIME,
+ UPDATE_BY,
+ UPDATE_TIME,
+ IS_DELETE,
+
+
+ #{supplierName},
+ #{supplierTypeName},
+ #{supplierTypeCode},
+ #{contactName},
+ #{contactPhone},
+ #{contactEmail},
+ #{contactAddress},
+ #{region},
+ #{website},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{isDelete},
+
+
+
+
+ update WMS_SUPPLIER
+
+ SUPPLIER_NAME = #{supplierName},
+ SUPPLIER_TYPE_NAME = #{supplierTypeName},
+ SUPPLIER_TYPE_CODE = #{supplierTypeCode},
+ CONTACT_NAME = #{contactName},
+ CONTACT_PHONE = #{contactPhone},
+ CONTACT_EMAIL = #{contactEmail},
+ CONTACT_ADDRESS = #{contactAddress},
+ REGION = #{region},
+ WEBSITE = #{website},
+ CREATE_BY = #{createBy},
+ CREATE_TIME = #{createTime},
+ UPDATE_BY = #{updateBy},
+ UPDATE_TIME = #{updateTime},
+ IS_DELETE = #{isDelete},
+
+ where ID = #{id}
+
+
+
+ delete from WMS_SUPPLIER where ID = #{id}
+
+
+
+ delete from WMS_SUPPLIER where ID in
+
+ #{id}
+
+
+
\ No newline at end of file
diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsSupplierController.java b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsSupplierController.java
new file mode 100644
index 0000000..1bcd125
--- /dev/null
+++ b/ktg-mes/src/main/java/com/ktg/mes/wm/controller/WmsSupplierController.java
@@ -0,0 +1,104 @@
+package com.ktg.mes.wm.controller;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+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.ktg.common.annotation.Log;
+import com.ktg.common.core.controller.BaseController;
+import com.ktg.common.core.domain.AjaxResult;
+import com.ktg.common.enums.BusinessType;
+import com.ktg.mes.wm.domain.WmsSupplier;
+import com.ktg.mes.wm.service.IWmsSupplierService;
+import com.ktg.common.utils.poi.ExcelUtil;
+import com.ktg.common.core.page.TableDataInfo;
+
+/**
+ * 供应商基础信息Controller
+ *
+ * @author yinjinlu
+ * @date 2024-11-20
+ */
+@RestController
+@RequestMapping("/wm/wmsSupplier")
+public class WmsSupplierController extends BaseController
+{
+ @Autowired
+ private IWmsSupplierService wmsSupplierService;
+
+ /**
+ * 查询供应商基础信息列表
+ */
+ @PreAuthorize("@ss.hasPermi('wm:wmsSupplier:list')")
+ @GetMapping("/list")
+ public TableDataInfo list(WmsSupplier wmsSupplier)
+ {
+ startPage();
+ List list = wmsSupplierService.selectWmsSupplierList(wmsSupplier);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出供应商基础信息列表
+ */
+ @PreAuthorize("@ss.hasPermi('wm:wmsSupplier:export')")
+ @Log(title = "供应商基础信息", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ public void export(HttpServletResponse response, WmsSupplier wmsSupplier)
+ {
+ List list = wmsSupplierService.selectWmsSupplierList(wmsSupplier);
+ ExcelUtil util = new ExcelUtil(WmsSupplier.class);
+ util.exportExcel(response, list, "供应商基础信息数据");
+ }
+
+ /**
+ * 获取供应商基础信息详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('wm:wmsSupplier:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(wmsSupplierService.selectWmsSupplierById(id));
+ }
+
+ /**
+ * 新增供应商基础信息
+ */
+ @PreAuthorize("@ss.hasPermi('wm:wmsSupplier:add')")
+ @Log(title = "供应商基础信息", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody WmsSupplier wmsSupplier)
+ {
+ return toAjax(wmsSupplierService.insertWmsSupplier(wmsSupplier));
+ }
+
+ /**
+ * 修改供应商基础信息
+ */
+ @PreAuthorize("@ss.hasPermi('wm:wmsSupplier:edit')")
+ @Log(title = "供应商基础信息", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody WmsSupplier wmsSupplier)
+ {
+ return toAjax(wmsSupplierService.updateWmsSupplier(wmsSupplier));
+ }
+
+ /**
+ * 删除供应商基础信息
+ */
+ @PreAuthorize("@ss.hasPermi('wm:wmsSupplier:remove')")
+ @Log(title = "供应商基础信息", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(wmsSupplierService.deleteWmsSupplierByIds(ids));
+ }
+}
diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsSupplier.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsSupplier.java
new file mode 100644
index 0000000..cf8d2dd
--- /dev/null
+++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsSupplier.java
@@ -0,0 +1,181 @@
+package com.ktg.mes.wm.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ktg.common.annotation.Excel;
+import com.ktg.common.core.domain.BaseEntity;
+
+/**
+ * 供应商基础信息对象 WMS_SUPPLIER
+ *
+ * @author yinjinlu
+ * @date 2024-11-20
+ */
+public class WmsSupplier extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键 */
+ private Long id;
+
+ /** 供应商名称 */
+ @Excel(name = "供应商名称")
+ private String supplierName;
+
+ /** 供应商类型名称 */
+ @Excel(name = "供应商类型名称")
+ private String supplierTypeName;
+
+ /** 供应商类型编码 */
+ @Excel(name = "供应商类型编码")
+ private String supplierTypeCode;
+
+ /** 主要联系人姓名 */
+ @Excel(name = "主要联系人姓名")
+ private String contactName;
+
+ /** 联系人电话 */
+ @Excel(name = "联系人电话")
+ private String contactPhone;
+
+ /** 联系人电子邮箱 */
+ @Excel(name = "联系人电子邮箱")
+ private String contactEmail;
+
+ /** 联系地址 */
+ @Excel(name = "联系地址")
+ private String contactAddress;
+
+ /** 供应商所在地理位置/地区 */
+ @Excel(name = "供应商所在地理位置/地区")
+ private String region;
+
+ /** 供应商公司官网 */
+ @Excel(name = "供应商公司官网")
+ private String website;
+
+ /** $column.columnComment */
+ @Excel(name = "供应商公司官网")
+ private String isDelete;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setSupplierName(String supplierName)
+ {
+ this.supplierName = supplierName;
+ }
+
+ public String getSupplierName()
+ {
+ return supplierName;
+ }
+ public void setSupplierTypeName(String supplierTypeName)
+ {
+ this.supplierTypeName = supplierTypeName;
+ }
+
+ public String getSupplierTypeName()
+ {
+ return supplierTypeName;
+ }
+ public void setSupplierTypeCode(String supplierTypeCode)
+ {
+ this.supplierTypeCode = supplierTypeCode;
+ }
+
+ public String getSupplierTypeCode()
+ {
+ return supplierTypeCode;
+ }
+ public void setContactName(String contactName)
+ {
+ this.contactName = contactName;
+ }
+
+ public String getContactName()
+ {
+ return contactName;
+ }
+ public void setContactPhone(String contactPhone)
+ {
+ this.contactPhone = contactPhone;
+ }
+
+ public String getContactPhone()
+ {
+ return contactPhone;
+ }
+ public void setContactEmail(String contactEmail)
+ {
+ this.contactEmail = contactEmail;
+ }
+
+ public String getContactEmail()
+ {
+ return contactEmail;
+ }
+ public void setContactAddress(String contactAddress)
+ {
+ this.contactAddress = contactAddress;
+ }
+
+ public String getContactAddress()
+ {
+ return contactAddress;
+ }
+ public void setRegion(String region)
+ {
+ this.region = region;
+ }
+
+ public String getRegion()
+ {
+ return region;
+ }
+ public void setWebsite(String website)
+ {
+ this.website = website;
+ }
+
+ public String getWebsite()
+ {
+ return website;
+ }
+ public void setIsDelete(String isDelete)
+ {
+ this.isDelete = isDelete;
+ }
+
+ public String getIsDelete()
+ {
+ return isDelete;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("supplierName", getSupplierName())
+ .append("supplierTypeName", getSupplierTypeName())
+ .append("supplierTypeCode", getSupplierTypeCode())
+ .append("contactName", getContactName())
+ .append("contactPhone", getContactPhone())
+ .append("contactEmail", getContactEmail())
+ .append("contactAddress", getContactAddress())
+ .append("region", getRegion())
+ .append("website", getWebsite())
+ .append("createBy", getCreateBy())
+ .append("createTime", getCreateTime())
+ .append("updateBy", getUpdateBy())
+ .append("updateTime", getUpdateTime())
+ .append("isDelete", getIsDelete())
+ .toString();
+ }
+}
diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsSupplierMapper.java b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsSupplierMapper.java
new file mode 100644
index 0000000..3dc4fed
--- /dev/null
+++ b/ktg-mes/src/main/java/com/ktg/mes/wm/mapper/WmsSupplierMapper.java
@@ -0,0 +1,61 @@
+package com.ktg.mes.wm.mapper;
+
+import java.util.List;
+import com.ktg.mes.wm.domain.WmsSupplier;
+
+/**
+ * 供应商基础信息Mapper接口
+ *
+ * @author yinjinlu
+ * @date 2024-11-20
+ */
+public interface WmsSupplierMapper
+{
+ /**
+ * 查询供应商基础信息
+ *
+ * @param id 供应商基础信息主键
+ * @return 供应商基础信息
+ */
+ public WmsSupplier selectWmsSupplierById(Long id);
+
+ /**
+ * 查询供应商基础信息列表
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 供应商基础信息集合
+ */
+ public List selectWmsSupplierList(WmsSupplier wmsSupplier);
+
+ /**
+ * 新增供应商基础信息
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 结果
+ */
+ public int insertWmsSupplier(WmsSupplier wmsSupplier);
+
+ /**
+ * 修改供应商基础信息
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 结果
+ */
+ public int updateWmsSupplier(WmsSupplier wmsSupplier);
+
+ /**
+ * 删除供应商基础信息
+ *
+ * @param id 供应商基础信息主键
+ * @return 结果
+ */
+ public int deleteWmsSupplierById(Long id);
+
+ /**
+ * 批量删除供应商基础信息
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteWmsSupplierByIds(Long[] ids);
+}
diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmsSupplierService.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmsSupplierService.java
new file mode 100644
index 0000000..b50021a
--- /dev/null
+++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/IWmsSupplierService.java
@@ -0,0 +1,61 @@
+package com.ktg.mes.wm.service;
+
+import java.util.List;
+import com.ktg.mes.wm.domain.WmsSupplier;
+
+/**
+ * 供应商基础信息Service接口
+ *
+ * @author yinjinlu
+ * @date 2024-11-20
+ */
+public interface IWmsSupplierService
+{
+ /**
+ * 查询供应商基础信息
+ *
+ * @param id 供应商基础信息主键
+ * @return 供应商基础信息
+ */
+ public WmsSupplier selectWmsSupplierById(Long id);
+
+ /**
+ * 查询供应商基础信息列表
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 供应商基础信息集合
+ */
+ public List selectWmsSupplierList(WmsSupplier wmsSupplier);
+
+ /**
+ * 新增供应商基础信息
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 结果
+ */
+ public int insertWmsSupplier(WmsSupplier wmsSupplier);
+
+ /**
+ * 修改供应商基础信息
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 结果
+ */
+ public int updateWmsSupplier(WmsSupplier wmsSupplier);
+
+ /**
+ * 批量删除供应商基础信息
+ *
+ * @param ids 需要删除的供应商基础信息主键集合
+ * @return 结果
+ */
+ public int deleteWmsSupplierByIds(Long[] ids);
+
+ /**
+ * 删除供应商基础信息信息
+ *
+ * @param id 供应商基础信息主键
+ * @return 结果
+ */
+ public int deleteWmsSupplierById(Long id);
+}
diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsSupplierServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsSupplierServiceImpl.java
new file mode 100644
index 0000000..3ecf52e
--- /dev/null
+++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsSupplierServiceImpl.java
@@ -0,0 +1,96 @@
+package com.ktg.mes.wm.service.impl;
+
+import java.util.List;
+import com.ktg.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ktg.mes.wm.mapper.WmsSupplierMapper;
+import com.ktg.mes.wm.domain.WmsSupplier;
+import com.ktg.mes.wm.service.IWmsSupplierService;
+
+/**
+ * 供应商基础信息Service业务层处理
+ *
+ * @author yinjinlu
+ * @date 2024-11-20
+ */
+@Service
+public class WmsSupplierServiceImpl implements IWmsSupplierService
+{
+ @Autowired
+ private WmsSupplierMapper wmsSupplierMapper;
+
+ /**
+ * 查询供应商基础信息
+ *
+ * @param id 供应商基础信息主键
+ * @return 供应商基础信息
+ */
+ @Override
+ public WmsSupplier selectWmsSupplierById(Long id)
+ {
+ return wmsSupplierMapper.selectWmsSupplierById(id);
+ }
+
+ /**
+ * 查询供应商基础信息列表
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 供应商基础信息
+ */
+ @Override
+ public List selectWmsSupplierList(WmsSupplier wmsSupplier)
+ {
+ return wmsSupplierMapper.selectWmsSupplierList(wmsSupplier);
+ }
+
+ /**
+ * 新增供应商基础信息
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 结果
+ */
+ @Override
+ public int insertWmsSupplier(WmsSupplier wmsSupplier)
+ {
+ wmsSupplier.setCreateTime(DateUtils.getNowDate());
+ return wmsSupplierMapper.insertWmsSupplier(wmsSupplier);
+ }
+
+ /**
+ * 修改供应商基础信息
+ *
+ * @param wmsSupplier 供应商基础信息
+ * @return 结果
+ */
+ @Override
+ public int updateWmsSupplier(WmsSupplier wmsSupplier)
+ {
+ wmsSupplier.setUpdateTime(DateUtils.getNowDate());
+ return wmsSupplierMapper.updateWmsSupplier(wmsSupplier);
+ }
+
+ /**
+ * 批量删除供应商基础信息
+ *
+ * @param ids 需要删除的供应商基础信息主键
+ * @return 结果
+ */
+ @Override
+ public int deleteWmsSupplierByIds(Long[] ids)
+ {
+ return wmsSupplierMapper.deleteWmsSupplierByIds(ids);
+ }
+
+ /**
+ * 删除供应商基础信息信息
+ *
+ * @param id 供应商基础信息主键
+ * @return 结果
+ */
+ @Override
+ public int deleteWmsSupplierById(Long id)
+ {
+ return wmsSupplierMapper.deleteWmsSupplierById(id);
+ }
+}