Quellcode durchsuchen

移除CRM开发功能实现类

zjc vor 1 Jahr
Ursprung
Commit
4daf9a1973

+ 0 - 62
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/IAddressService.java

@@ -1,62 +0,0 @@
-package com.ruoyi.system.service.crm;
-
-import com.ruoyi.system.domain.crm.Address;
-
-import java.util.List;
-
-/**
- * 账户信息Service接口
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-public interface IAddressService 
-{
-    /**
-     * 查询账户信息
-     * 
-     * @param id 账户信息主键
-     * @return 账户信息
-     */
-    public Address selectAddressById(Long id);
-
-    /**
-     * 查询账户信息列表
-     * 
-     * @param address 账户信息
-     * @return 账户信息集合
-     */
-    public List<Address> selectAddressList(Address address);
-
-    /**
-     * 新增账户信息
-     * 
-     * @param address 账户信息
-     * @return 结果
-     */
-    public int insertAddress(Address address);
-
-    /**
-     * 修改账户信息
-     * 
-     * @param address 账户信息
-     * @return 结果
-     */
-    public int updateAddress(Address address);
-
-    /**
-     * 批量删除账户信息
-     * 
-     * @param ids 需要删除的账户信息主键集合
-     * @return 结果
-     */
-    public int deleteAddressByIds(Long[] ids);
-
-    /**
-     * 删除账户信息信息
-     * 
-     * @param id 账户信息主键
-     * @return 结果
-     */
-    public int deleteAddressById(Long id);
-}

+ 0 - 71
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/IContactsService.java

@@ -1,71 +0,0 @@
-package com.ruoyi.system.service.crm;
-
-import com.ruoyi.system.domain.crm.Contacts;
-
-import java.util.List;
-
-/**
- * 客户联系人信息Service接口
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-public interface IContactsService 
-{
-    /**
-     * 查询客户联系人信息
-     * 
-     * @param id 客户联系人信息主键
-     * @return 客户联系人信息
-     */
-    public Contacts selectContactsById(Long id);
-
-    /**
-     * 查询客户联系人信息列表
-     * 
-     * @param contacts 客户联系人信息
-     * @return 客户联系人信息集合
-     */
-    public List<Contacts> selectContactsList(Contacts contacts);
-
-    /**
-     * 新增客户联系人信息
-     * 
-     * @param contacts 客户联系人信息
-     * @return 结果
-     */
-    public int insertContacts(Contacts contacts);
-
-    /**
-     * 修改客户联系人信息
-     * 
-     * @param contacts 客户联系人信息
-     * @return 结果
-     */
-    public int updateContacts(Contacts contacts);
-
-    /**
-     * 批量删除客户联系人信息
-     * 
-     * @param ids 需要删除的客户联系人信息主键集合
-     * @return 结果
-     */
-    public int deleteContactsByIds(Long[] ids);
-
-    /**
-     * 删除客户联系人信息信息
-     * 
-     * @param id 客户联系人信息主键
-     * @return 结果
-     */
-    public int deleteContactsById(Long id);
-
-
-    /**
-     * 批量新增客户联系人信息
-     * @param contactsList
-     */
-    public int batchInsertContacts(List<Contacts> contactsList);
-
-
-}

+ 0 - 62
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/ICrmFileService.java

