From 3fe333922abe0c37258f27e3e81a5d8576288679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B3=BD=E6=96=8C?= <1059064476@qq.com> Date: Wed, 7 Apr 2021 09:41:36 +0800 Subject: [PATCH] 111 --- .../system/WkCrmCustomerPoolController.java | 126 ++++++++++ .../templates/system/contacts/contacts.html | 4 +- .../templates/system/customer/customer.html | 5 + .../templates/system/leads/leads.html | 4 +- .../resources/templates/system/pool/add.html | 107 +++++++++ .../resources/templates/system/pool/edit.html | 108 +++++++++ .../resources/templates/system/pool/pool.html | 173 ++++++++++++++ .../system/domain/WkCrmCustomerPool.java | 220 ++++++++++++++++++ .../mapper/WkCrmCustomerPoolMapper.java | 61 +++++ .../service/IWkCrmCustomerPoolService.java | 61 +++++ .../impl/WkCrmCustomerPoolServiceImpl.java | 96 ++++++++ .../mapper/system/WkCrmCustomerPoolMapper.xml | 121 ++++++++++ .../mapper/system/WkCrmLeadsMapper.xml | 2 +- 13 files changed, 1083 insertions(+), 5 deletions(-) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/WkCrmCustomerPoolController.java create mode 100644 ruoyi-admin/src/main/resources/templates/system/pool/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/pool/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/pool/pool.html create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCustomerPool.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCustomerPoolMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCustomerPoolService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCustomerPoolServiceImpl.java create mode 100644 ruoyi-system/src/main/resources/mapper/system/WkCrmCustomerPoolMapper.xml diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/WkCrmCustomerPoolController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/WkCrmCustomerPoolController.java new file mode 100644 index 000000000..893074d9e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/WkCrmCustomerPoolController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.system; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.system.domain.WkCrmCustomerPool; +import com.ruoyi.system.service.IWkCrmCustomerPoolService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 公海Controller + * + * @author ruoyi + * @date 2021-04-06 + */ +@Controller +@RequestMapping("/system/pool") +public class WkCrmCustomerPoolController extends BaseController +{ + private String prefix = "system/pool"; + + @Autowired + private IWkCrmCustomerPoolService wkCrmCustomerPoolService; + + @RequiresPermissions("system:pool:view") + @GetMapping() + public String pool() + { + return prefix + "/pool"; + } + + /** + * 查询公海列表 + */ + @RequiresPermissions("system:pool:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(WkCrmCustomerPool wkCrmCustomerPool) + { + startPage(); + List list = wkCrmCustomerPoolService.selectWkCrmCustomerPoolList(wkCrmCustomerPool); + return getDataTable(list); + } + + /** + * 导出公海列表 + */ + @RequiresPermissions("system:pool:export") + @Log(title = "公海", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(WkCrmCustomerPool wkCrmCustomerPool) + { + List list = wkCrmCustomerPoolService.selectWkCrmCustomerPoolList(wkCrmCustomerPool); + ExcelUtil util = new ExcelUtil(WkCrmCustomerPool.class); + return util.exportExcel(list, "pool"); + } + + /** + * 新增公海 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存公海 + */ + @RequiresPermissions("system:pool:add") + @Log(title = "公海", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(WkCrmCustomerPool wkCrmCustomerPool) + { + return toAjax(wkCrmCustomerPoolService.insertWkCrmCustomerPool(wkCrmCustomerPool)); + } + + /** + * 修改公海 + */ + @GetMapping("/edit/{poolId}") + public String edit(@PathVariable("poolId") Long poolId, ModelMap mmap) + { + WkCrmCustomerPool wkCrmCustomerPool = wkCrmCustomerPoolService.selectWkCrmCustomerPoolById(poolId); + mmap.put("wkCrmCustomerPool", wkCrmCustomerPool); + return prefix + "/edit"; + } + + /** + * 修改保存公海 + */ + @RequiresPermissions("system:pool:edit") + @Log(title = "公海", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(WkCrmCustomerPool wkCrmCustomerPool) + { + return toAjax(wkCrmCustomerPoolService.updateWkCrmCustomerPool(wkCrmCustomerPool)); + } + + /** + * 删除公海 + */ + @RequiresPermissions("system:pool:remove") + @Log(title = "公海", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(wkCrmCustomerPoolService.deleteWkCrmCustomerPoolByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/resources/templates/system/contacts/contacts.html b/ruoyi-admin/src/main/resources/templates/system/contacts/contacts.html index c01945ed2..a6b643ca4 100644 --- a/ruoyi-admin/src/main/resources/templates/system/contacts/contacts.html +++ b/ruoyi-admin/src/main/resources/templates/system/contacts/contacts.html @@ -148,10 +148,10 @@ field: 'ownerUserId', title: '负责人ID' }, - { + /*{ field: 'batchId', title: '批次' - }, + },*/ { field: 'lastTime', title: '最后跟进时间' diff --git a/ruoyi-admin/src/main/resources/templates/system/customer/customer.html b/ruoyi-admin/src/main/resources/templates/system/customer/customer.html index 11f7740e6..521b7c5e5 100644 --- a/ruoyi-admin/src/main/resources/templates/system/customer/customer.html +++ b/ruoyi-admin/src/main/resources/templates/system/customer/customer.html @@ -81,6 +81,11 @@  搜索  重置 +
  • + +
  • diff --git a/ruoyi-admin/src/main/resources/templates/system/leads/leads.html b/ruoyi-admin/src/main/resources/templates/system/leads/leads.html index 90d9c748c..0399a45dd 100644 --- a/ruoyi-admin/src/main/resources/templates/system/leads/leads.html +++ b/ruoyi-admin/src/main/resources/templates/system/leads/leads.html @@ -100,10 +100,10 @@ title: '', visible: false }, - { + /*{ field: 'followup', title: '跟进状态 0未跟进1已跟进' - }, + },*/ { field: 'leadsName', title: '线索名称' diff --git a/ruoyi-admin/src/main/resources/templates/system/pool/add.html b/ruoyi-admin/src/main/resources/templates/system/pool/add.html new file mode 100644 index 000000000..9c2792bd9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/pool/add.html @@ -0,0 +1,107 @@ + + + + + + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    +
    + + +
    + 代码生成请选择字典属性 +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/pool/edit.html b/ruoyi-admin/src/main/resources/templates/system/pool/edit.html new file mode 100644 index 000000000..34ab4b4aa --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/pool/edit.html @@ -0,0 +1,108 @@ + + + + + + +
    +
    + +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    +
    + + +
    + 代码生成请选择字典属性 +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/pool/pool.html b/ruoyi-admin/src/main/resources/templates/system/pool/pool.html new file mode 100644 index 000000000..9be824bee --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/pool/pool.html @@ -0,0 +1,173 @@ + + + + + + +
    +
    +
    +
    +
    + +
    +
    +
    + + +
    +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCustomerPool.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCustomerPool.java new file mode 100644 index 000000000..dde2995e0 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCustomerPool.java @@ -0,0 +1,220 @@ +package com.ruoyi.system.domain; + +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; + +/** + * 公海对象 wk_crm_customer_pool + * + * @author ruoyi + * @date 2021-04-06 + */ +public class WkCrmCustomerPool extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 公海id */ + private Long poolId; + + /** 公海名称 */ + @Excel(name = "公海名称") + private String poolName; + + /** 管理员 “,”分割 */ + @Excel(name = "管理员 “,”分割") + private String adminUserId; + + /** 公海规则员工成员 “,”分割 */ + @Excel(name = "公海规则员工成员 “,”分割") + private String memberUserId; + + /** 公海规则部门成员 “,”分割 */ + @Excel(name = "公海规则部门成员 “,”分割") + private String memberDeptId; + + /** 状态 0 停用 1启用 */ + @Excel(name = "状态 0 停用 1启用") + private Integer status; + + /** 前负责人领取规则 0不限制 1限制 */ + @Excel(name = "前负责人领取规则 0不限制 1限制") + private Integer preOwnerSetting; + + /** 前负责人领取规则限制天数 */ + @Excel(name = "前负责人领取规则限制天数") + private Integer preOwnerSettingDay; + + /** 是否限制领取频率 0不限制 1限制 */ + @Excel(name = "是否限制领取频率 0不限制 1限制") + private Integer receiveSetting; + + /** 领取频率规则 */ + @Excel(name = "领取频率规则") + private Integer receiveNum; + + /** 是否设置提前提醒 0不开启 1开启 */ + @Excel(name = "是否设置提前提醒 0不开启 1开启") + private Integer remindSetting; + + /** 提醒规则天数 */ + @Excel(name = "提醒规则天数") + private Long remindDay; + + /** 收回规则 0不自动收回 1自动收回 */ + @Excel(name = "收回规则 0不自动收回 1自动收回") + private Integer putInRule; + + /** */ + @Excel(name = "") + private Long createUserId; + + public void setPoolId(Long poolId) + { + this.poolId = poolId; + } + + public Long getPoolId() + { + return poolId; + } + public void setPoolName(String poolName) + { + this.poolName = poolName; + } + + public String getPoolName() + { + return poolName; + } + public void setAdminUserId(String adminUserId) + { + this.adminUserId = adminUserId; + } + + public String getAdminUserId() + { + return adminUserId; + } + public void setMemberUserId(String memberUserId) + { + this.memberUserId = memberUserId; + } + + public String getMemberUserId() + { + return memberUserId; + } + public void setMemberDeptId(String memberDeptId) + { + this.memberDeptId = memberDeptId; + } + + public String getMemberDeptId() + { + return memberDeptId; + } + public void setStatus(Integer status) + { + this.status = status; + } + + public Integer getStatus() + { + return status; + } + public void setPreOwnerSetting(Integer preOwnerSetting) + { + this.preOwnerSetting = preOwnerSetting; + } + + public Integer getPreOwnerSetting() + { + return preOwnerSetting; + } + public void setPreOwnerSettingDay(Integer preOwnerSettingDay) + { + this.preOwnerSettingDay = preOwnerSettingDay; + } + + public Integer getPreOwnerSettingDay() + { + return preOwnerSettingDay; + } + public void setReceiveSetting(Integer receiveSetting) + { + this.receiveSetting = receiveSetting; + } + + public Integer getReceiveSetting() + { + return receiveSetting; + } + public void setReceiveNum(Integer receiveNum) + { + this.receiveNum = receiveNum; + } + + public Integer getReceiveNum() + { + return receiveNum; + } + public void setRemindSetting(Integer remindSetting) + { + this.remindSetting = remindSetting; + } + + public Integer getRemindSetting() + { + return remindSetting; + } + public void setRemindDay(Long remindDay) + { + this.remindDay = remindDay; + } + + public Long getRemindDay() + { + return remindDay; + } + public void setPutInRule(Integer putInRule) + { + this.putInRule = putInRule; + } + + public Integer getPutInRule() + { + return putInRule; + } + public void setCreateUserId(Long createUserId) + { + this.createUserId = createUserId; + } + + public Long getCreateUserId() + { + return createUserId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("poolId", getPoolId()) + .append("poolName", getPoolName()) + .append("adminUserId", getAdminUserId()) + .append("memberUserId", getMemberUserId()) + .append("memberDeptId", getMemberDeptId()) + .append("status", getStatus()) + .append("preOwnerSetting", getPreOwnerSetting()) + .append("preOwnerSettingDay", getPreOwnerSettingDay()) + .append("receiveSetting", getReceiveSetting()) + .append("receiveNum", getReceiveNum()) + .append("remindSetting", getRemindSetting()) + .append("remindDay", getRemindDay()) + .append("putInRule", getPutInRule()) + .append("createUserId", getCreateUserId()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCustomerPoolMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCustomerPoolMapper.java new file mode 100644 index 000000000..cbdfdbac2 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCustomerPoolMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.mapper; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmCustomerPool; + +/** + * 公海Mapper接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface WkCrmCustomerPoolMapper +{ + /** + * 查询公海 + * + * @param poolId 公海ID + * @return 公海 + */ + public WkCrmCustomerPool selectWkCrmCustomerPoolById(Long poolId); + + /** + * 查询公海列表 + * + * @param wkCrmCustomerPool 公海 + * @return 公海集合 + */ + public List selectWkCrmCustomerPoolList(WkCrmCustomerPool wkCrmCustomerPool); + + /** + * 新增公海 + * + * @param wkCrmCustomerPool 公海 + * @return 结果 + */ + public int insertWkCrmCustomerPool(WkCrmCustomerPool wkCrmCustomerPool); + + /** + * 修改公海 + * + * @param wkCrmCustomerPool 公海 + * @return 结果 + */ + public int updateWkCrmCustomerPool(WkCrmCustomerPool wkCrmCustomerPool); + + /** + * 删除公海 + * + * @param poolId 公海ID + * @return 结果 + */ + public int deleteWkCrmCustomerPoolById(Long poolId); + + /** + * 批量删除公海 + * + * @param poolIds 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmCustomerPoolByIds(String[] poolIds); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCustomerPoolService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCustomerPoolService.java new file mode 100644 index 000000000..bcef44387 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCustomerPoolService.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.service; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmCustomerPool; + +/** + * 公海Service接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface IWkCrmCustomerPoolService +{ + /** + * 查询公海 + * + * @param poolId 公海ID + * @return 公海 + */ + public WkCrmCustomerPool selectWkCrmCustomerPoolById(Long poolId); + + /** + * 查询公海列表 + * + * @param wkCrmCustomerPool 公海 + * @return 公海集合 + */ + public List selectWkCrmCustomerPoolList(WkCrmCustomerPool wkCrmCustomerPool); + + /** + * 新增公海 + * + * @param wkCrmCustomerPool 公海 + * @return 结果 + */ + public int insertWkCrmCustomerPool(WkCrmCustomerPool wkCrmCustomerPool); + + /** + * 修改公海 + * + * @param wkCrmCustomerPool 公海 + * @return 结果 + */ + public int updateWkCrmCustomerPool(WkCrmCustomerPool wkCrmCustomerPool); + + /** + * 批量删除公海 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmCustomerPoolByIds(String ids); + + /** + * 删除公海信息 + * + * @param poolId 公海ID + * @return 结果 + */ + public int deleteWkCrmCustomerPoolById(Long poolId); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCustomerPoolServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCustomerPoolServiceImpl.java new file mode 100644 index 000000000..b8e931fb4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCustomerPoolServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.WkCrmCustomerPoolMapper; +import com.ruoyi.system.domain.WkCrmCustomerPool; +import com.ruoyi.system.service.IWkCrmCustomerPoolService; +import com.ruoyi.common.core.text.Convert; + +/** + * 公海Service业务层处理 + * + * @author ruoyi + * @date 2021-04-06 + */ +@Service +public class WkCrmCustomerPoolServiceImpl implements IWkCrmCustomerPoolService +{ + @Autowired + private WkCrmCustomerPoolMapper wkCrmCustomerPoolMapper; + + /** + * 查询公海 + * + * @param poolId 公海ID + * @return 公海 + */ + @Override + public WkCrmCustomerPool selectWkCrmCustomerPoolById(Long poolId) + { + return wkCrmCustomerPoolMapper.selectWkCrmCustomerPoolById(poolId); + } + + /** + * 查询公海列表 + * + * @param wkCrmCustomerPool 公海 + * @return 公海 + */ + @Override + public List selectWkCrmCustomerPoolList(WkCrmCustomerPool wkCrmCustomerPool) + { + return wkCrmCustomerPoolMapper.selectWkCrmCustomerPoolList(wkCrmCustomerPool); + } + + /** + * 新增公海 + * + * @param wkCrmCustomerPool 公海 + * @return 结果 + */ + @Override + public int insertWkCrmCustomerPool(WkCrmCustomerPool wkCrmCustomerPool) + { + wkCrmCustomerPool.setCreateTime(DateUtils.getNowDate()); + return wkCrmCustomerPoolMapper.insertWkCrmCustomerPool(wkCrmCustomerPool); + } + + /** + * 修改公海 + * + * @param wkCrmCustomerPool 公海 + * @return 结果 + */ + @Override + public int updateWkCrmCustomerPool(WkCrmCustomerPool wkCrmCustomerPool) + { + return wkCrmCustomerPoolMapper.updateWkCrmCustomerPool(wkCrmCustomerPool); + } + + /** + * 删除公海对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteWkCrmCustomerPoolByIds(String ids) + { + return wkCrmCustomerPoolMapper.deleteWkCrmCustomerPoolByIds(Convert.toStrArray(ids)); + } + + /** + * 删除公海信息 + * + * @param poolId 公海ID + * @return 结果 + */ + @Override + public int deleteWkCrmCustomerPoolById(Long poolId) + { + return wkCrmCustomerPoolMapper.deleteWkCrmCustomerPoolById(poolId); + } +} diff --git a/ruoyi-system/src/main/resources/mapper/system/WkCrmCustomerPoolMapper.xml b/ruoyi-system/src/main/resources/mapper/system/WkCrmCustomerPoolMapper.xml new file mode 100644 index 000000000..fae312758 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/WkCrmCustomerPoolMapper.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + select pool_id, pool_name, admin_user_id, member_user_id, member_dept_id, status, pre_owner_setting, pre_owner_setting_day, receive_setting, receive_num, remind_setting, remind_day, put_in_rule, create_user_id, create_time from wk_crm_customer_pool + + + + + + + + insert into wk_crm_customer_pool + + pool_name, + admin_user_id, + member_user_id, + member_dept_id, + status, + pre_owner_setting, + pre_owner_setting_day, + receive_setting, + receive_num, + remind_setting, + remind_day, + put_in_rule, + create_user_id, + create_time, + + + #{poolName}, + #{adminUserId}, + #{memberUserId}, + #{memberDeptId}, + #{status}, + #{preOwnerSetting}, + #{preOwnerSettingDay}, + #{receiveSetting}, + #{receiveNum}, + #{remindSetting}, + #{remindDay}, + #{putInRule}, + #{createUserId}, + #{createTime}, + + + + + update wk_crm_customer_pool + + pool_name = #{poolName}, + admin_user_id = #{adminUserId}, + member_user_id = #{memberUserId}, + member_dept_id = #{memberDeptId}, + status = #{status}, + pre_owner_setting = #{preOwnerSetting}, + pre_owner_setting_day = #{preOwnerSettingDay}, + receive_setting = #{receiveSetting}, + receive_num = #{receiveNum}, + remind_setting = #{remindSetting}, + remind_day = #{remindDay}, + put_in_rule = #{putInRule}, + create_user_id = #{createUserId}, + create_time = #{createTime}, + + where pool_id = #{poolId} + + + + delete from wk_crm_customer_pool where pool_id = #{poolId} + + + + delete from wk_crm_customer_pool where pool_id in + + #{poolId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/WkCrmLeadsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/WkCrmLeadsMapper.xml index 125e974c6..01fa8edb3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/WkCrmLeadsMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/WkCrmLeadsMapper.xml @@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - +