初步 提交客户/供应商管理
This commit is contained in:
+225
@@ -0,0 +1,225 @@
|
||||
package com.ruoyi.customer.supplierinfo.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
import com.ruoyi.customer.customerinfo.domain.BmsCustomerAttachment;
|
||||
import com.ruoyi.customer.customerinfo.domain.BmsCustomerCompany;
|
||||
|
||||
/**
|
||||
* 供应商主对象 bms_supplier
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-09-09
|
||||
*/
|
||||
public class BmsSupplier extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 供应商ID(UUID) */
|
||||
private String supplierId;
|
||||
|
||||
/** 供应商编码 */
|
||||
@Excel(name = "供应商编码")
|
||||
private String supplierCode;
|
||||
|
||||
/** 供应商名称 */
|
||||
@Excel(name = "供应商名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 对外代码 */
|
||||
@Excel(name = "对外代码")
|
||||
private String supplierCodeDw;
|
||||
|
||||
/** 统一社会信用代码 */
|
||||
@Excel(name = "统一社会信用代码")
|
||||
private String creditCode;
|
||||
|
||||
/** 供应商类型(0生产商 1代理商 2个人 3物流商 4其他) */
|
||||
@Excel(name = "供应商类型", readConverterExp = "0=生产商,1=代理商,2=个人,3=物流商,4=其他")
|
||||
private String supplierType;
|
||||
|
||||
/** 启用状态(0正常 1停用) */
|
||||
@Excel(name = "启用状态", readConverterExp = "0=正常,1=停用")
|
||||
private String isEnable;
|
||||
|
||||
/** 采购员用户ID */
|
||||
@Excel(name = "采购员用户ID")
|
||||
private String purchaserUserId;
|
||||
|
||||
/** 采购员姓名 */
|
||||
@Excel(name = "采购员姓名")
|
||||
private String purchaserUser;
|
||||
|
||||
/** 结算员用户ID */
|
||||
@Excel(name = "结算员用户ID")
|
||||
private String settlementUserId;
|
||||
|
||||
/** 结算员姓名 */
|
||||
@Excel(name = "结算员姓名")
|
||||
private String settlementUser;
|
||||
|
||||
/** 跟单员用户ID */
|
||||
@Excel(name = "跟单员用户ID")
|
||||
private String serviceUserId;
|
||||
|
||||
/** 跟单员姓名 */
|
||||
@Excel(name = "跟单员姓名")
|
||||
private String serviceUser;
|
||||
|
||||
/** 应付额度(元) */
|
||||
@Excel(name = "应付额度")
|
||||
private BigDecimal ed;
|
||||
|
||||
/** 应付账期(天) */
|
||||
@Excel(name = "应付账期")
|
||||
private Long zq;
|
||||
|
||||
/** 结算方式(0月结 1周结 2日结 3票结) */
|
||||
@Excel(name = "结算方式", readConverterExp = "0=月结,1=周结,2=日结,3=票结")
|
||||
private String settlementType;
|
||||
|
||||
/** 临时额度(元) */
|
||||
@Excel(name = "临时额度")
|
||||
private BigDecimal tempEd;
|
||||
|
||||
/** 应付余额(元) */
|
||||
@Excel(name = "应付余额")
|
||||
private BigDecimal accountBalance;
|
||||
|
||||
/** 外币应付余额(元) */
|
||||
@Excel(name = "外币应付余额")
|
||||
private BigDecimal foreignCurrencyBalance;
|
||||
|
||||
/** 信用额度(元) */
|
||||
@Excel(name = "信用额度")
|
||||
private BigDecimal creditEd;
|
||||
|
||||
/** 重量阈值(kg) */
|
||||
@Excel(name = "重量阈值")
|
||||
private BigDecimal weightThreshold;
|
||||
|
||||
/** 抛比(%) */
|
||||
@Excel(name = "抛比")
|
||||
private BigDecimal throwRatio;
|
||||
|
||||
/** 合作开始日期 */
|
||||
@Excel(name = "合作开始日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date cooperationStartDate;
|
||||
|
||||
/** 合作状态(0正常 1暂停 2终止) */
|
||||
@Excel(name = "合作状态", readConverterExp = "0=正常,1=暂停,2=终止")
|
||||
private String cooperationStatus;
|
||||
|
||||
/** 绑定的渠道/服务ID */
|
||||
private String channelIds;
|
||||
|
||||
/** 附件列表(子表 bms_customer_attachment 共用) */
|
||||
private List<BmsCustomerAttachment> attachmentList;
|
||||
|
||||
/** 公司主体列表(子表 bms_customer_company 共用) */
|
||||
private List<BmsCustomerCompany> companyList;
|
||||
|
||||
/** 删除标记(0正常 2删除) */
|
||||
private String delFlag;
|
||||
|
||||
public void setSupplierId(String supplierId) { this.supplierId = supplierId; }
|
||||
public String getSupplierId() { return supplierId; }
|
||||
public void setSupplierCode(String supplierCode) { this.supplierCode = supplierCode; }
|
||||
public String getSupplierCode() { return supplierCode; }
|
||||
public void setSupplierName(String supplierName) { this.supplierName = supplierName; }
|
||||
public String getSupplierName() { return supplierName; }
|
||||
public void setSupplierCodeDw(String supplierCodeDw) { this.supplierCodeDw = supplierCodeDw; }
|
||||
public String getSupplierCodeDw() { return supplierCodeDw; }
|
||||
public void setCreditCode(String creditCode) { this.creditCode = creditCode; }
|
||||
public String getCreditCode() { return creditCode; }
|
||||
public void setSupplierType(String supplierType) { this.supplierType = supplierType; }
|
||||
public String getSupplierType() { return supplierType; }
|
||||
public void setIsEnable(String isEnable) { this.isEnable = isEnable; }
|
||||
public String getIsEnable() { return isEnable; }
|
||||
public void setPurchaserUserId(String purchaserUserId) { this.purchaserUserId = purchaserUserId; }
|
||||
public String getPurchaserUserId() { return purchaserUserId; }
|
||||
public void setPurchaserUser(String purchaserUser) { this.purchaserUser = purchaserUser; }
|
||||
public String getPurchaserUser() { return purchaserUser; }
|
||||
public void setSettlementUserId(String settlementUserId) { this.settlementUserId = settlementUserId; }
|
||||
public String getSettlementUserId() { return settlementUserId; }
|
||||
public void setSettlementUser(String settlementUser) { this.settlementUser = settlementUser; }
|
||||
public String getSettlementUser() { return settlementUser; }
|
||||
public void setServiceUserId(String serviceUserId) { this.serviceUserId = serviceUserId; }
|
||||
public String getServiceUserId() { return serviceUserId; }
|
||||
public void setServiceUser(String serviceUser) { this.serviceUser = serviceUser; }
|
||||
public String getServiceUser() { return serviceUser; }
|
||||
public void setEd(BigDecimal ed) { this.ed = ed; }
|
||||
public BigDecimal getEd() { return ed; }
|
||||
public void setZq(Long zq) { this.zq = zq; }
|
||||
public Long getZq() { return zq; }
|
||||
public void setSettlementType(String settlementType) { this.settlementType = settlementType; }
|
||||
public String getSettlementType() { return settlementType; }
|
||||
public void setTempEd(BigDecimal tempEd) { this.tempEd = tempEd; }
|
||||
public BigDecimal getTempEd() { return tempEd; }
|
||||
public void setAccountBalance(BigDecimal accountBalance) { this.accountBalance = accountBalance; }
|
||||
public BigDecimal getAccountBalance() { return accountBalance; }
|
||||
public void setForeignCurrencyBalance(BigDecimal foreignCurrencyBalance) { this.foreignCurrencyBalance = foreignCurrencyBalance; }
|
||||
public BigDecimal getForeignCurrencyBalance() { return foreignCurrencyBalance; }
|
||||
public void setCreditEd(BigDecimal creditEd) { this.creditEd = creditEd; }
|
||||
public BigDecimal getCreditEd() { return creditEd; }
|
||||
public void setWeightThreshold(BigDecimal weightThreshold) { this.weightThreshold = weightThreshold; }
|
||||
public BigDecimal getWeightThreshold() { return weightThreshold; }
|
||||
public void setThrowRatio(BigDecimal throwRatio) { this.throwRatio = throwRatio; }
|
||||
public BigDecimal getThrowRatio() { return throwRatio; }
|
||||
public void setCooperationStartDate(Date cooperationStartDate) { this.cooperationStartDate = cooperationStartDate; }
|
||||
public Date getCooperationStartDate() { return cooperationStartDate; }
|
||||
public void setCooperationStatus(String cooperationStatus) { this.cooperationStatus = cooperationStatus; }
|
||||
public String getCooperationStatus() { return cooperationStatus; }
|
||||
public void setChannelIds(String channelIds) { this.channelIds = channelIds; }
|
||||
public String getChannelIds() { return channelIds; }
|
||||
public void setAttachmentList(List<BmsCustomerAttachment> attachmentList) { this.attachmentList = attachmentList; }
|
||||
public List<BmsCustomerAttachment> getAttachmentList() { return attachmentList; }
|
||||
public void setCompanyList(List<BmsCustomerCompany> companyList) { this.companyList = companyList; }
|
||||
public List<BmsCustomerCompany> getCompanyList() { return companyList; }
|
||||
public void setDelFlag(String delFlag) { this.delFlag = delFlag; }
|
||||
public String getDelFlag() { return delFlag; }
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("supplierId", getSupplierId())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("supplierCodeDw", getSupplierCodeDw())
|
||||
.append("creditCode", getCreditCode())
|
||||
.append("supplierType", getSupplierType())
|
||||
.append("isEnable", getIsEnable())
|
||||
.append("purchaserUserId", getPurchaserUserId())
|
||||
.append("purchaserUser", getPurchaserUser())
|
||||
.append("settlementUserId", getSettlementUserId())
|
||||
.append("settlementUser", getSettlementUser())
|
||||
.append("serviceUserId", getServiceUserId())
|
||||
.append("serviceUser", getServiceUser())
|
||||
.append("ed", getEd())
|
||||
.append("zq", getZq())
|
||||
.append("settlementType", getSettlementType())
|
||||
.append("tempEd", getTempEd())
|
||||
.append("accountBalance", getAccountBalance())
|
||||
.append("foreignCurrencyBalance", getForeignCurrencyBalance())
|
||||
.append("creditEd", getCreditEd())
|
||||
.append("weightThreshold", getWeightThreshold())
|
||||
.append("throwRatio", getThrowRatio())
|
||||
.append("cooperationStartDate", getCooperationStartDate())
|
||||
.append("cooperationStatus", getCooperationStatus())
|
||||
.append("channelIds", getChannelIds())
|
||||
.append("attachmentList", getAttachmentList())
|
||||
.append("companyList", getCompanyList())
|
||||
.append("remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package com.ruoyi.customer.supplierinfo.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.customer.supplierinfo.domain.BmsSupplier;
|
||||
|
||||
/**
|
||||
* 供应商主Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-09-09
|
||||
*/
|
||||
public interface BmsSupplierMapper
|
||||
{
|
||||
/** 查询供应商 */
|
||||
public BmsSupplier selectBmsSupplierBySupplierId(String supplierId);
|
||||
|
||||
/** 查询供应商列表 */
|
||||
public List<BmsSupplier> selectBmsSupplierList(BmsSupplier bmsSupplier);
|
||||
|
||||
/** 新增供应商 */
|
||||
public int insertBmsSupplier(BmsSupplier bmsSupplier);
|
||||
|
||||
/** 修改供应商 */
|
||||
public int updateBmsSupplier(BmsSupplier bmsSupplier);
|
||||
|
||||
/** 删除供应商 */
|
||||
public int deleteBmsSupplierBySupplierId(String supplierId);
|
||||
|
||||
/** 批量删除供应商 */
|
||||
public int deleteBmsSupplierBySupplierIds(String[] supplierIds);
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package com.ruoyi.customer.supplierinfo.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.customer.customerinfo.domain.BmsCustomerAttachment;
|
||||
import com.ruoyi.customer.customerinfo.domain.BmsCustomerCompany;
|
||||
import com.ruoyi.customer.supplierinfo.domain.BmsSupplier;
|
||||
|
||||
/**
|
||||
* 供应商主Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-09-09
|
||||
*/
|
||||
public interface IBmsSupplierService
|
||||
{
|
||||
/** 查询供应商 */
|
||||
public BmsSupplier selectBmsSupplierBySupplierId(String supplierId);
|
||||
|
||||
/** 查询供应商列表 */
|
||||
public List<BmsSupplier> selectBmsSupplierList(BmsSupplier bmsSupplier);
|
||||
|
||||
/** 新增供应商 */
|
||||
public int insertBmsSupplier(BmsSupplier bmsSupplier);
|
||||
|
||||
/** 修改供应商 */
|
||||
public int updateBmsSupplier(BmsSupplier bmsSupplier);
|
||||
|
||||
/** 批量删除供应商 */
|
||||
public int deleteBmsSupplierBySupplierIds(String[] supplierIds);
|
||||
|
||||
/** 删除供应商 */
|
||||
public int deleteBmsSupplierBySupplierId(String supplierId);
|
||||
|
||||
/** 查询供应商附件列表(子表共用) */
|
||||
public List<BmsCustomerAttachment> selectBmsSupplierAttachmentList(BmsCustomerAttachment attachment);
|
||||
|
||||
/** 查询供应商公司主体列表(子表共用) */
|
||||
public List<BmsCustomerCompany> selectBmsSupplierCompanyList(BmsCustomerCompany company);
|
||||
}
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
package com.ruoyi.customer.supplierinfo.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.common.core.domain.entity.SysUser;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import com.ruoyi.common.utils.SecurityUtils;
|
||||
import com.ruoyi.common.utils.uuid.IdUtils;
|
||||
import com.ruoyi.customer.customerinfo.domain.BmsCustomerAttachment;
|
||||
import com.ruoyi.customer.customerinfo.domain.BmsCustomerCompany;
|
||||
import com.ruoyi.customer.customerinfo.mapper.BmsCustomerMapper;
|
||||
import com.ruoyi.customer.supplierinfo.domain.BmsSupplier;
|
||||
import com.ruoyi.customer.supplierinfo.mapper.BmsSupplierMapper;
|
||||
import com.ruoyi.customer.supplierinfo.service.IBmsSupplierService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* 供应商主Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-09-09
|
||||
*/
|
||||
@Service
|
||||
public class BmsSupplierServiceImpl implements IBmsSupplierService
|
||||
{
|
||||
@Autowired
|
||||
private BmsSupplierMapper bmsSupplierMapper;
|
||||
|
||||
/** 子表 Mapper 复用客户模块(bms_customer_attachment / bms_customer_company 物理表共用,customer_id 列实际存 supplier_id) */
|
||||
@Autowired
|
||||
private BmsCustomerMapper bmsCustomerMapper;
|
||||
|
||||
@Override
|
||||
public BmsSupplier selectBmsSupplierBySupplierId(String supplierId)
|
||||
{
|
||||
BmsSupplier bmsSupplier = bmsSupplierMapper.selectBmsSupplierBySupplierId(supplierId);
|
||||
if (bmsSupplier != null)
|
||||
{
|
||||
// 复用子表查询,customer_id 实际传入 supplier_id
|
||||
BmsCustomerAttachment attachQuery = new BmsCustomerAttachment();
|
||||
attachQuery.setCustomerId(supplierId);
|
||||
bmsSupplier.setAttachmentList(bmsCustomerMapper.selectBmsCustomerAttachmentList(attachQuery));
|
||||
BmsCustomerCompany companyQuery = new BmsCustomerCompany();
|
||||
companyQuery.setCustomerId(supplierId);
|
||||
bmsSupplier.setCompanyList(bmsCustomerMapper.selectBmsCustomerCompanyList(companyQuery));
|
||||
}
|
||||
return bmsSupplier;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<BmsSupplier> selectBmsSupplierList(BmsSupplier bmsSupplier)
|
||||
{
|
||||
return bmsSupplierMapper.selectBmsSupplierList(bmsSupplier);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<BmsCustomerAttachment> selectBmsSupplierAttachmentList(BmsCustomerAttachment attachment)
|
||||
{
|
||||
return bmsCustomerMapper.selectBmsCustomerAttachmentList(attachment);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<BmsCustomerCompany> selectBmsSupplierCompanyList(BmsCustomerCompany company)
|
||||
{
|
||||
return bmsCustomerMapper.selectBmsCustomerCompanyList(company);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量保存供应商附件(复用子表,把 supplierId 设置到 customerId 字段)
|
||||
*/
|
||||
private void saveBmsSupplierAttachments(String supplierId, List<BmsCustomerAttachment> attachmentList)
|
||||
{
|
||||
if (attachmentList == null || attachmentList.isEmpty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
SysUser user = SecurityUtils.getLoginUser().getUser();
|
||||
for (BmsCustomerAttachment item : attachmentList)
|
||||
{
|
||||
item.setCustomerId(supplierId);
|
||||
if (item.getDelFlag() == null)
|
||||
{
|
||||
item.setDelFlag("0");
|
||||
}
|
||||
if (item.getAttachmentId() != null)
|
||||
{
|
||||
item.setUpdateBy(user.getUserName());
|
||||
item.setUpdateTime(DateUtils.getNowDate());
|
||||
bmsCustomerMapper.updateBmsCustomerAttachment(item);
|
||||
}
|
||||
else
|
||||
{
|
||||
item.setCreateBy(user.getUserName());
|
||||
item.setCreateTime(DateUtils.getNowDate());
|
||||
bmsCustomerMapper.insertBmsCustomerAttachment(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量保存供应商公司主体(复用子表,把 supplierId 设置到 customerId 字段)
|
||||
*/
|
||||
private void saveBmsSupplierCompanies(String supplierId, List<BmsCustomerCompany> companyList)
|
||||
{
|
||||
if (companyList == null || companyList.isEmpty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
SysUser user = SecurityUtils.getLoginUser().getUser();
|
||||
for (BmsCustomerCompany item : companyList)
|
||||
{
|
||||
item.setCustomerId(supplierId);
|
||||
if (item.getDelFlag() == null)
|
||||
{
|
||||
item.setDelFlag("0");
|
||||
}
|
||||
if (item.getCompanyId() != null)
|
||||
{
|
||||
item.setUpdateBy(user.getUserName());
|
||||
item.setUpdateTime(DateUtils.getNowDate());
|
||||
bmsCustomerMapper.updateBmsCustomerCompany(item);
|
||||
}
|
||||
else
|
||||
{
|
||||
item.setCreateBy(user.getUserName());
|
||||
item.setCreateTime(DateUtils.getNowDate());
|
||||
bmsCustomerMapper.insertBmsCustomerCompany(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public int insertBmsSupplier(BmsSupplier bmsSupplier)
|
||||
{
|
||||
SysUser user = SecurityUtils.getLoginUser().getUser();
|
||||
// 应用层生成 UUID,与客户 UUID 互不冲突,子表 customer_id 列可同时容纳两者
|
||||
bmsSupplier.setSupplierId(IdUtils.simpleUUID());
|
||||
bmsSupplier.setCreateTime(DateUtils.getNowDate());
|
||||
bmsSupplier.setCreateBy(user.getUserName());
|
||||
int rows = bmsSupplierMapper.insertBmsSupplier(bmsSupplier);
|
||||
if (rows > 0)
|
||||
{
|
||||
saveBmsSupplierAttachments(bmsSupplier.getSupplierId(), bmsSupplier.getAttachmentList());
|
||||
saveBmsSupplierCompanies(bmsSupplier.getSupplierId(), bmsSupplier.getCompanyList());
|
||||
}
|
||||
return rows;
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public int updateBmsSupplier(BmsSupplier bmsSupplier)
|
||||
{
|
||||
SysUser user = SecurityUtils.getLoginUser().getUser();
|
||||
bmsSupplier.setUpdateTime(DateUtils.getNowDate());
|
||||
bmsSupplier.setUpdateBy(user.getUserName());
|
||||
// 附件先逻辑删除再重建(与客户模块保持一致)
|
||||
bmsCustomerMapper.deleteBmsCustomerAttachmentByCustomerId(bmsSupplier.getSupplierId());
|
||||
if (bmsSupplier.getAttachmentList() != null)
|
||||
{
|
||||
for (BmsCustomerAttachment item : bmsSupplier.getAttachmentList())
|
||||
{
|
||||
item.setAttachmentId(null);
|
||||
}
|
||||
saveBmsSupplierAttachments(bmsSupplier.getSupplierId(), bmsSupplier.getAttachmentList());
|
||||
}
|
||||
// 公司主体采用增量 upsert
|
||||
saveBmsSupplierCompanies(bmsSupplier.getSupplierId(), bmsSupplier.getCompanyList());
|
||||
return bmsSupplierMapper.updateBmsSupplier(bmsSupplier);
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public int deleteBmsSupplierBySupplierIds(String[] supplierIds)
|
||||
{
|
||||
for (String supplierId : supplierIds)
|
||||
{
|
||||
bmsCustomerMapper.deleteBmsCustomerAttachmentByCustomerId(supplierId);
|
||||
bmsCustomerMapper.deleteBmsCustomerCompanyByCustomerId(supplierId);
|
||||
}
|
||||
return bmsSupplierMapper.deleteBmsSupplierBySupplierIds(supplierIds);
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@Override
|
||||
public int deleteBmsSupplierBySupplierId(String supplierId)
|
||||
{
|
||||
bmsCustomerMapper.deleteBmsCustomerAttachmentByCustomerId(supplierId);
|
||||
bmsCustomerMapper.deleteBmsCustomerCompanyByCustomerId(supplierId);
|
||||
return bmsSupplierMapper.deleteBmsSupplierBySupplierId(supplierId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user