@@ -1,62 +0,0 @@
-package com.ruoyi.system.service.crm;
-
-import com.ruoyi.system.domain.crm.CrmFile;
-
-import java.util.List;
-
-/**
- * crm附件Service接口
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-public interface ICrmFileService 
-{
-    /**
-     * 查询crm附件
-     * 
-     * @param id crm附件主键
-     * @return crm附件
-     */
-    public CrmFile selectCrmFileById(Long id);
-
-    /**
-     * 查询crm附件列表
-     * 
-     * @param crmFile crm附件
-     * @return crm附件集合
-     */
-    public List<CrmFile> selectCrmFileList(CrmFile crmFile);
-
-    /**
-     * 新增crm附件
-     * 
-     * @param crmFile crm附件
-     * @return 结果
-     */
-    public int insertCrmFile(CrmFile crmFile);
-
-    /**
-     * 修改crm附件
-     * 
-     * @param crmFile crm附件
-     * @return 结果
-     */
-    public int updateCrmFile(CrmFile crmFile);
-
-    /**
-     * 批量删除crm附件
-     * 
-     * @param ids 需要删除的crm附件主键集合
-     * @return 结果
-     */
-    public int deleteCrmFileByIds(Long[] ids);
-
-    /**
-     * 删除crm附件信息
-     * 
-     * @param id crm附件主键
-     * @return 结果
-     */
-    public int deleteCrmFileById(Long id);
-}

+ 0 - 72
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/ICustomerService.java

@@ -1,72 +0,0 @@
-package com.ruoyi.system.service.crm;
-
-import com.ruoyi.common.core.domain.AjaxResult;
-import com.ruoyi.system.domain.crm.Customer;
-
-import java.util.List;
-
-/**
- * CRM系统Service接口
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-public interface ICustomerService 
-{
-    /**
-     * 查询CRM系统
-     * 
-     * @param id CRM系统主键
-     * @return CRM系统
-     */
-    public Customer selectCustomerById(Long id);
-
-    /**
-     * 查询CRM系统列表
-     * 
-     * @param customer CRM系统
-     * @return CRM系统集合
-     */
-    public List<Customer> selectCustomerList(Customer customer);
-
-    /**
-     * 新增CRM系统
-     * 
-     * @param customer CRM系统
-     * @return 结果
-     */
-    public int insertCustomer(Customer customer);
-
-    /**
-     * 修改CRM系统
-     * 
-     * @param customer CRM系统
-     * @return 结果
-     */
-    public int updateCustomer(Customer customer);
-
-    /**
-     * 批量删除CRM系统
-     * 
-     * @param ids 需要删除的CRM系统主键集合
-     * @return 结果
-     */
-    public int deleteCustomerByIds(Long[] ids);
-
-    /**
-     * 删除CRM系统信息
-     * 
-     * @param id CRM系统主键
-     * @return 结果
-     */
-    public int deleteCustomerById(Long id);
-
-    /**
-     * 我的待办任务
-     * @param customer
-     * @return
-     */
-    List<Customer> myTaskList(Customer customer);
-
-
-}

+ 0 - 62
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/ITCustomerService.java

@@ -1,62 +0,0 @@
-package com.ruoyi.system.service.crm;
-
-import com.ruoyi.system.domain.crm.TCustomer;
-
-import java.util.List;
-
-/**
- * crmService接口
- * 
- * @author ruoyi
- * @date 2023-11-28
- */
-public interface ITCustomerService 
-{
-    /**
-     * 查询crm
-     * 
-     * @param id crm主键
-     * @return crm
-     */
-    public TCustomer selectTCustomerById(String id);
-
-    /**
-     * 查询crm列表
-     * 
-     * @param tCustomer crm
-     * @return crm集合
-     */
-    public List<TCustomer> selectTCustomerList(TCustomer tCustomer);
-
-    /**
-     * 新增crm
-     * 
-     * @param tCustomer crm
-     * @return 结果
-     */
-    public int insertTCustomer(TCustomer tCustomer);
-
-    /**
-     * 修改crm
-     * 
-     * @param tCustomer crm
-     * @return 结果
-     */
-    public int updateTCustomer(TCustomer tCustomer);
-
-    /**
-     * 批量删除crm
-     * 
-     * @param ids 需要删除的crm主键集合
-     * @return 结果
-     */
-    public int deleteTCustomerByIds(String[] ids);
-
-    /**
-     * 删除crm信息
-     * 
-     * @param id crm主键
-     * @return 结果
-     */
-    public int deleteTCustomerById(String id);
-}

+ 0 - 93
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/impl/AddressServiceImpl.java

