diff --git a/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysImportFanRecordController.java b/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysImportFanRecordController.java
new file mode 100644
index 000000000..e5add9b71
--- /dev/null
+++ b/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/SysImportFanRecordController.java
@@ -0,0 +1,103 @@
+package com.stdiet.web.controller.custom;
+
+import java.util.List;
+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.stdiet.common.annotation.Log;
+import com.stdiet.common.core.controller.BaseController;
+import com.stdiet.common.core.domain.AjaxResult;
+import com.stdiet.common.enums.BusinessType;
+import com.stdiet.custom.domain.SysImportFanRecord;
+import com.stdiet.custom.service.ISysImportFanRecordService;
+import com.stdiet.common.utils.poi.ExcelUtil;
+import com.stdiet.common.core.page.TableDataInfo;
+
+/**
+ * 导粉管理Controller
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+@RestController
+@RequestMapping("/custom/importFanRecord")
+public class SysImportFanRecordController extends BaseController
+{
+    @Autowired
+    private ISysImportFanRecordService sysImportFanRecordService;
+
+    /**
+     * 查询导粉管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('custom:importFanRecord:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(SysImportFanRecord sysImportFanRecord)
+    {
+        startPage();
+        List<SysImportFanRecord> list = sysImportFanRecordService.selectSysImportFanRecordList(sysImportFanRecord);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出导粉管理列表
+     */
+    @PreAuthorize("@ss.hasPermi('custom:importFanRecord:export')")
+    @Log(title = "导粉管理", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(SysImportFanRecord sysImportFanRecord)
+    {
+        List<SysImportFanRecord> list = sysImportFanRecordService.selectSysImportFanRecordList(sysImportFanRecord);
+        ExcelUtil<SysImportFanRecord> util = new ExcelUtil<SysImportFanRecord>(SysImportFanRecord.class);
+        return util.exportExcel(list, "importFanRecord");
+    }
+
+    /**
+     * 获取导粉管理详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('custom:importFanRecord:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(sysImportFanRecordService.selectSysImportFanRecordById(id));
+    }
+
+    /**
+     * 新增导粉管理
+     */
+    @PreAuthorize("@ss.hasPermi('custom:importFanRecord:add')")
+    @Log(title = "导粉管理", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody SysImportFanRecord sysImportFanRecord)
+    {
+        return toAjax(sysImportFanRecordService.insertSysImportFanRecord(sysImportFanRecord));
+    }
+
+    /**
+     * 修改导粉管理
+     */
+    @PreAuthorize("@ss.hasPermi('custom:importFanRecord:edit')")
+    @Log(title = "导粉管理", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody SysImportFanRecord sysImportFanRecord)
+    {
+        return toAjax(sysImportFanRecordService.updateSysImportFanRecord(sysImportFanRecord));
+    }
+
+    /**
+     * 删除导粉管理
+     */
+    @PreAuthorize("@ss.hasPermi('custom:importFanRecord:remove')")
+    @Log(title = "导粉管理", businessType = BusinessType.DELETE)
+    @DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(sysImportFanRecordService.deleteSysImportFanRecordByIds(ids));
+    }
+}
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysImportFanRecord.java b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysImportFanRecord.java
new file mode 100644
index 000000000..cb51a6d31
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysImportFanRecord.java
@@ -0,0 +1,36 @@
+package com.stdiet.custom.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.stdiet.common.annotation.Excel;
+import com.stdiet.common.core.domain.BaseEntity;
+
+/**
+ * 导粉管理对象 sys_import_fan_record
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+public class SysImportFanRecord extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** $column.columnComment */
+    private Long id;
+
+    /** 导粉日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "导粉日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date importFanDate;
+
+    /** 导粉渠道 */
+    @Excel(name = "导粉渠道")
+    private Long importFanChannel;
+
+    /** 进粉直播间 */
+    @Excel(name = "进粉直播间")
+    private Long importFanLive;
+
+    /** 删除标识,0未删除 1已删除 */
+    private Long delFlag;
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysImportFanWxAccount.java b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysImportFanWxAccount.java
new file mode 100644
index 000000000..6aad5277c
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/domain/SysImportFanWxAccount.java
@@ -0,0 +1,35 @@
+package com.stdiet.custom.domain;
+
+import lombok.Data;
+import com.stdiet.common.annotation.Excel;
+import com.stdiet.common.core.domain.BaseEntity;
+
+/**
+ * 导粉记录中对应微信记录对象 sys_import_fan_wx_account
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+@Data
+public class SysImportFanWxAccount extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** $column.columnComment */
+    private Long id;
+
+    /** 导粉记录ID */
+    @Excel(name = "导粉记录ID")
+    private Long importFanRecordId;
+
+    /** 导粉微信ID */
+    @Excel(name = "导粉微信ID")
+    private Long importWxAccountId;
+
+    /** 导粉数量 */
+    @Excel(name = "导粉数量")
+    private Long importFanNum;
+
+    /** 删除标识 0未删除 1已删除 */
+    private Long delFlag;
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/mapper/SysImportFanRecordMapper.java b/stdiet-custom/src/main/java/com/stdiet/custom/mapper/SysImportFanRecordMapper.java
new file mode 100644
index 000000000..6b1c809a2
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/mapper/SysImportFanRecordMapper.java
@@ -0,0 +1,61 @@
+package com.stdiet.custom.mapper;
+
+import java.util.List;
+import com.stdiet.custom.domain.SysImportFanRecord;
+
+/**
+ * 导粉管理Mapper接口
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+public interface SysImportFanRecordMapper
+{
+    /**
+     * 查询导粉管理
+     *
+     * @param id 导粉管理ID
+     * @return 导粉管理
+     */
+    public SysImportFanRecord selectSysImportFanRecordById(Long id);
+
+    /**
+     * 查询导粉管理列表
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 导粉管理集合
+     */
+    public List<SysImportFanRecord> selectSysImportFanRecordList(SysImportFanRecord sysImportFanRecord);
+
+    /**
+     * 新增导粉管理
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 结果
+     */
+    public int insertSysImportFanRecord(SysImportFanRecord sysImportFanRecord);
+
+    /**
+     * 修改导粉管理
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 结果
+     */
+    public int updateSysImportFanRecord(SysImportFanRecord sysImportFanRecord);
+
+    /**
+     * 删除导粉管理
+     *
+     * @param id 导粉管理ID
+     * @return 结果
+     */
+    public int deleteSysImportFanRecordById(Long id);
+
+    /**
+     * 批量删除导粉管理
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteSysImportFanRecordByIds(Long[] ids);
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/mapper/SysImportFanWxAccountMapper.java b/stdiet-custom/src/main/java/com/stdiet/custom/mapper/SysImportFanWxAccountMapper.java
new file mode 100644
index 000000000..cce3cd805
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/mapper/SysImportFanWxAccountMapper.java
@@ -0,0 +1,61 @@
+package com.stdiet.custom.mapper;
+
+import java.util.List;
+import com.stdiet.custom.domain.SysImportFanWxAccount;
+
+/**
+ * 导粉记录中对应微信记录Mapper接口
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+public interface SysImportFanWxAccountMapper
+{
+    /**
+     * 查询导粉记录中对应微信记录
+     *
+     * @param id 导粉记录中对应微信记录ID
+     * @return 导粉记录中对应微信记录
+     */
+    public SysImportFanWxAccount selectSysImportFanWxAccountById(Long id);
+
+    /**
+     * 查询导粉记录中对应微信记录列表
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 导粉记录中对应微信记录集合
+     */
+    public List<SysImportFanWxAccount> selectSysImportFanWxAccountList(SysImportFanWxAccount sysImportFanWxAccount);
+
+    /**
+     * 新增导粉记录中对应微信记录
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 结果
+     */
+    public int insertSysImportFanWxAccount(SysImportFanWxAccount sysImportFanWxAccount);
+
+    /**
+     * 修改导粉记录中对应微信记录
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 结果
+     */
+    public int updateSysImportFanWxAccount(SysImportFanWxAccount sysImportFanWxAccount);
+
+    /**
+     * 删除导粉记录中对应微信记录
+     *
+     * @param id 导粉记录中对应微信记录ID
+     * @return 结果
+     */
+    public int deleteSysImportFanWxAccountById(Long id);
+
+    /**
+     * 批量删除导粉记录中对应微信记录
+     *
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteSysImportFanWxAccountByIds(Long[] ids);
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/ISysImportFanRecordService.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/ISysImportFanRecordService.java
new file mode 100644
index 000000000..70ece7c90
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/ISysImportFanRecordService.java
@@ -0,0 +1,61 @@
+package com.stdiet.custom.service;
+
+import java.util.List;
+import com.stdiet.custom.domain.SysImportFanRecord;
+
+/**
+ * 导粉管理Service接口
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+public interface ISysImportFanRecordService
+{
+    /**
+     * 查询导粉管理
+     *
+     * @param id 导粉管理ID
+     * @return 导粉管理
+     */
+    public SysImportFanRecord selectSysImportFanRecordById(Long id);
+
+    /**
+     * 查询导粉管理列表
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 导粉管理集合
+     */
+    public List<SysImportFanRecord> selectSysImportFanRecordList(SysImportFanRecord sysImportFanRecord);
+
+    /**
+     * 新增导粉管理
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 结果
+     */
+    public int insertSysImportFanRecord(SysImportFanRecord sysImportFanRecord);
+
+    /**
+     * 修改导粉管理
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 结果
+     */
+    public int updateSysImportFanRecord(SysImportFanRecord sysImportFanRecord);
+
+    /**
+     * 批量删除导粉管理
+     *
+     * @param ids 需要删除的导粉管理ID
+     * @return 结果
+     */
+    public int deleteSysImportFanRecordByIds(Long[] ids);
+
+    /**
+     * 删除导粉管理信息
+     *
+     * @param id 导粉管理ID
+     * @return 结果
+     */
+    public int deleteSysImportFanRecordById(Long id);
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/ISysImportFanWxAccountService.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/ISysImportFanWxAccountService.java
new file mode 100644
index 000000000..435c2a990
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/ISysImportFanWxAccountService.java
@@ -0,0 +1,61 @@
+package com.stdiet.custom.service;
+
+import java.util.List;
+import com.stdiet.custom.domain.SysImportFanWxAccount;
+
+/**
+ * 导粉记录中对应微信记录Service接口
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+public interface ISysImportFanWxAccountService
+{
+    /**
+     * 查询导粉记录中对应微信记录
+     *
+     * @param id 导粉记录中对应微信记录ID
+     * @return 导粉记录中对应微信记录
+     */
+    public SysImportFanWxAccount selectSysImportFanWxAccountById(Long id);
+
+    /**
+     * 查询导粉记录中对应微信记录列表
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 导粉记录中对应微信记录集合
+     */
+    public List<SysImportFanWxAccount> selectSysImportFanWxAccountList(SysImportFanWxAccount sysImportFanWxAccount);
+
+    /**
+     * 新增导粉记录中对应微信记录
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 结果
+     */
+    public int insertSysImportFanWxAccount(SysImportFanWxAccount sysImportFanWxAccount);
+
+    /**
+     * 修改导粉记录中对应微信记录
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 结果
+     */
+    public int updateSysImportFanWxAccount(SysImportFanWxAccount sysImportFanWxAccount);
+
+    /**
+     * 批量删除导粉记录中对应微信记录
+     *
+     * @param ids 需要删除的导粉记录中对应微信记录ID
+     * @return 结果
+     */
+    public int deleteSysImportFanWxAccountByIds(Long[] ids);
+
+    /**
+     * 删除导粉记录中对应微信记录信息
+     *
+     * @param id 导粉记录中对应微信记录ID
+     * @return 结果
+     */
+    public int deleteSysImportFanWxAccountById(Long id);
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysImportFanRecordServiceImpl.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysImportFanRecordServiceImpl.java
new file mode 100644
index 000000000..4c034568a
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysImportFanRecordServiceImpl.java
@@ -0,0 +1,96 @@
+package com.stdiet.custom.service.impl;
+
+import java.util.List;
+import com.stdiet.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.stdiet.custom.mapper.SysImportFanRecordMapper;
+import com.stdiet.custom.domain.SysImportFanRecord;
+import com.stdiet.custom.service.ISysImportFanRecordService;
+
+/**
+ * 导粉管理Service业务层处理
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+@Service
+public class SysImportFanRecordServiceImpl implements ISysImportFanRecordService
+{
+    @Autowired
+    private SysImportFanRecordMapper sysImportFanRecordMapper;
+
+    /**
+     * 查询导粉管理
+     *
+     * @param id 导粉管理ID
+     * @return 导粉管理
+     */
+    @Override
+    public SysImportFanRecord selectSysImportFanRecordById(Long id)
+    {
+        return sysImportFanRecordMapper.selectSysImportFanRecordById(id);
+    }
+
+    /**
+     * 查询导粉管理列表
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 导粉管理
+     */
+    @Override
+    public List<SysImportFanRecord> selectSysImportFanRecordList(SysImportFanRecord sysImportFanRecord)
+    {
+        return sysImportFanRecordMapper.selectSysImportFanRecordList(sysImportFanRecord);
+    }
+
+    /**
+     * 新增导粉管理
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 结果
+     */
+    @Override
+    public int insertSysImportFanRecord(SysImportFanRecord sysImportFanRecord)
+    {
+        sysImportFanRecord.setCreateTime(DateUtils.getNowDate());
+        return sysImportFanRecordMapper.insertSysImportFanRecord(sysImportFanRecord);
+    }
+
+    /**
+     * 修改导粉管理
+     *
+     * @param sysImportFanRecord 导粉管理
+     * @return 结果
+     */
+    @Override
+    public int updateSysImportFanRecord(SysImportFanRecord sysImportFanRecord)
+    {
+        sysImportFanRecord.setUpdateTime(DateUtils.getNowDate());
+        return sysImportFanRecordMapper.updateSysImportFanRecord(sysImportFanRecord);
+    }
+
+    /**
+     * 批量删除导粉管理
+     *
+     * @param ids 需要删除的导粉管理ID
+     * @return 结果
+     */
+    @Override
+    public int deleteSysImportFanRecordByIds(Long[] ids)
+    {
+        return sysImportFanRecordMapper.deleteSysImportFanRecordByIds(ids);
+    }
+
+    /**
+     * 删除导粉管理信息
+     *
+     * @param id 导粉管理ID
+     * @return 结果
+     */
+    @Override
+    public int deleteSysImportFanRecordById(Long id)
+    {
+        return sysImportFanRecordMapper.deleteSysImportFanRecordById(id);
+    }
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysImportFanWxAccountServiceImpl.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysImportFanWxAccountServiceImpl.java
new file mode 100644
index 000000000..23741a849
--- /dev/null
+++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysImportFanWxAccountServiceImpl.java
@@ -0,0 +1,96 @@
+package com.stdiet.custom.service.impl;
+
+import java.util.List;
+import com.stdiet.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.stdiet.custom.mapper.SysImportFanWxAccountMapper;
+import com.stdiet.custom.domain.SysImportFanWxAccount;
+import com.stdiet.custom.service.ISysImportFanWxAccountService;
+
+/**
+ * 导粉记录中对应微信记录Service业务层处理
+ *
+ * @author xzj
+ * @date 2021-05-17
+ */
+@Service
+public class SysImportFanWxAccountServiceImpl implements ISysImportFanWxAccountService
+{
+    @Autowired
+    private SysImportFanWxAccountMapper sysImportFanWxAccountMapper;
+
+    /**
+     * 查询导粉记录中对应微信记录
+     *
+     * @param id 导粉记录中对应微信记录ID
+     * @return 导粉记录中对应微信记录
+     */
+    @Override
+    public SysImportFanWxAccount selectSysImportFanWxAccountById(Long id)
+    {
+        return sysImportFanWxAccountMapper.selectSysImportFanWxAccountById(id);
+    }
+
+    /**
+     * 查询导粉记录中对应微信记录列表
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 导粉记录中对应微信记录
+     */
+    @Override
+    public List<SysImportFanWxAccount> selectSysImportFanWxAccountList(SysImportFanWxAccount sysImportFanWxAccount)
+    {
+        return sysImportFanWxAccountMapper.selectSysImportFanWxAccountList(sysImportFanWxAccount);
+    }
+
+    /**
+     * 新增导粉记录中对应微信记录
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 结果
+     */
+    @Override
+    public int insertSysImportFanWxAccount(SysImportFanWxAccount sysImportFanWxAccount)
+    {
+        sysImportFanWxAccount.setCreateTime(DateUtils.getNowDate());
+        return sysImportFanWxAccountMapper.insertSysImportFanWxAccount(sysImportFanWxAccount);
+    }
+
+    /**
+     * 修改导粉记录中对应微信记录
+     *
+     * @param sysImportFanWxAccount 导粉记录中对应微信记录
+     * @return 结果
+     */
+    @Override
+    public int updateSysImportFanWxAccount(SysImportFanWxAccount sysImportFanWxAccount)
+    {
+        sysImportFanWxAccount.setUpdateTime(DateUtils.getNowDate());
+        return sysImportFanWxAccountMapper.updateSysImportFanWxAccount(sysImportFanWxAccount);
+    }
+
+    /**
+     * 批量删除导粉记录中对应微信记录
+     *
+     * @param ids 需要删除的导粉记录中对应微信记录ID
+     * @return 结果
+     */
+    @Override
+    public int deleteSysImportFanWxAccountByIds(Long[] ids)
+    {
+        return sysImportFanWxAccountMapper.deleteSysImportFanWxAccountByIds(ids);
+    }
+
+    /**
+     * 删除导粉记录中对应微信记录信息
+     *
+     * @param id 导粉记录中对应微信记录ID
+     * @return 结果
+     */
+    @Override
+    public int deleteSysImportFanWxAccountById(Long id)
+    {
+        return sysImportFanWxAccountMapper.deleteSysImportFanWxAccountById(id);
+    }
+}
\ No newline at end of file
diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysImportFanRecordMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysImportFanRecordMapper.xml
new file mode 100644
index 000000000..5f4a791f3
--- /dev/null
+++ b/stdiet-custom/src/main/resources/mapper/custom/SysImportFanRecordMapper.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.stdiet.custom.mapper.SysImportFanRecordMapper">
+
+    <resultMap type="SysImportFanRecord" id="SysImportFanRecordResult">
+        <result property="id"    column="id"    />
+        <result property="importFanDate"    column="import_fan_date"    />
+        <result property="importFanChannel"    column="import_fan_channel"    />
+        <result property="importFanLive"    column="import_fan_live"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="delFlag"    column="del_flag"    />
+    </resultMap>
+
+    <sql id="selectSysImportFanRecordVo">
+        select id, import_fan_date, import_fan_channel, import_fan_live, create_time, create_by, update_time, update_by, del_flag from sys_import_fan_record
+    </sql>
+
+    <select id="selectSysImportFanRecordList" parameterType="SysImportFanRecord" resultMap="SysImportFanRecordResult">
+        <include refid="selectSysImportFanRecordVo"/>
+        <where>
+            <if test="importFanDate != null "> and import_fan_date = #{importFanDate}</if>
+            <if test="importFanChannel != null "> and import_fan_channel = #{importFanChannel}</if>
+            <if test="importFanLive != null "> and import_fan_live = #{importFanLive}</if>
+        </where>
+    </select>
+
+    <select id="selectSysImportFanRecordById" parameterType="Long" resultMap="SysImportFanRecordResult">
+        <include refid="selectSysImportFanRecordVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertSysImportFanRecord" parameterType="SysImportFanRecord" useGeneratedKeys="true" keyProperty="id">
+        insert into sys_import_fan_record
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="importFanDate != null">import_fan_date,</if>
+            <if test="importFanChannel != null">import_fan_channel,</if>
+            <if test="importFanLive != null">import_fan_live,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="delFlag != null">del_flag,</if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="importFanDate != null">#{importFanDate},</if>
+            <if test="importFanChannel != null">#{importFanChannel},</if>
+            <if test="importFanLive != null">#{importFanLive},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+        </trim>
+    </insert>
+
+    <update id="updateSysImportFanRecord" parameterType="SysImportFanRecord">
+        update sys_import_fan_record
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="importFanDate != null">import_fan_date = #{importFanDate},</if>
+            <if test="importFanChannel != null">import_fan_channel = #{importFanChannel},</if>
+            <if test="importFanLive != null">import_fan_live = #{importFanLive},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteSysImportFanRecordById" parameterType="Long">
+        delete from sys_import_fan_record where id = #{id}
+    </delete>
+
+    <delete id="deleteSysImportFanRecordByIds" parameterType="String">
+        delete from sys_import_fan_record where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>
\ No newline at end of file
diff --git a/stdiet-custom/src/main/resources/mapper/custom/SysImportFanWxAccountMapper.xml b/stdiet-custom/src/main/resources/mapper/custom/SysImportFanWxAccountMapper.xml
new file mode 100644
index 000000000..5f4a791f3
--- /dev/null
+++ b/stdiet-custom/src/main/resources/mapper/custom/SysImportFanWxAccountMapper.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.stdiet.custom.mapper.SysImportFanRecordMapper">
+
+    <resultMap type="SysImportFanRecord" id="SysImportFanRecordResult">
+        <result property="id"    column="id"    />
+        <result property="importFanDate"    column="import_fan_date"    />
+        <result property="importFanChannel"    column="import_fan_channel"    />
+        <result property="importFanLive"    column="import_fan_live"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="delFlag"    column="del_flag"    />
+    </resultMap>
+
+    <sql id="selectSysImportFanRecordVo">
+        select id, import_fan_date, import_fan_channel, import_fan_live, create_time, create_by, update_time, update_by, del_flag from sys_import_fan_record
+    </sql>
+
+    <select id="selectSysImportFanRecordList" parameterType="SysImportFanRecord" resultMap="SysImportFanRecordResult">
+        <include refid="selectSysImportFanRecordVo"/>
+        <where>
+            <if test="importFanDate != null "> and import_fan_date = #{importFanDate}</if>
+            <if test="importFanChannel != null "> and import_fan_channel = #{importFanChannel}</if>
+            <if test="importFanLive != null "> and import_fan_live = #{importFanLive}</if>
+        </where>
+    </select>
+
+    <select id="selectSysImportFanRecordById" parameterType="Long" resultMap="SysImportFanRecordResult">
+        <include refid="selectSysImportFanRecordVo"/>
+        where id = #{id}
+    </select>
+
+    <insert id="insertSysImportFanRecord" parameterType="SysImportFanRecord" useGeneratedKeys="true" keyProperty="id">
+        insert into sys_import_fan_record
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="importFanDate != null">import_fan_date,</if>
+            <if test="importFanChannel != null">import_fan_channel,</if>
+            <if test="importFanLive != null">import_fan_live,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="delFlag != null">del_flag,</if>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="importFanDate != null">#{importFanDate},</if>
+            <if test="importFanChannel != null">#{importFanChannel},</if>
+            <if test="importFanLive != null">#{importFanLive},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+        </trim>
+    </insert>
+
+    <update id="updateSysImportFanRecord" parameterType="SysImportFanRecord">
+        update sys_import_fan_record
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="importFanDate != null">import_fan_date = #{importFanDate},</if>
+            <if test="importFanChannel != null">import_fan_channel = #{importFanChannel},</if>
+            <if test="importFanLive != null">import_fan_live = #{importFanLive},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteSysImportFanRecordById" parameterType="Long">
+        delete from sys_import_fan_record where id = #{id}
+    </delete>
+
+    <delete id="deleteSysImportFanRecordByIds" parameterType="String">
+        delete from sys_import_fan_record where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>
\ No newline at end of file