@@ -1,93 +0,0 @@
-package com.ruoyi.system.service.crm.impl;
-
-import java.util.List;
-
-import com.ruoyi.system.domain.crm.Address;
-import com.ruoyi.system.mapper.crm.AddressMapper;
-import com.ruoyi.system.service.crm.IAddressService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-/**
- * 账户信息Service业务层处理
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-@Service
-public class AddressServiceImpl implements IAddressService
-{
-    @Autowired
-    private AddressMapper addressMapper;
-
-    /**
-     * 查询账户信息
-     * 
-     * @param id 账户信息主键
-     * @return 账户信息
-     */
-    @Override
-    public Address selectAddressById(Long id)
-    {
-        return addressMapper.selectAddressById(id);
-    }
-
-    /**
-     * 查询账户信息列表
-     * 
-     * @param address 账户信息
-     * @return 账户信息
-     */
-    @Override
-    public List<Address> selectAddressList(Address address)
-    {
-        return addressMapper.selectAddressList(address);
-    }
-
-    /**
-     * 新增账户信息
-     * 
-     * @param address 账户信息
-     * @return 结果
-     */
-    @Override
-    public int insertAddress(Address address)
-    {
-        return addressMapper.insertAddress(address);
-    }
-
-    /**
-     * 修改账户信息
-     * 
-     * @param address 账户信息
-     * @return 结果
-     */
-    @Override
-    public int updateAddress(Address address)
-    {
-        return addressMapper.updateAddress(address);
-    }
-
-    /**
-     * 批量删除账户信息
-     * 
-     * @param ids 需要删除的账户信息主键
-     * @return 结果
-     */
-    @Override
-    public int deleteAddressByIds(Long[] ids)
-    {
-        return addressMapper.deleteAddressByIds(ids);
-    }
-
-    /**
-     * 删除账户信息信息
-     * 
-     * @param id 账户信息主键
-     * @return 结果
-     */
-    @Override
-    public int deleteAddressById(Long id)
-    {
-        return addressMapper.deleteAddressById(id);
-    }
-}

+ 0 - 104
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/impl/ContactsServiceImpl.java

@@ -1,104 +0,0 @@
-package com.ruoyi.system.service.crm.impl;
-
-import java.util.List;
-
-import com.ruoyi.system.domain.crm.Contacts;
-import com.ruoyi.system.mapper.crm.ContactsMapper;
-import com.ruoyi.system.service.crm.IContactsService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-/**
- * 客户联系人信息Service业务层处理
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-@Service
-public class ContactsServiceImpl implements IContactsService
-{
-    @Autowired
-    private ContactsMapper contactsMapper;
-
-    /**
-     * 查询客户联系人信息
-     * 
-     * @param id 客户联系人信息主键
-     * @return 客户联系人信息
-     */
-    @Override
-    public Contacts selectContactsById(Long id)
-    {
-        return contactsMapper.selectContactsById(id);
-    }
-
-    /**
-     * 查询客户联系人信息列表
-     * 
-     * @param contacts 客户联系人信息
-     * @return 客户联系人信息
-     */
-    @Override
-    public List<Contacts> selectContactsList(Contacts contacts)
-    {
-        return contactsMapper.selectContactsList(contacts);
-    }
-
-    /**
-     * 新增客户联系人信息
-     * 
-     * @param contacts 客户联系人信息
-     * @return 结果
-     */
-    @Override
-    public int insertContacts(Contacts contacts)
-    {
-        return contactsMapper.insertContacts(contacts);
-    }
-
-    /**
-     * 修改客户联系人信息
-     * 
-     * @param contacts 客户联系人信息
-     * @return 结果
-     */
-    @Override
-    public int updateContacts(Contacts contacts)
-    {
-        return contactsMapper.updateContacts(contacts);
-    }
-
-    /**
-     * 批量删除客户联系人信息
-     * 
-     * @param ids 需要删除的客户联系人信息主键
-     * @return 结果
-     */
-    @Override
-    public int deleteContactsByIds(Long[] ids)
-    {
-        return contactsMapper.deleteContactsByIds(ids);
-    }
-
-    /**
-     * 删除客户联系人信息信息
-     * 
-     * @param id 客户联系人信息主键
-     * @return 结果
-     */
-    @Override
-    public int deleteContactsById(Long id)
-    {
-        return contactsMapper.deleteContactsById(id);
-    }
-
-    /**
-     * 批量新增客户联系人信息
-     * @param contactsList
-     * @return
-     */
-    @Override
-    public int batchInsertContacts(List<Contacts> contactsList) {
-        return contactsMapper.batchInsertContacts(contactsList);
-    }
-}

+ 0 - 94
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/impl/CrmFileServiceImpl.java

@@ -1,94 +0,0 @@
-package com.ruoyi.system.service.crm.impl;
-
-import java.util.List;
-
-import com.ruoyi.system.domain.crm.CrmFile;
-import com.ruoyi.system.mapper.crm.CrmFileMapper;
-import com.ruoyi.system.service.crm.ICrmFileService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-/**
- * crm附件Service业务层处理
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-@Service
-public class CrmFileServiceImpl implements ICrmFileService
-{
-    @Autowired
-    private CrmFileMapper crmFileMapper;
-
-    /**
-     * 查询crm附件
-     * 
-     * @param id crm附件主键
-     * @return crm附件
-     */
-    @Override
-    public CrmFile selectCrmFileById(Long id)
-    {
-        return crmFileMapper.selectCrmFileById(id);
-    }
-
-    /**
-     * 查询crm附件列表
-     * 
-     * @param crmFile crm附件
-     * @return crm附件
-     */
-    @Override
-    public List<CrmFile> selectCrmFileList(CrmFile crmFile)
-    {
-        return crmFileMapper.selectCrmFileList(crmFile);
-    }
-
-    /**
-     * 新增crm附件
-     * 
-     * @param crmFile crm附件
-     * @return 结果
-     */
-    @Override
-    public int insertCrmFile(CrmFile crmFile)
-    {
-        return crmFileMapper.insertCrmFile(crmFile);
-    }
-
-    /**
-     * 修改crm附件
-     * 
-     * @param crmFile crm附件
-     * @return 结果
-     */
-    @Override
-    public int updateCrmFile(CrmFile crmFile)
-    {
-        return crmFileMapper.updateCrmFile(crmFile);
-    }
-
-    /**
-     * 批量删除crm附件
-     * 
-     * @param ids 需要删除的crm附件主键
-     * @return 结果
-     */
-    @Override
-    public int deleteCrmFileByIds(Long[] ids)
-    {
-        return crmFileMapper.deleteCrmFileByIds(ids);
-    }
-
-    /**
-     * 删除crm附件信息
-     * 
-     * @param id crm附件主键
-     * @return 结果
-     */
-    @Override
-    public int deleteCrmFileById(Long id)
-    {
-        return crmFileMapper.deleteCrmFileById(id);
-    }
-}

+ 0 - 102
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/impl/CustomerServiceImpl.java

@@ -1,102 +0,0 @@
-package com.ruoyi.system.service.crm.impl;
-
-import java.util.List;
-
-import com.ruoyi.common.annotation.DataScope;
-import com.ruoyi.system.domain.crm.Customer;
-import com.ruoyi.system.mapper.crm.CustomerMapper;
-import com.ruoyi.system.service.crm.ICustomerService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-/**
- * CRM系统Service业务层处理
- * 
- * @author ruoyi
- * @date 2023-11-15
- */
-@Service
-public class CustomerServiceImpl implements ICustomerService
-{
-    @Autowired
-    private CustomerMapper customerMapper;
-
-    /**
-     * 查询CRM系统
-     * 
-     * @param id CRM系统主键
-     * @return CRM系统
-     */
-    @Override
-    public Customer selectCustomerById(Long id)
-    {
-        return customerMapper.selectCustomerById(id);
-    }
-
-    /**
-     * 查询CRM系统列表
-     * 
-     * @param customer CRM系统
-     * @return CRM系统
-     */
-    @Override
-    @DataScope(deptAlias = "d", userAlias = "u")
-    public List<Customer> selectCustomerList(Customer customer)
-    {
-        return customerMapper.selectCustomerList(customer);
-    }
-
-    /**
-     * 新增CRM系统
-     * 
-     * @param customer CRM系统
-     * @return 结果
-     */
-    @Override
-    public int insertCustomer(Customer customer)
-    {
-        return customerMapper.insertCustomer(customer);
-    }
-
-    /**
-     * 修改CRM系统
-     * 
-     * @param customer CRM系统
-     * @return 结果
-     */
-    @Override
-    public int updateCustomer(Customer customer)
-    {
-        return customerMapper.updateCustomer(customer);
-    }
-
-    /**
-     * 批量删除CRM系统
-     * 
-     * @param ids 需要删除的CRM系统主键
-     * @return 结果
-     */
-    @Override
-    public int deleteCustomerByIds(Long[] ids)
-    {
-        return customerMapper.deleteCustomerByIds(ids);
-    }
-
-    /**
-     * 删除CRM系统信息
-     * 
-     * @param id CRM系统主键
-     * @return 结果
-     */
-    @Override
-    public int deleteCustomerById(Long id)
-    {
-        return customerMapper.deleteCustomerById(id);
-    }
-
-    @Override
-    @DataScope(deptAlias = "d", userAlias = "u")
-    public List<Customer> myTaskList(Customer customer) {
-        return customerMapper.myTaskList(customer);
-    }
-}

+ 0 - 94
ruoyi-system/src/main/java/com/ruoyi/system/service/crm/impl/TCustomerServiceImpl.java

@@ -1,94 +0,0 @@
-package com.ruoyi.system.service.crm.impl;
-
-import java.util.List;
-
-import com.ruoyi.system.domain.crm.TCustomer;
-import com.ruoyi.system.mapper.crm.TCustomerMapper;
-import com.ruoyi.system.service.crm.ITCustomerService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-
-/**
- * crmService业务层处理
- * 
- * @author ruoyi
- * @date 2023-11-28
- */
-@Service
-public class TCustomerServiceImpl implements ITCustomerService
-{
-    @Autowired
-    private TCustomerMapper tCustomerMapper;
-
-    /**
-     * 查询crm
-     * 
-     * @param id crm主键
-     * @return crm
-     */
-    @Override
-    public TCustomer selectTCustomerById(String id)
-    {
-        return tCustomerMapper.selectTCustomerById(id);
-    }
-
-    /**
-     * 查询crm列表
-     * 
-     * @param tCustomer crm
-     * @return crm
-     */
-    @Override
-    public List<TCustomer> selectTCustomerList(TCustomer tCustomer)
-    {
-        return tCustomerMapper.selectTCustomerList(tCustomer);
-    }
-
-    /**
-     * 新增crm
-     * 
-     * @param tCustomer crm
-     * @return 结果
-     */
-    @Override
-    public int insertTCustomer(TCustomer tCustomer)
-    {
-        return tCustomerMapper.insertTCustomer(tCustomer);
-    }
-
-    /**
-     * 修改crm
-     * 
-     * @param tCustomer crm
-     * @return 结果
-     */
-    @Override
-    public int updateTCustomer(TCustomer tCustomer)
-    {
-        return tCustomerMapper.updateTCustomer(tCustomer);
-    }
-
-    /**
-     * 批量删除crm
-     * 
-     * @param ids 需要删除的crm主键
-     * @return 结果
-     */
-    @Override
-    public int deleteTCustomerByIds(String[] ids)
-    {
-        return tCustomerMapper.deleteTCustomerByIds(ids);
-    }
-
-    /**
-     * 删除crm信息
-     * 
-     * @param id crm主键
-     * @return 结果
-     */
-    @Override
-    public int deleteTCustomerById(String id)
-    {
-        return tCustomerMapper.deleteTCustomerById(id);
-    }
-}