diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BActivityController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BActivityController.java new file mode 100644 index 0000000..280c070 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BActivityController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BActivity; +import com.ruoyi.zhiyuanzhe.service.IBActivityService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 活动管理Controller + * + * @author ruoyi + * @date 2023-09-18 + */ +@RestController +@RequestMapping("/system/activity") +public class BActivityController extends BaseController +{ + @Autowired + private IBActivityService bActivityService; + + /** + * 查询活动管理列表 + */ + @PreAuthorize("@ss.hasPermi('system:activity:list')") + @GetMapping("/list") + public TableDataInfo list(BActivity bActivity) + { + startPage(); + List list = bActivityService.selectBActivityList(bActivity); + return getDataTable(list); + } + + /** + * 导出活动管理列表 + */ + @PreAuthorize("@ss.hasPermi('system:activity:export')") + @Log(title = "活动管理", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BActivity bActivity) + { + List list = bActivityService.selectBActivityList(bActivity); + ExcelUtil util = new ExcelUtil(BActivity.class); + util.exportExcel(response, list, "活动管理数据"); + } + + /** + * 获取活动管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:activity:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bActivityService.selectBActivityById(id)); + } + + /** + * 新增活动管理 + */ + @PreAuthorize("@ss.hasPermi('system:activity:add')") + @Log(title = "活动管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BActivity bActivity) + { + return toAjax(bActivityService.insertBActivity(bActivity)); + } + + /** + * 修改活动管理 + */ + @PreAuthorize("@ss.hasPermi('system:activity:edit')") + @Log(title = "活动管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BActivity bActivity) + { + return toAjax(bActivityService.updateBActivity(bActivity)); + } + + /** + * 删除活动管理 + */ + @PreAuthorize("@ss.hasPermi('system:activity:remove')") + @Log(title = "活动管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bActivityService.deleteBActivityByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BActivityPointsController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BActivityPointsController.java new file mode 100644 index 0000000..477fca2 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BActivityPointsController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BActivityPoints; +import com.ruoyi.zhiyuanzhe.service.IBActivityPointsService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 活动积分Controller + * + * @author ruoyi + * @date 2023-09-19 + */ +@RestController +@RequestMapping("/system/points") +public class BActivityPointsController extends BaseController +{ + @Autowired + private IBActivityPointsService bActivityPointsService; + + /** + * 查询活动积分列表 + */ + @PreAuthorize("@ss.hasPermi('system:points:list')") + @GetMapping("/list") + public TableDataInfo list(BActivityPoints bActivityPoints) + { + startPage(); + List list = bActivityPointsService.selectBActivityPointsList(bActivityPoints); + return getDataTable(list); + } + + /** + * 导出活动积分列表 + */ + @PreAuthorize("@ss.hasPermi('system:points:export')") + @Log(title = "活动积分", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BActivityPoints bActivityPoints) + { + List list = bActivityPointsService.selectBActivityPointsList(bActivityPoints); + ExcelUtil util = new ExcelUtil(BActivityPoints.class); + util.exportExcel(response, list, "活动积分数据"); + } + + /** + * 获取活动积分详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:points:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bActivityPointsService.selectBActivityPointsById(id)); + } + + /** + * 新增活动积分 + */ + @PreAuthorize("@ss.hasPermi('system:points:add')") + @Log(title = "活动积分", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BActivityPoints bActivityPoints) + { + return toAjax(bActivityPointsService.insertBActivityPoints(bActivityPoints)); + } + + /** + * 修改活动积分 + */ + @PreAuthorize("@ss.hasPermi('system:points:edit')") + @Log(title = "活动积分", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BActivityPoints bActivityPoints) + { + return toAjax(bActivityPointsService.updateBActivityPoints(bActivityPoints)); + } + + /** + * 删除活动积分 + */ + @PreAuthorize("@ss.hasPermi('system:points:remove')") + @Log(title = "活动积分", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bActivityPointsService.deleteBActivityPointsByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BCertificatesController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BCertificatesController.java new file mode 100644 index 0000000..b899cf9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BCertificatesController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BCertificates; +import com.ruoyi.zhiyuanzhe.service.IBCertificatesService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 证书管理Controller + * + * @author ruoyi + * @date 2023-09-19 + */ +@RestController +@RequestMapping("/system/certificates") +public class BCertificatesController extends BaseController +{ + @Autowired + private IBCertificatesService bCertificatesService; + + /** + * 查询证书管理列表 + */ + @PreAuthorize("@ss.hasPermi('system:certificates:list')") + @GetMapping("/list") + public TableDataInfo list(BCertificates bCertificates) + { + startPage(); + List list = bCertificatesService.selectBCertificatesList(bCertificates); + return getDataTable(list); + } + + /** + * 导出证书管理列表 + */ + @PreAuthorize("@ss.hasPermi('system:certificates:export')") + @Log(title = "证书管理", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BCertificates bCertificates) + { + List list = bCertificatesService.selectBCertificatesList(bCertificates); + ExcelUtil util = new ExcelUtil(BCertificates.class); + util.exportExcel(response, list, "证书管理数据"); + } + + /** + * 获取证书管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:certificates:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bCertificatesService.selectBCertificatesById(id)); + } + + /** + * 新增证书管理 + */ + @PreAuthorize("@ss.hasPermi('system:certificates:add')") + @Log(title = "证书管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BCertificates bCertificates) + { + return toAjax(bCertificatesService.insertBCertificates(bCertificates)); + } + + /** + * 修改证书管理 + */ + @PreAuthorize("@ss.hasPermi('system:certificates:edit')") + @Log(title = "证书管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BCertificates bCertificates) + { + return toAjax(bCertificatesService.updateBCertificates(bCertificates)); + } + + /** + * 删除证书管理 + */ + @PreAuthorize("@ss.hasPermi('system:certificates:remove')") + @Log(title = "证书管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bCertificatesService.deleteBCertificatesByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BCheckRecordsController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BCheckRecordsController.java new file mode 100644 index 0000000..fd5f025 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BCheckRecordsController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BCheckRecords; +import com.ruoyi.zhiyuanzhe.service.IBCheckRecordsService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 物流记录Controller + * + * @author ruoyi + * @date 2023-09-19 + */ +@RestController +@RequestMapping("/system/checkrecords") +public class BCheckRecordsController extends BaseController +{ + @Autowired + private IBCheckRecordsService bCheckRecordsService; + + /** + * 查询物流记录列表 + */ + @PreAuthorize("@ss.hasPermi('system:records:list')") + @GetMapping("/list") + public TableDataInfo list(BCheckRecords bCheckRecords) + { + startPage(); + List list = bCheckRecordsService.selectBCheckRecordsList(bCheckRecords); + return getDataTable(list); + } + + /** + * 导出物流记录列表 + */ + @PreAuthorize("@ss.hasPermi('system:records:export')") + @Log(title = "物流记录", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BCheckRecords bCheckRecords) + { + List list = bCheckRecordsService.selectBCheckRecordsList(bCheckRecords); + ExcelUtil util = new ExcelUtil(BCheckRecords.class); + util.exportExcel(response, list, "物流记录数据"); + } + + /** + * 获取物流记录详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:records:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bCheckRecordsService.selectBCheckRecordsById(id)); + } + + /** + * 新增物流记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:add')") + @Log(title = "物流记录", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BCheckRecords bCheckRecords) + { + return toAjax(bCheckRecordsService.insertBCheckRecords(bCheckRecords)); + } + + /** + * 修改物流记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:edit')") + @Log(title = "物流记录", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BCheckRecords bCheckRecords) + { + return toAjax(bCheckRecordsService.updateBCheckRecords(bCheckRecords)); + } + + /** + * 删除物流记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:remove')") + @Log(title = "物流记录", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bCheckRecordsService.deleteBCheckRecordsByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BDistributionRecordsController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BDistributionRecordsController.java new file mode 100644 index 0000000..0ca9e3a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BDistributionRecordsController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BDistributionRecords; +import com.ruoyi.zhiyuanzhe.service.IBDistributionRecordsService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 发放记录Controller + * + * @author ruoyi + * @date 2023-09-19 + */ +@RestController +@RequestMapping("/system/dsbrecords") +public class BDistributionRecordsController extends BaseController +{ + @Autowired + private IBDistributionRecordsService bDistributionRecordsService; + + /** + * 查询发放记录列表 + */ + @PreAuthorize("@ss.hasPermi('system:records:list')") + @GetMapping("/list") + public TableDataInfo list(BDistributionRecords bDistributionRecords) + { + startPage(); + List list = bDistributionRecordsService.selectBDistributionRecordsList(bDistributionRecords); + return getDataTable(list); + } + + /** + * 导出发放记录列表 + */ + @PreAuthorize("@ss.hasPermi('system:records:export')") + @Log(title = "发放记录", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BDistributionRecords bDistributionRecords) + { + List list = bDistributionRecordsService.selectBDistributionRecordsList(bDistributionRecords); + ExcelUtil util = new ExcelUtil(BDistributionRecords.class); + util.exportExcel(response, list, "发放记录数据"); + } + + /** + * 获取发放记录详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:records:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bDistributionRecordsService.selectBDistributionRecordsById(id)); + } + + /** + * 新增发放记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:add')") + @Log(title = "发放记录", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BDistributionRecords bDistributionRecords) + { + return toAjax(bDistributionRecordsService.insertBDistributionRecords(bDistributionRecords)); + } + + /** + * 修改发放记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:edit')") + @Log(title = "发放记录", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BDistributionRecords bDistributionRecords) + { + return toAjax(bDistributionRecordsService.updateBDistributionRecords(bDistributionRecords)); + } + + /** + * 删除发放记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:remove')") + @Log(title = "发放记录", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bDistributionRecordsService.deleteBDistributionRecordsByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BExchangeRecordsController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BExchangeRecordsController.java new file mode 100644 index 0000000..086c832 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BExchangeRecordsController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BExchangeRecords; +import com.ruoyi.zhiyuanzhe.service.IBExchangeRecordsService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 兑换记录Controller + * + * @author ruoyi + * @date 2023-09-19 + */ +@RestController +@RequestMapping("/system/records") +public class BExchangeRecordsController extends BaseController +{ + @Autowired + private IBExchangeRecordsService bExchangeRecordsService; + + /** + * 查询兑换记录列表 + */ + @PreAuthorize("@ss.hasPermi('system:records:list')") + @GetMapping("/list") + public TableDataInfo list(BExchangeRecords bExchangeRecords) + { + startPage(); + List list = bExchangeRecordsService.selectBExchangeRecordsList(bExchangeRecords); + return getDataTable(list); + } + + /** + * 导出兑换记录列表 + */ + @PreAuthorize("@ss.hasPermi('system:records:export')") + @Log(title = "兑换记录", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BExchangeRecords bExchangeRecords) + { + List list = bExchangeRecordsService.selectBExchangeRecordsList(bExchangeRecords); + ExcelUtil util = new ExcelUtil(BExchangeRecords.class); + util.exportExcel(response, list, "兑换记录数据"); + } + + /** + * 获取兑换记录详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:records:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bExchangeRecordsService.selectBExchangeRecordsById(id)); + } + + /** + * 新增兑换记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:add')") + @Log(title = "兑换记录", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BExchangeRecords bExchangeRecords) + { + return toAjax(bExchangeRecordsService.insertBExchangeRecords(bExchangeRecords)); + } + + /** + * 修改兑换记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:edit')") + @Log(title = "兑换记录", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BExchangeRecords bExchangeRecords) + { + return toAjax(bExchangeRecordsService.updateBExchangeRecords(bExchangeRecords)); + } + + /** + * 删除兑换记录 + */ + @PreAuthorize("@ss.hasPermi('system:records:remove')") + @Log(title = "兑换记录", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bExchangeRecordsService.deleteBExchangeRecordsByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BInviteController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BInviteController.java new file mode 100644 index 0000000..ece9312 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BInviteController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BInvite; +import com.ruoyi.zhiyuanzhe.service.IBInviteService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 邀请Controller + * + * @author ruoyi + * @date 2023-09-19 + */ +@RestController +@RequestMapping("/system/invite") +public class BInviteController extends BaseController +{ + @Autowired + private IBInviteService bInviteService; + + /** + * 查询邀请列表 + */ + @PreAuthorize("@ss.hasPermi('system:invite:list')") + @GetMapping("/list") + public TableDataInfo list(BInvite bInvite) + { + startPage(); + List list = bInviteService.selectBInviteList(bInvite); + return getDataTable(list); + } + + /** + * 导出邀请列表 + */ + @PreAuthorize("@ss.hasPermi('system:invite:export')") + @Log(title = "邀请", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BInvite bInvite) + { + List list = bInviteService.selectBInviteList(bInvite); + ExcelUtil util = new ExcelUtil(BInvite.class); + util.exportExcel(response, list, "邀请数据"); + } + + /** + * 获取邀请详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:invite:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bInviteService.selectBInviteById(id)); + } + + /** + * 新增邀请 + */ + @PreAuthorize("@ss.hasPermi('system:invite:add')") + @Log(title = "邀请", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BInvite bInvite) + { + return toAjax(bInviteService.insertBInvite(bInvite)); + } + + /** + * 修改邀请 + */ + @PreAuthorize("@ss.hasPermi('system:invite:edit')") + @Log(title = "邀请", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BInvite bInvite) + { + return toAjax(bInviteService.updateBInvite(bInvite)); + } + + /** + * 删除邀请 + */ + @PreAuthorize("@ss.hasPermi('system:invite:remove')") + @Log(title = "邀请", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bInviteService.deleteBInviteByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BPersonTagsController.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BPersonTagsController.java new file mode 100644 index 0000000..f38b808 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/controller/BPersonTagsController.java @@ -0,0 +1,106 @@ +package com.ruoyi.zhiyuanzhe.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; + +import com.ruoyi.zhiyuanzhe.domain.BPersonTags; +import com.ruoyi.zhiyuanzhe.service.IBPersonTagsService; +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.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; + +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 人标签Controller + * + * @author ruoyi + * @date 2023-09-18 + */ +@RestController +@RequestMapping("/system/tags") +public class BPersonTagsController extends BaseController +{ + @Autowired + private IBPersonTagsService bPersonTagsService; + + /** + * 查询人标签列表 + */ + @PreAuthorize("@ss.hasPermi('system:tags:list')") + @GetMapping("/list") + public TableDataInfo list(BPersonTags bPersonTags) + { + startPage(); + List list = bPersonTagsService.selectBPersonTagsList(bPersonTags); + return getDataTable(list); + } + + /** + * 导出人标签列表 + */ + @PreAuthorize("@ss.hasPermi('system:tags:export')") + @Log(title = "人标签", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, BPersonTags bPersonTags) + { + List list = bPersonTagsService.selectBPersonTagsList(bPersonTags); + ExcelUtil util = new ExcelUtil(BPersonTags.class); + util.exportExcel(response, list, "人标签数据"); + } + + /** + * 获取人标签详细信息 + */ + @PreAuthorize("@ss.hasPermi('system:tags:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(bPersonTagsService.selectBPersonTagsById(id)); + } + + /** + * 新增人标签 + */ + @PreAuthorize("@ss.hasPermi('system:tags:add')") + @Log(title = "人标签", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody BPersonTags bPersonTags) + { + return toAjax(bPersonTagsService.insertBPersonTags(bPersonTags)); + } + + /** + * 修改人标签 + */ + @PreAuthorize("@ss.hasPermi('system:tags:edit')") + @Log(title = "人标签", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody BPersonTags bPersonTags) + { + return toAjax(bPersonTagsService.updateBPersonTags(bPersonTags)); + } + + /** + * 删除人标签 + */ + @PreAuthorize("@ss.hasPermi('system:tags:remove')") + @Log(title = "人标签", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(bPersonTagsService.deleteBPersonTagsByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BActivity.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BActivity.java new file mode 100644 index 0000000..0480d80 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BActivity.java @@ -0,0 +1,311 @@ +package com.ruoyi.zhiyuanzhe.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +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; + +/** + * 活动管理对象 b_activity + * + * @author ruoyi + * @date 2023-09-18 + */ +public class BActivity extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 活动名称 */ + @Excel(name = "活动名称") + private String name; + + /** 活动内容 */ + @Excel(name = "活动内容") + private String content; + + /** 活动举办方 */ + @Excel(name = "活动举办方") + private String publisher; + + /** 活动时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "活动时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date activityTime; + + /** 活动地址 */ + @Excel(name = "活动地址") + private String address; + + /** 年龄 */ + @Excel(name = "年龄") + private String ageRange; + + /** 小区 */ + @Excel(name = "小区") + private String housingRange; + + /** 文化程度 */ + @Excel(name = "文化程度") + private String educationRange; + + /** 兴趣爱好 */ + @Excel(name = "兴趣爱好") + private String interestRange; + + /** 政治面貌 */ + @Excel(name = "政治面貌") + private String politicalRange; + + /** 性别 */ + @Excel(name = "性别") + private String sexRange; + + /** 国籍 */ + @Excel(name = "国籍") + private String nationalityRange; + + /** 专业类型 */ + @Excel(name = "专业类型") + private String professionalRange; + + /** 行业类型 */ + @Excel(name = "行业类型") + private String industryRange; + + /** 院校 */ + @Excel(name = "院校") + private String schoolRange; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setPublisher(String publisher) + { + this.publisher = publisher; + } + + public String getPublisher() + { + return publisher; + } + public void setActivityTime(Date activityTime) + { + this.activityTime = activityTime; + } + + public Date getActivityTime() + { + return activityTime; + } + public void setAddress(String address) + { + this.address = address; + } + + public String getAddress() + { + return address; + } + public void setAgeRange(String ageRange) + { + this.ageRange = ageRange; + } + + public String getAgeRange() + { + return ageRange; + } + public void setHousingRange(String housingRange) + { + this.housingRange = housingRange; + } + + public String getHousingRange() + { + return housingRange; + } + public void setEducationRange(String educationRange) + { + this.educationRange = educationRange; + } + + public String getEducationRange() + { + return educationRange; + } + public void setInterestRange(String interestRange) + { + this.interestRange = interestRange; + } + + public String getInterestRange() + { + return interestRange; + } + public void setPoliticalRange(String politicalRange) + { + this.politicalRange = politicalRange; + } + + public String getPoliticalRange() + { + return politicalRange; + } + public void setSexRange(String sexRange) + { + this.sexRange = sexRange; + } + + public String getSexRange() + { + return sexRange; + } + public void setNationalityRange(String nationalityRange) + { + this.nationalityRange = nationalityRange; + } + + public String getNationalityRange() + { + return nationalityRange; + } + public void setProfessionalRange(String professionalRange) + { + this.professionalRange = professionalRange; + } + + public String getProfessionalRange() + { + return professionalRange; + } + public void setIndustryRange(String industryRange) + { + this.industryRange = industryRange; + } + + public String getIndustryRange() + { + return industryRange; + } + public void setSchoolRange(String schoolRange) + { + this.schoolRange = schoolRange; + } + + public String getSchoolRange() + { + return schoolRange; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("content", getContent()) + .append("publisher", getPublisher()) + .append("activityTime", getActivityTime()) + .append("address", getAddress()) + .append("ageRange", getAgeRange()) + .append("housingRange", getHousingRange()) + .append("educationRange", getEducationRange()) + .append("interestRange", getInterestRange()) + .append("politicalRange", getPoliticalRange()) + .append("sexRange", getSexRange()) + .append("nationalityRange", getNationalityRange()) + .append("professionalRange", getProfessionalRange()) + .append("industryRange", getIndustryRange()) + .append("schoolRange", getSchoolRange()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BActivityPoints.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BActivityPoints.java new file mode 100644 index 0000000..d7448f5 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BActivityPoints.java @@ -0,0 +1,140 @@ +package com.ruoyi.zhiyuanzhe.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; + +/** + * 活动积分对象 b_activity_points + * + * @author ruoyi + * @date 2023-09-19 + */ +public class BActivityPoints extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 活动id */ + @Excel(name = "活动id") + private Long activityId; + + /** 用户id */ + @Excel(name = "用户id") + private Long uId; + + /** 积分 */ + @Excel(name = "积分") + private String points; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setActivityId(Long activityId) + { + this.activityId = activityId; + } + + public Long getActivityId() + { + return activityId; + } + public void setuId(Long uId) + { + this.uId = uId; + } + + public Long getuId() + { + return uId; + } + public void setPoints(String points) + { + this.points = points; + } + + public String getPoints() + { + return points; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("activityId", getActivityId()) + .append("uId", getuId()) + .append("points", getPoints()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BCertificates.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BCertificates.java new file mode 100644 index 0000000..80d4ed3 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BCertificates.java @@ -0,0 +1,185 @@ +package com.ruoyi.zhiyuanzhe.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +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; + +/** + * 证书管理对象 b_certificates + * + * @author ruoyi + * @date 2023-09-19 + */ +public class BCertificates extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 证书名称 */ + @Excel(name = "证书名称") + private String name; + + /** 证书类型(0个性化证书 0一次性证书) */ + @Excel(name = "证书类型", readConverterExp = "0=个性化证书,0=一次性证书") + private String type; + + /** 证书封面 */ + @Excel(name = "证书封面") + private String cover; + + /** 证书内容 */ + @Excel(name = "证书内容") + private String content; + + /** 证书时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "证书时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date datetime; + + /** 服务时长 */ + @Excel(name = "服务时长") + private Long serviceDuration; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setType(String type) + { + this.type = type; + } + + public String getType() + { + return type; + } + public void setCover(String cover) + { + this.cover = cover; + } + + public String getCover() + { + return cover; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setDatetime(Date datetime) + { + this.datetime = datetime; + } + + public Date getDatetime() + { + return datetime; + } + public void setServiceDuration(Long serviceDuration) + { + this.serviceDuration = serviceDuration; + } + + public Long getServiceDuration() + { + return serviceDuration; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("type", getType()) + .append("cover", getCover()) + .append("content", getContent()) + .append("datetime", getDatetime()) + .append("serviceDuration", getServiceDuration()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BCheckRecords.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BCheckRecords.java new file mode 100644 index 0000000..a95ac15 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BCheckRecords.java @@ -0,0 +1,154 @@ +package com.ruoyi.zhiyuanzhe.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; + +/** + * 物流记录对象 b_check_records + * + * @author ruoyi + * @date 2023-09-19 + */ +public class BCheckRecords extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 证书id */ + @Excel(name = "证书id") + private Long certificateId; + + /** 收件人 */ + @Excel(name = "收件人") + private String recipient; + + /** 收件地址 */ + @Excel(name = "收件地址") + private String shippingAddress; + + /** 收件电话 */ + @Excel(name = "收件电话") + private String receivingPhone; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCertificateId(Long certificateId) + { + this.certificateId = certificateId; + } + + public Long getCertificateId() + { + return certificateId; + } + public void setRecipient(String recipient) + { + this.recipient = recipient; + } + + public String getRecipient() + { + return recipient; + } + public void setShippingAddress(String shippingAddress) + { + this.shippingAddress = shippingAddress; + } + + public String getShippingAddress() + { + return shippingAddress; + } + public void setReceivingPhone(String receivingPhone) + { + this.receivingPhone = receivingPhone; + } + + public String getReceivingPhone() + { + return receivingPhone; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("certificateId", getCertificateId()) + .append("recipient", getRecipient()) + .append("shippingAddress", getShippingAddress()) + .append("receivingPhone", getReceivingPhone()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BDistributionRecords.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BDistributionRecords.java new file mode 100644 index 0000000..8a37642 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BDistributionRecords.java @@ -0,0 +1,154 @@ +package com.ruoyi.zhiyuanzhe.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; + +/** + * 发放记录对象 b_distribution_records + * + * @author ruoyi + * @date 2023-09-19 + */ +public class BDistributionRecords extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 活动id */ + @Excel(name = "活动id") + private Long activityId; + + /** 证书id */ + @Excel(name = "证书id") + private Long certificateId; + + /** 用户id */ + @Excel(name = "用户id") + private Long uId; + + /** 证书内容 */ + @Excel(name = "证书内容") + private String content; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setActivityId(Long activityId) + { + this.activityId = activityId; + } + + public Long getActivityId() + { + return activityId; + } + public void setCertificateId(Long certificateId) + { + this.certificateId = certificateId; + } + + public Long getCertificateId() + { + return certificateId; + } + public void setuId(Long uId) + { + this.uId = uId; + } + + public Long getuId() + { + return uId; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("activityId", getActivityId()) + .append("certificateId", getCertificateId()) + .append("uId", getuId()) + .append("content", getContent()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BExchangeRecords.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BExchangeRecords.java new file mode 100644 index 0000000..5fe9e2b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BExchangeRecords.java @@ -0,0 +1,140 @@ +package com.ruoyi.zhiyuanzhe.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; + +/** + * 兑换记录对象 b_exchange_records + * + * @author ruoyi + * @date 2023-09-19 + */ +public class BExchangeRecords extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 活动id */ + @Excel(name = "活动id") + private Long activityId; + + /** 证书id */ + @Excel(name = "证书id") + private Long certificateId; + + /** 用户id */ + @Excel(name = "用户id") + private Long uId; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setActivityId(Long activityId) + { + this.activityId = activityId; + } + + public Long getActivityId() + { + return activityId; + } + public void setCertificateId(Long certificateId) + { + this.certificateId = certificateId; + } + + public Long getCertificateId() + { + return certificateId; + } + public void setuId(Long uId) + { + this.uId = uId; + } + + public Long getuId() + { + return uId; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("activityId", getActivityId()) + .append("certificateId", getCertificateId()) + .append("uId", getuId()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BInvite.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BInvite.java new file mode 100644 index 0000000..146bdf7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BInvite.java @@ -0,0 +1,126 @@ +package com.ruoyi.zhiyuanzhe.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; + +/** + * 邀请对象 b_invite + * + * @author ruoyi + * @date 2023-09-19 + */ +public class BInvite extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 用户id */ + @Excel(name = "用户id") + private Long uId; + + /** 活动id */ + @Excel(name = "活动id") + private Long activityId; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setuId(Long uId) + { + this.uId = uId; + } + + public Long getuId() + { + return uId; + } + public void setActivityId(Long activityId) + { + this.activityId = activityId; + } + + public Long getActivityId() + { + return activityId; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("uId", getuId()) + .append("activityId", getActivityId()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BPersonTags.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BPersonTags.java new file mode 100644 index 0000000..931b03c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/domain/BPersonTags.java @@ -0,0 +1,252 @@ +package com.ruoyi.zhiyuanzhe.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; + +/** + * 人标签对象 b_person_tags + * + * @author ruoyi + * @date 2023-09-18 + */ +public class BPersonTags extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long id; + + /** 用户id */ + @Excel(name = "用户id") + private Long uId; + + /** 年龄 */ + @Excel(name = "年龄") + private String ageRange; + + /** 小区 */ + @Excel(name = "小区") + private String housingRange; + + /** 文化程度 */ + @Excel(name = "文化程度") + private String educationRange; + + /** 兴趣爱好 */ + @Excel(name = "兴趣爱好") + private String interestRange; + + /** 政治面貌 */ + @Excel(name = "政治面貌") + private String politicalRange; + + /** 性别 */ + @Excel(name = "性别") + private String sexRange; + + /** 国籍 */ + @Excel(name = "国籍") + private String nationalityRange; + + /** 专业类型 */ + @Excel(name = "专业类型") + private String professionalRange; + + /** 行业类型 */ + @Excel(name = "行业类型") + private String industryRange; + + /** 院校 */ + @Excel(name = "院校") + private String schoolRange; + + /** 创建者ID */ + @Excel(name = "创建者ID") + private Long createId; + + /** 更新者ID */ + @Excel(name = "更新者ID") + private Long updateId; + + /** 用户权限id */ + @Excel(name = "用户权限id") + private Long userId; + + /** 部门权限id */ + @Excel(name = "部门权限id") + private Long deptId; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setuId(Long uId) + { + this.uId = uId; + } + + public Long getuId() + { + return uId; + } + public void setAgeRange(String ageRange) + { + this.ageRange = ageRange; + } + + public String getAgeRange() + { + return ageRange; + } + public void setHousingRange(String housingRange) + { + this.housingRange = housingRange; + } + + public String getHousingRange() + { + return housingRange; + } + public void setEducationRange(String educationRange) + { + this.educationRange = educationRange; + } + + public String getEducationRange() + { + return educationRange; + } + public void setInterestRange(String interestRange) + { + this.interestRange = interestRange; + } + + public String getInterestRange() + { + return interestRange; + } + public void setPoliticalRange(String politicalRange) + { + this.politicalRange = politicalRange; + } + + public String getPoliticalRange() + { + return politicalRange; + } + public void setSexRange(String sexRange) + { + this.sexRange = sexRange; + } + + public String getSexRange() + { + return sexRange; + } + public void setNationalityRange(String nationalityRange) + { + this.nationalityRange = nationalityRange; + } + + public String getNationalityRange() + { + return nationalityRange; + } + public void setProfessionalRange(String professionalRange) + { + this.professionalRange = professionalRange; + } + + public String getProfessionalRange() + { + return professionalRange; + } + public void setIndustryRange(String industryRange) + { + this.industryRange = industryRange; + } + + public String getIndustryRange() + { + return industryRange; + } + public void setSchoolRange(String schoolRange) + { + this.schoolRange = schoolRange; + } + + public String getSchoolRange() + { + return schoolRange; + } + public void setCreateId(Long createId) + { + this.createId = createId; + } + + public Long getCreateId() + { + return createId; + } + public void setUpdateId(Long updateId) + { + this.updateId = updateId; + } + + public Long getUpdateId() + { + return updateId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setDeptId(Long deptId) + { + this.deptId = deptId; + } + + public Long getDeptId() + { + return deptId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("uId", getuId()) + .append("ageRange", getAgeRange()) + .append("housingRange", getHousingRange()) + .append("educationRange", getEducationRange()) + .append("interestRange", getInterestRange()) + .append("politicalRange", getPoliticalRange()) + .append("sexRange", getSexRange()) + .append("nationalityRange", getNationalityRange()) + .append("professionalRange", getProfessionalRange()) + .append("industryRange", getIndustryRange()) + .append("schoolRange", getSchoolRange()) + .append("createId", getCreateId()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateId", getUpdateId()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("userId", getUserId()) + .append("deptId", getDeptId()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BActivityMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BActivityMapper.java new file mode 100644 index 0000000..8e16549 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BActivityMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BActivity; + +import java.util.List; + + +/** + * 活动管理Mapper接口 + * + * @author ruoyi + * @date 2023-09-18 + */ +public interface BActivityMapper +{ + /** + * 查询活动管理 + * + * @param id 活动管理主键 + * @return 活动管理 + */ + public BActivity selectBActivityById(Long id); + + /** + * 查询活动管理列表 + * + * @param bActivity 活动管理 + * @return 活动管理集合 + */ + public List selectBActivityList(BActivity bActivity); + + /** + * 新增活动管理 + * + * @param bActivity 活动管理 + * @return 结果 + */ + public int insertBActivity(BActivity bActivity); + + /** + * 修改活动管理 + * + * @param bActivity 活动管理 + * @return 结果 + */ + public int updateBActivity(BActivity bActivity); + + /** + * 删除活动管理 + * + * @param id 活动管理主键 + * @return 结果 + */ + public int deleteBActivityById(Long id); + + /** + * 批量删除活动管理 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBActivityByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BActivityPointsMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BActivityPointsMapper.java new file mode 100644 index 0000000..e2e4899 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BActivityPointsMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BActivityPoints; + +import java.util.List; + + +/** + * 活动积分Mapper接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface BActivityPointsMapper +{ + /** + * 查询活动积分 + * + * @param id 活动积分主键 + * @return 活动积分 + */ + public BActivityPoints selectBActivityPointsById(Long id); + + /** + * 查询活动积分列表 + * + * @param bActivityPoints 活动积分 + * @return 活动积分集合 + */ + public List selectBActivityPointsList(BActivityPoints bActivityPoints); + + /** + * 新增活动积分 + * + * @param bActivityPoints 活动积分 + * @return 结果 + */ + public int insertBActivityPoints(BActivityPoints bActivityPoints); + + /** + * 修改活动积分 + * + * @param bActivityPoints 活动积分 + * @return 结果 + */ + public int updateBActivityPoints(BActivityPoints bActivityPoints); + + /** + * 删除活动积分 + * + * @param id 活动积分主键 + * @return 结果 + */ + public int deleteBActivityPointsById(Long id); + + /** + * 批量删除活动积分 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBActivityPointsByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BCertificatesMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BCertificatesMapper.java new file mode 100644 index 0000000..d9fe232 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BCertificatesMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BCertificates; + +import java.util.List; + + +/** + * 证书管理Mapper接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface BCertificatesMapper +{ + /** + * 查询证书管理 + * + * @param id 证书管理主键 + * @return 证书管理 + */ + public BCertificates selectBCertificatesById(Long id); + + /** + * 查询证书管理列表 + * + * @param bCertificates 证书管理 + * @return 证书管理集合 + */ + public List selectBCertificatesList(BCertificates bCertificates); + + /** + * 新增证书管理 + * + * @param bCertificates 证书管理 + * @return 结果 + */ + public int insertBCertificates(BCertificates bCertificates); + + /** + * 修改证书管理 + * + * @param bCertificates 证书管理 + * @return 结果 + */ + public int updateBCertificates(BCertificates bCertificates); + + /** + * 删除证书管理 + * + * @param id 证书管理主键 + * @return 结果 + */ + public int deleteBCertificatesById(Long id); + + /** + * 批量删除证书管理 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBCertificatesByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BCheckRecordsMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BCheckRecordsMapper.java new file mode 100644 index 0000000..c601c00 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BCheckRecordsMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BCheckRecords; + +import java.util.List; + + +/** + * 物流记录Mapper接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface BCheckRecordsMapper +{ + /** + * 查询物流记录 + * + * @param id 物流记录主键 + * @return 物流记录 + */ + public BCheckRecords selectBCheckRecordsById(Long id); + + /** + * 查询物流记录列表 + * + * @param bCheckRecords 物流记录 + * @return 物流记录集合 + */ + public List selectBCheckRecordsList(BCheckRecords bCheckRecords); + + /** + * 新增物流记录 + * + * @param bCheckRecords 物流记录 + * @return 结果 + */ + public int insertBCheckRecords(BCheckRecords bCheckRecords); + + /** + * 修改物流记录 + * + * @param bCheckRecords 物流记录 + * @return 结果 + */ + public int updateBCheckRecords(BCheckRecords bCheckRecords); + + /** + * 删除物流记录 + * + * @param id 物流记录主键 + * @return 结果 + */ + public int deleteBCheckRecordsById(Long id); + + /** + * 批量删除物流记录 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBCheckRecordsByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BDistributionRecordsMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BDistributionRecordsMapper.java new file mode 100644 index 0000000..c693633 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BDistributionRecordsMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BDistributionRecords; + +import java.util.List; + + +/** + * 发放记录Mapper接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface BDistributionRecordsMapper +{ + /** + * 查询发放记录 + * + * @param id 发放记录主键 + * @return 发放记录 + */ + public BDistributionRecords selectBDistributionRecordsById(Long id); + + /** + * 查询发放记录列表 + * + * @param bDistributionRecords 发放记录 + * @return 发放记录集合 + */ + public List selectBDistributionRecordsList(BDistributionRecords bDistributionRecords); + + /** + * 新增发放记录 + * + * @param bDistributionRecords 发放记录 + * @return 结果 + */ + public int insertBDistributionRecords(BDistributionRecords bDistributionRecords); + + /** + * 修改发放记录 + * + * @param bDistributionRecords 发放记录 + * @return 结果 + */ + public int updateBDistributionRecords(BDistributionRecords bDistributionRecords); + + /** + * 删除发放记录 + * + * @param id 发放记录主键 + * @return 结果 + */ + public int deleteBDistributionRecordsById(Long id); + + /** + * 批量删除发放记录 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBDistributionRecordsByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BExchangeRecordsMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BExchangeRecordsMapper.java new file mode 100644 index 0000000..3b73d47 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BExchangeRecordsMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BExchangeRecords; + +import java.util.List; + + +/** + * 兑换记录Mapper接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface BExchangeRecordsMapper +{ + /** + * 查询兑换记录 + * + * @param id 兑换记录主键 + * @return 兑换记录 + */ + public BExchangeRecords selectBExchangeRecordsById(Long id); + + /** + * 查询兑换记录列表 + * + * @param bExchangeRecords 兑换记录 + * @return 兑换记录集合 + */ + public List selectBExchangeRecordsList(BExchangeRecords bExchangeRecords); + + /** + * 新增兑换记录 + * + * @param bExchangeRecords 兑换记录 + * @return 结果 + */ + public int insertBExchangeRecords(BExchangeRecords bExchangeRecords); + + /** + * 修改兑换记录 + * + * @param bExchangeRecords 兑换记录 + * @return 结果 + */ + public int updateBExchangeRecords(BExchangeRecords bExchangeRecords); + + /** + * 删除兑换记录 + * + * @param id 兑换记录主键 + * @return 结果 + */ + public int deleteBExchangeRecordsById(Long id); + + /** + * 批量删除兑换记录 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBExchangeRecordsByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BInviteMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BInviteMapper.java new file mode 100644 index 0000000..b34e52c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BInviteMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BInvite; + +import java.util.List; + + +/** + * 邀请Mapper接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface BInviteMapper +{ + /** + * 查询邀请 + * + * @param id 邀请主键 + * @return 邀请 + */ + public BInvite selectBInviteById(Long id); + + /** + * 查询邀请列表 + * + * @param bInvite 邀请 + * @return 邀请集合 + */ + public List selectBInviteList(BInvite bInvite); + + /** + * 新增邀请 + * + * @param bInvite 邀请 + * @return 结果 + */ + public int insertBInvite(BInvite bInvite); + + /** + * 修改邀请 + * + * @param bInvite 邀请 + * @return 结果 + */ + public int updateBInvite(BInvite bInvite); + + /** + * 删除邀请 + * + * @param id 邀请主键 + * @return 结果 + */ + public int deleteBInviteById(Long id); + + /** + * 批量删除邀请 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBInviteByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BPersonTagsMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BPersonTagsMapper.java new file mode 100644 index 0000000..2a73bc0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/mapper/BPersonTagsMapper.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.mapper; + +import com.ruoyi.zhiyuanzhe.domain.BPersonTags; + +import java.util.List; + + +/** + * 人标签Mapper接口 + * + * @author ruoyi + * @date 2023-09-18 + */ +public interface BPersonTagsMapper +{ + /** + * 查询人标签 + * + * @param id 人标签主键 + * @return 人标签 + */ + public BPersonTags selectBPersonTagsById(Long id); + + /** + * 查询人标签列表 + * + * @param bPersonTags 人标签 + * @return 人标签集合 + */ + public List selectBPersonTagsList(BPersonTags bPersonTags); + + /** + * 新增人标签 + * + * @param bPersonTags 人标签 + * @return 结果 + */ + public int insertBPersonTags(BPersonTags bPersonTags); + + /** + * 修改人标签 + * + * @param bPersonTags 人标签 + * @return 结果 + */ + public int updateBPersonTags(BPersonTags bPersonTags); + + /** + * 删除人标签 + * + * @param id 人标签主键 + * @return 结果 + */ + public int deleteBPersonTagsById(Long id); + + /** + * 批量删除人标签 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteBPersonTagsByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBActivityPointsService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBActivityPointsService.java new file mode 100644 index 0000000..f93b9ab --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBActivityPointsService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BActivityPoints; + +import java.util.List; + + +/** + * 活动积分Service接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface IBActivityPointsService +{ + /** + * 查询活动积分 + * + * @param id 活动积分主键 + * @return 活动积分 + */ + public BActivityPoints selectBActivityPointsById(Long id); + + /** + * 查询活动积分列表 + * + * @param bActivityPoints 活动积分 + * @return 活动积分集合 + */ + public List selectBActivityPointsList(BActivityPoints bActivityPoints); + + /** + * 新增活动积分 + * + * @param bActivityPoints 活动积分 + * @return 结果 + */ + public int insertBActivityPoints(BActivityPoints bActivityPoints); + + /** + * 修改活动积分 + * + * @param bActivityPoints 活动积分 + * @return 结果 + */ + public int updateBActivityPoints(BActivityPoints bActivityPoints); + + /** + * 批量删除活动积分 + * + * @param ids 需要删除的活动积分主键集合 + * @return 结果 + */ + public int deleteBActivityPointsByIds(Long[] ids); + + /** + * 删除活动积分信息 + * + * @param id 活动积分主键 + * @return 结果 + */ + public int deleteBActivityPointsById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBActivityService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBActivityService.java new file mode 100644 index 0000000..ee9d1a8 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBActivityService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + + +import com.ruoyi.zhiyuanzhe.domain.BActivity; + +import java.util.List; + +/** + * 活动管理Service接口 + * + * @author ruoyi + * @date 2023-09-18 + */ +public interface IBActivityService +{ + /** + * 查询活动管理 + * + * @param id 活动管理主键 + * @return 活动管理 + */ + public BActivity selectBActivityById(Long id); + + /** + * 查询活动管理列表 + * + * @param bActivity 活动管理 + * @return 活动管理集合 + */ + public List selectBActivityList(BActivity bActivity); + + /** + * 新增活动管理 + * + * @param bActivity 活动管理 + * @return 结果 + */ + public int insertBActivity(BActivity bActivity); + + /** + * 修改活动管理 + * + * @param bActivity 活动管理 + * @return 结果 + */ + public int updateBActivity(BActivity bActivity); + + /** + * 批量删除活动管理 + * + * @param ids 需要删除的活动管理主键集合 + * @return 结果 + */ + public int deleteBActivityByIds(Long[] ids); + + /** + * 删除活动管理信息 + * + * @param id 活动管理主键 + * @return 结果 + */ + public int deleteBActivityById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBCertificatesService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBCertificatesService.java new file mode 100644 index 0000000..d8c98b2 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBCertificatesService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BCertificates; + +import java.util.List; + + +/** + * 证书管理Service接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface IBCertificatesService +{ + /** + * 查询证书管理 + * + * @param id 证书管理主键 + * @return 证书管理 + */ + public BCertificates selectBCertificatesById(Long id); + + /** + * 查询证书管理列表 + * + * @param bCertificates 证书管理 + * @return 证书管理集合 + */ + public List selectBCertificatesList(BCertificates bCertificates); + + /** + * 新增证书管理 + * + * @param bCertificates 证书管理 + * @return 结果 + */ + public int insertBCertificates(BCertificates bCertificates); + + /** + * 修改证书管理 + * + * @param bCertificates 证书管理 + * @return 结果 + */ + public int updateBCertificates(BCertificates bCertificates); + + /** + * 批量删除证书管理 + * + * @param ids 需要删除的证书管理主键集合 + * @return 结果 + */ + public int deleteBCertificatesByIds(Long[] ids); + + /** + * 删除证书管理信息 + * + * @param id 证书管理主键 + * @return 结果 + */ + public int deleteBCertificatesById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBCheckRecordsService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBCheckRecordsService.java new file mode 100644 index 0000000..f4a6177 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBCheckRecordsService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BCheckRecords; + +import java.util.List; + + +/** + * 物流记录Service接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface IBCheckRecordsService +{ + /** + * 查询物流记录 + * + * @param id 物流记录主键 + * @return 物流记录 + */ + public BCheckRecords selectBCheckRecordsById(Long id); + + /** + * 查询物流记录列表 + * + * @param bCheckRecords 物流记录 + * @return 物流记录集合 + */ + public List selectBCheckRecordsList(BCheckRecords bCheckRecords); + + /** + * 新增物流记录 + * + * @param bCheckRecords 物流记录 + * @return 结果 + */ + public int insertBCheckRecords(BCheckRecords bCheckRecords); + + /** + * 修改物流记录 + * + * @param bCheckRecords 物流记录 + * @return 结果 + */ + public int updateBCheckRecords(BCheckRecords bCheckRecords); + + /** + * 批量删除物流记录 + * + * @param ids 需要删除的物流记录主键集合 + * @return 结果 + */ + public int deleteBCheckRecordsByIds(Long[] ids); + + /** + * 删除物流记录信息 + * + * @param id 物流记录主键 + * @return 结果 + */ + public int deleteBCheckRecordsById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBDistributionRecordsService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBDistributionRecordsService.java new file mode 100644 index 0000000..290aa03 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBDistributionRecordsService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BDistributionRecords; + +import java.util.List; + + +/** + * 发放记录Service接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface IBDistributionRecordsService +{ + /** + * 查询发放记录 + * + * @param id 发放记录主键 + * @return 发放记录 + */ + public BDistributionRecords selectBDistributionRecordsById(Long id); + + /** + * 查询发放记录列表 + * + * @param bDistributionRecords 发放记录 + * @return 发放记录集合 + */ + public List selectBDistributionRecordsList(BDistributionRecords bDistributionRecords); + + /** + * 新增发放记录 + * + * @param bDistributionRecords 发放记录 + * @return 结果 + */ + public int insertBDistributionRecords(BDistributionRecords bDistributionRecords); + + /** + * 修改发放记录 + * + * @param bDistributionRecords 发放记录 + * @return 结果 + */ + public int updateBDistributionRecords(BDistributionRecords bDistributionRecords); + + /** + * 批量删除发放记录 + * + * @param ids 需要删除的发放记录主键集合 + * @return 结果 + */ + public int deleteBDistributionRecordsByIds(Long[] ids); + + /** + * 删除发放记录信息 + * + * @param id 发放记录主键 + * @return 结果 + */ + public int deleteBDistributionRecordsById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBExchangeRecordsService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBExchangeRecordsService.java new file mode 100644 index 0000000..2f18c9e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBExchangeRecordsService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BExchangeRecords; + +import java.util.List; + + +/** + * 兑换记录Service接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface IBExchangeRecordsService +{ + /** + * 查询兑换记录 + * + * @param id 兑换记录主键 + * @return 兑换记录 + */ + public BExchangeRecords selectBExchangeRecordsById(Long id); + + /** + * 查询兑换记录列表 + * + * @param bExchangeRecords 兑换记录 + * @return 兑换记录集合 + */ + public List selectBExchangeRecordsList(BExchangeRecords bExchangeRecords); + + /** + * 新增兑换记录 + * + * @param bExchangeRecords 兑换记录 + * @return 结果 + */ + public int insertBExchangeRecords(BExchangeRecords bExchangeRecords); + + /** + * 修改兑换记录 + * + * @param bExchangeRecords 兑换记录 + * @return 结果 + */ + public int updateBExchangeRecords(BExchangeRecords bExchangeRecords); + + /** + * 批量删除兑换记录 + * + * @param ids 需要删除的兑换记录主键集合 + * @return 结果 + */ + public int deleteBExchangeRecordsByIds(Long[] ids); + + /** + * 删除兑换记录信息 + * + * @param id 兑换记录主键 + * @return 结果 + */ + public int deleteBExchangeRecordsById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBInviteService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBInviteService.java new file mode 100644 index 0000000..0bdcfdc --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBInviteService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BInvite; + +import java.util.List; + + +/** + * 邀请Service接口 + * + * @author ruoyi + * @date 2023-09-19 + */ +public interface IBInviteService +{ + /** + * 查询邀请 + * + * @param id 邀请主键 + * @return 邀请 + */ + public BInvite selectBInviteById(Long id); + + /** + * 查询邀请列表 + * + * @param bInvite 邀请 + * @return 邀请集合 + */ + public List selectBInviteList(BInvite bInvite); + + /** + * 新增邀请 + * + * @param bInvite 邀请 + * @return 结果 + */ + public int insertBInvite(BInvite bInvite); + + /** + * 修改邀请 + * + * @param bInvite 邀请 + * @return 结果 + */ + public int updateBInvite(BInvite bInvite); + + /** + * 批量删除邀请 + * + * @param ids 需要删除的邀请主键集合 + * @return 结果 + */ + public int deleteBInviteByIds(Long[] ids); + + /** + * 删除邀请信息 + * + * @param id 邀请主键 + * @return 结果 + */ + public int deleteBInviteById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBPersonTagsService.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBPersonTagsService.java new file mode 100644 index 0000000..f9aca4b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/IBPersonTagsService.java @@ -0,0 +1,63 @@ +package com.ruoyi.zhiyuanzhe.service; + +import com.ruoyi.zhiyuanzhe.domain.BPersonTags; + +import java.util.List; + + +/** + * 人标签Service接口 + * + * @author ruoyi + * @date 2023-09-18 + */ +public interface IBPersonTagsService +{ + /** + * 查询人标签 + * + * @param id 人标签主键 + * @return 人标签 + */ + public BPersonTags selectBPersonTagsById(Long id); + + /** + * 查询人标签列表 + * + * @param bPersonTags 人标签 + * @return 人标签集合 + */ + public List selectBPersonTagsList(BPersonTags bPersonTags); + + /** + * 新增人标签 + * + * @param bPersonTags 人标签 + * @return 结果 + */ + public int insertBPersonTags(BPersonTags bPersonTags); + + /** + * 修改人标签 + * + * @param bPersonTags 人标签 + * @return 结果 + */ + public int updateBPersonTags(BPersonTags bPersonTags); + + /** + * 批量删除人标签 + * + * @param ids 需要删除的人标签主键集合 + * @return 结果 + */ + public int deleteBPersonTagsByIds(Long[] ids); + + /** + * 删除人标签信息 + * + * @param id 人标签主键 + * @return 结果 + */ + public int deleteBPersonTagsById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BActivityPointsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BActivityPointsServiceImpl.java new file mode 100644 index 0000000..1920e58 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BActivityPointsServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BActivityPoints; +import com.ruoyi.zhiyuanzhe.mapper.BActivityPointsMapper; +import com.ruoyi.zhiyuanzhe.service.IBActivityPointsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 活动积分Service业务层处理 + * + * @author ruoyi + * @date 2023-09-19 + */ +@Service +public class BActivityPointsServiceImpl implements IBActivityPointsService +{ + @Autowired + private BActivityPointsMapper bActivityPointsMapper; + + /** + * 查询活动积分 + * + * @param id 活动积分主键 + * @return 活动积分 + */ + @Override + public BActivityPoints selectBActivityPointsById(Long id) + { + return bActivityPointsMapper.selectBActivityPointsById(id); + } + + /** + * 查询活动积分列表 + * + * @param bActivityPoints 活动积分 + * @return 活动积分 + */ + @Override + public List selectBActivityPointsList(BActivityPoints bActivityPoints) + { + return bActivityPointsMapper.selectBActivityPointsList(bActivityPoints); + } + + /** + * 新增活动积分 + * + * @param bActivityPoints 活动积分 + * @return 结果 + */ + @Override + public int insertBActivityPoints(BActivityPoints bActivityPoints) + { + bActivityPoints.setCreateTime(DateUtils.getNowDate()); + return bActivityPointsMapper.insertBActivityPoints(bActivityPoints); + } + + /** + * 修改活动积分 + * + * @param bActivityPoints 活动积分 + * @return 结果 + */ + @Override + public int updateBActivityPoints(BActivityPoints bActivityPoints) + { + bActivityPoints.setUpdateTime(DateUtils.getNowDate()); + return bActivityPointsMapper.updateBActivityPoints(bActivityPoints); + } + + /** + * 批量删除活动积分 + * + * @param ids 需要删除的活动积分主键 + * @return 结果 + */ + @Override + public int deleteBActivityPointsByIds(Long[] ids) + { + return bActivityPointsMapper.deleteBActivityPointsByIds(ids); + } + + /** + * 删除活动积分信息 + * + * @param id 活动积分主键 + * @return 结果 + */ + @Override + public int deleteBActivityPointsById(Long id) + { + return bActivityPointsMapper.deleteBActivityPointsById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BActivityServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BActivityServiceImpl.java new file mode 100644 index 0000000..f15047a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BActivityServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BActivity; +import com.ruoyi.zhiyuanzhe.mapper.BActivityMapper; +import com.ruoyi.zhiyuanzhe.service.IBActivityService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * 活动管理Service业务层处理 + * + * @author ruoyi + * @date 2023-09-18 + */ +@Service("bActivityService") +public class BActivityServiceImpl implements IBActivityService +{ + @Autowired + private BActivityMapper bActivityMapper; + + /** + * 查询活动管理 + * + * @param id 活动管理主键 + * @return 活动管理 + */ + @Override + public BActivity selectBActivityById(Long id) + { + return bActivityMapper.selectBActivityById(id); + } + + /** + * 查询活动管理列表 + * + * @param bActivity 活动管理 + * @return 活动管理 + */ + @Override + public List selectBActivityList(BActivity bActivity) + { + return bActivityMapper.selectBActivityList(bActivity); + } + + /** + * 新增活动管理 + * + * @param bActivity 活动管理 + * @return 结果 + */ + @Override + public int insertBActivity(BActivity bActivity) + { + bActivity.setCreateTime(DateUtils.getNowDate()); + return bActivityMapper.insertBActivity(bActivity); + } + + /** + * 修改活动管理 + * + * @param bActivity 活动管理 + * @return 结果 + */ + @Override + public int updateBActivity(BActivity bActivity) + { + bActivity.setUpdateTime(DateUtils.getNowDate()); + return bActivityMapper.updateBActivity(bActivity); + } + + /** + * 批量删除活动管理 + * + * @param ids 需要删除的活动管理主键 + * @return 结果 + */ + @Override + public int deleteBActivityByIds(Long[] ids) + { + return bActivityMapper.deleteBActivityByIds(ids); + } + + /** + * 删除活动管理信息 + * + * @param id 活动管理主键 + * @return 结果 + */ + @Override + public int deleteBActivityById(Long id) + { + return bActivityMapper.deleteBActivityById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BCertificatesServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BCertificatesServiceImpl.java new file mode 100644 index 0000000..2225ae3 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BCertificatesServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BCertificates; +import com.ruoyi.zhiyuanzhe.mapper.BCertificatesMapper; +import com.ruoyi.zhiyuanzhe.service.IBCertificatesService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 证书管理Service业务层处理 + * + * @author ruoyi + * @date 2023-09-19 + */ +@Service +public class BCertificatesServiceImpl implements IBCertificatesService +{ + @Autowired + private BCertificatesMapper bCertificatesMapper; + + /** + * 查询证书管理 + * + * @param id 证书管理主键 + * @return 证书管理 + */ + @Override + public BCertificates selectBCertificatesById(Long id) + { + return bCertificatesMapper.selectBCertificatesById(id); + } + + /** + * 查询证书管理列表 + * + * @param bCertificates 证书管理 + * @return 证书管理 + */ + @Override + public List selectBCertificatesList(BCertificates bCertificates) + { + return bCertificatesMapper.selectBCertificatesList(bCertificates); + } + + /** + * 新增证书管理 + * + * @param bCertificates 证书管理 + * @return 结果 + */ + @Override + public int insertBCertificates(BCertificates bCertificates) + { + bCertificates.setCreateTime(DateUtils.getNowDate()); + return bCertificatesMapper.insertBCertificates(bCertificates); + } + + /** + * 修改证书管理 + * + * @param bCertificates 证书管理 + * @return 结果 + */ + @Override + public int updateBCertificates(BCertificates bCertificates) + { + bCertificates.setUpdateTime(DateUtils.getNowDate()); + return bCertificatesMapper.updateBCertificates(bCertificates); + } + + /** + * 批量删除证书管理 + * + * @param ids 需要删除的证书管理主键 + * @return 结果 + */ + @Override + public int deleteBCertificatesByIds(Long[] ids) + { + return bCertificatesMapper.deleteBCertificatesByIds(ids); + } + + /** + * 删除证书管理信息 + * + * @param id 证书管理主键 + * @return 结果 + */ + @Override + public int deleteBCertificatesById(Long id) + { + return bCertificatesMapper.deleteBCertificatesById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BCheckRecordsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BCheckRecordsServiceImpl.java new file mode 100644 index 0000000..40977a7 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BCheckRecordsServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BCheckRecords; +import com.ruoyi.zhiyuanzhe.mapper.BCheckRecordsMapper; +import com.ruoyi.zhiyuanzhe.service.IBCheckRecordsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 物流记录Service业务层处理 + * + * @author ruoyi + * @date 2023-09-19 + */ +@Service +public class BCheckRecordsServiceImpl implements IBCheckRecordsService +{ + @Autowired + private BCheckRecordsMapper bCheckRecordsMapper; + + /** + * 查询物流记录 + * + * @param id 物流记录主键 + * @return 物流记录 + */ + @Override + public BCheckRecords selectBCheckRecordsById(Long id) + { + return bCheckRecordsMapper.selectBCheckRecordsById(id); + } + + /** + * 查询物流记录列表 + * + * @param bCheckRecords 物流记录 + * @return 物流记录 + */ + @Override + public List selectBCheckRecordsList(BCheckRecords bCheckRecords) + { + return bCheckRecordsMapper.selectBCheckRecordsList(bCheckRecords); + } + + /** + * 新增物流记录 + * + * @param bCheckRecords 物流记录 + * @return 结果 + */ + @Override + public int insertBCheckRecords(BCheckRecords bCheckRecords) + { + bCheckRecords.setCreateTime(DateUtils.getNowDate()); + return bCheckRecordsMapper.insertBCheckRecords(bCheckRecords); + } + + /** + * 修改物流记录 + * + * @param bCheckRecords 物流记录 + * @return 结果 + */ + @Override + public int updateBCheckRecords(BCheckRecords bCheckRecords) + { + bCheckRecords.setUpdateTime(DateUtils.getNowDate()); + return bCheckRecordsMapper.updateBCheckRecords(bCheckRecords); + } + + /** + * 批量删除物流记录 + * + * @param ids 需要删除的物流记录主键 + * @return 结果 + */ + @Override + public int deleteBCheckRecordsByIds(Long[] ids) + { + return bCheckRecordsMapper.deleteBCheckRecordsByIds(ids); + } + + /** + * 删除物流记录信息 + * + * @param id 物流记录主键 + * @return 结果 + */ + @Override + public int deleteBCheckRecordsById(Long id) + { + return bCheckRecordsMapper.deleteBCheckRecordsById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BDistributionRecordsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BDistributionRecordsServiceImpl.java new file mode 100644 index 0000000..1706f26 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BDistributionRecordsServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BDistributionRecords; +import com.ruoyi.zhiyuanzhe.mapper.BDistributionRecordsMapper; +import com.ruoyi.zhiyuanzhe.service.IBDistributionRecordsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 发放记录Service业务层处理 + * + * @author ruoyi + * @date 2023-09-19 + */ +@Service +public class BDistributionRecordsServiceImpl implements IBDistributionRecordsService +{ + @Autowired + private BDistributionRecordsMapper bDistributionRecordsMapper; + + /** + * 查询发放记录 + * + * @param id 发放记录主键 + * @return 发放记录 + */ + @Override + public BDistributionRecords selectBDistributionRecordsById(Long id) + { + return bDistributionRecordsMapper.selectBDistributionRecordsById(id); + } + + /** + * 查询发放记录列表 + * + * @param bDistributionRecords 发放记录 + * @return 发放记录 + */ + @Override + public List selectBDistributionRecordsList(BDistributionRecords bDistributionRecords) + { + return bDistributionRecordsMapper.selectBDistributionRecordsList(bDistributionRecords); + } + + /** + * 新增发放记录 + * + * @param bDistributionRecords 发放记录 + * @return 结果 + */ + @Override + public int insertBDistributionRecords(BDistributionRecords bDistributionRecords) + { + bDistributionRecords.setCreateTime(DateUtils.getNowDate()); + return bDistributionRecordsMapper.insertBDistributionRecords(bDistributionRecords); + } + + /** + * 修改发放记录 + * + * @param bDistributionRecords 发放记录 + * @return 结果 + */ + @Override + public int updateBDistributionRecords(BDistributionRecords bDistributionRecords) + { + bDistributionRecords.setUpdateTime(DateUtils.getNowDate()); + return bDistributionRecordsMapper.updateBDistributionRecords(bDistributionRecords); + } + + /** + * 批量删除发放记录 + * + * @param ids 需要删除的发放记录主键 + * @return 结果 + */ + @Override + public int deleteBDistributionRecordsByIds(Long[] ids) + { + return bDistributionRecordsMapper.deleteBDistributionRecordsByIds(ids); + } + + /** + * 删除发放记录信息 + * + * @param id 发放记录主键 + * @return 结果 + */ + @Override + public int deleteBDistributionRecordsById(Long id) + { + return bDistributionRecordsMapper.deleteBDistributionRecordsById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BExchangeRecordsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BExchangeRecordsServiceImpl.java new file mode 100644 index 0000000..5a70896 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BExchangeRecordsServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BExchangeRecords; +import com.ruoyi.zhiyuanzhe.mapper.BExchangeRecordsMapper; +import com.ruoyi.zhiyuanzhe.service.IBExchangeRecordsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 兑换记录Service业务层处理 + * + * @author ruoyi + * @date 2023-09-19 + */ +@Service +public class BExchangeRecordsServiceImpl implements IBExchangeRecordsService +{ + @Autowired + private BExchangeRecordsMapper bExchangeRecordsMapper; + + /** + * 查询兑换记录 + * + * @param id 兑换记录主键 + * @return 兑换记录 + */ + @Override + public BExchangeRecords selectBExchangeRecordsById(Long id) + { + return bExchangeRecordsMapper.selectBExchangeRecordsById(id); + } + + /** + * 查询兑换记录列表 + * + * @param bExchangeRecords 兑换记录 + * @return 兑换记录 + */ + @Override + public List selectBExchangeRecordsList(BExchangeRecords bExchangeRecords) + { + return bExchangeRecordsMapper.selectBExchangeRecordsList(bExchangeRecords); + } + + /** + * 新增兑换记录 + * + * @param bExchangeRecords 兑换记录 + * @return 结果 + */ + @Override + public int insertBExchangeRecords(BExchangeRecords bExchangeRecords) + { + bExchangeRecords.setCreateTime(DateUtils.getNowDate()); + return bExchangeRecordsMapper.insertBExchangeRecords(bExchangeRecords); + } + + /** + * 修改兑换记录 + * + * @param bExchangeRecords 兑换记录 + * @return 结果 + */ + @Override + public int updateBExchangeRecords(BExchangeRecords bExchangeRecords) + { + bExchangeRecords.setUpdateTime(DateUtils.getNowDate()); + return bExchangeRecordsMapper.updateBExchangeRecords(bExchangeRecords); + } + + /** + * 批量删除兑换记录 + * + * @param ids 需要删除的兑换记录主键 + * @return 结果 + */ + @Override + public int deleteBExchangeRecordsByIds(Long[] ids) + { + return bExchangeRecordsMapper.deleteBExchangeRecordsByIds(ids); + } + + /** + * 删除兑换记录信息 + * + * @param id 兑换记录主键 + * @return 结果 + */ + @Override + public int deleteBExchangeRecordsById(Long id) + { + return bExchangeRecordsMapper.deleteBExchangeRecordsById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BInviteServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BInviteServiceImpl.java new file mode 100644 index 0000000..a5c5131 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BInviteServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BInvite; +import com.ruoyi.zhiyuanzhe.mapper.BInviteMapper; +import com.ruoyi.zhiyuanzhe.service.IBInviteService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 邀请Service业务层处理 + * + * @author ruoyi + * @date 2023-09-19 + */ +@Service +public class BInviteServiceImpl implements IBInviteService +{ + @Autowired + private BInviteMapper bInviteMapper; + + /** + * 查询邀请 + * + * @param id 邀请主键 + * @return 邀请 + */ + @Override + public BInvite selectBInviteById(Long id) + { + return bInviteMapper.selectBInviteById(id); + } + + /** + * 查询邀请列表 + * + * @param bInvite 邀请 + * @return 邀请 + */ + @Override + public List selectBInviteList(BInvite bInvite) + { + return bInviteMapper.selectBInviteList(bInvite); + } + + /** + * 新增邀请 + * + * @param bInvite 邀请 + * @return 结果 + */ + @Override + public int insertBInvite(BInvite bInvite) + { + bInvite.setCreateTime(DateUtils.getNowDate()); + return bInviteMapper.insertBInvite(bInvite); + } + + /** + * 修改邀请 + * + * @param bInvite 邀请 + * @return 结果 + */ + @Override + public int updateBInvite(BInvite bInvite) + { + bInvite.setUpdateTime(DateUtils.getNowDate()); + return bInviteMapper.updateBInvite(bInvite); + } + + /** + * 批量删除邀请 + * + * @param ids 需要删除的邀请主键 + * @return 结果 + */ + @Override + public int deleteBInviteByIds(Long[] ids) + { + return bInviteMapper.deleteBInviteByIds(ids); + } + + /** + * 删除邀请信息 + * + * @param id 邀请主键 + * @return 结果 + */ + @Override + public int deleteBInviteById(Long id) + { + return bInviteMapper.deleteBInviteById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BPersonTagsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BPersonTagsServiceImpl.java new file mode 100644 index 0000000..fef962f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/zhiyuanzhe/service/impl/BPersonTagsServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.zhiyuanzhe.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import com.ruoyi.zhiyuanzhe.domain.BPersonTags; +import com.ruoyi.zhiyuanzhe.mapper.BPersonTagsMapper; +import com.ruoyi.zhiyuanzhe.service.IBPersonTagsService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + + +/** + * 人标签Service业务层处理 + * + * @author ruoyi + * @date 2023-09-18 + */ +@Service("bPersonTagsService") +public class BPersonTagsServiceImpl implements IBPersonTagsService +{ + @Autowired + private BPersonTagsMapper bPersonTagsMapper; + + /** + * 查询人标签 + * + * @param id 人标签主键 + * @return 人标签 + */ + @Override + public BPersonTags selectBPersonTagsById(Long id) + { + return bPersonTagsMapper.selectBPersonTagsById(id); + } + + /** + * 查询人标签列表 + * + * @param bPersonTags 人标签 + * @return 人标签 + */ + @Override + public List selectBPersonTagsList(BPersonTags bPersonTags) + { + return bPersonTagsMapper.selectBPersonTagsList(bPersonTags); + } + + /** + * 新增人标签 + * + * @param bPersonTags 人标签 + * @return 结果 + */ + @Override + public int insertBPersonTags(BPersonTags bPersonTags) + { + bPersonTags.setCreateTime(DateUtils.getNowDate()); + return bPersonTagsMapper.insertBPersonTags(bPersonTags); + } + + /** + * 修改人标签 + * + * @param bPersonTags 人标签 + * @return 结果 + */ + @Override + public int updateBPersonTags(BPersonTags bPersonTags) + { + bPersonTags.setUpdateTime(DateUtils.getNowDate()); + return bPersonTagsMapper.updateBPersonTags(bPersonTags); + } + + /** + * 批量删除人标签 + * + * @param ids 需要删除的人标签主键 + * @return 结果 + */ + @Override + public int deleteBPersonTagsByIds(Long[] ids) + { + return bPersonTagsMapper.deleteBPersonTagsByIds(ids); + } + + /** + * 删除人标签信息 + * + * @param id 人标签主键 + * @return 结果 + */ + @Override + public int deleteBPersonTagsById(Long id) + { + return bPersonTagsMapper.deleteBPersonTagsById(id); + } +} diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 426a48a..d1851d1 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://39.101.188.84:3307/zhi_yuan_zhe?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: password + password: Admin123@ # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index cfe0d50..94b0d18 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -18,7 +18,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 8080 + port: 9034 servlet: # 应用的访问路径 context-path: / @@ -49,6 +49,8 @@ user: # Spring配置 spring: + application: + name: zhiyuanzhe # 资源信息 messages: # 国际化资源文件路径 @@ -129,3 +131,18 @@ xss: excludes: /system/notice # 匹配链接 urlPatterns: /system/*,/monitor/*,/tool/* + + +knife4j: + enable: true + openapi: + title: 志愿者 + description: 志愿者 + url: https://docs.xiaominfo.com + version: v4.0.0 + group: + demo: + group-name: ${spring.application.name} + api-rule: package + api-rule-resources: + - com \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BActivityMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BActivityMapper.xml new file mode 100644 index 0000000..ec87130 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BActivityMapper.xml @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, name, content, publisher, activity_time, address, age_range, housing_range, education_range, interest_range, political_range, sex_range, nationality_range, professional_range, industry_range, school_range, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_activity + + + + + + + + insert into b_activity + + name, + content, + publisher, + activity_time, + address, + age_range, + housing_range, + education_range, + interest_range, + political_range, + sex_range, + nationality_range, + professional_range, + industry_range, + school_range, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{name}, + #{content}, + #{publisher}, + #{activityTime}, + #{address}, + #{ageRange}, + #{housingRange}, + #{educationRange}, + #{interestRange}, + #{politicalRange}, + #{sexRange}, + #{nationalityRange}, + #{professionalRange}, + #{industryRange}, + #{schoolRange}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_activity + + name = #{name}, + content = #{content}, + publisher = #{publisher}, + activity_time = #{activityTime}, + address = #{address}, + age_range = #{ageRange}, + housing_range = #{housingRange}, + education_range = #{educationRange}, + interest_range = #{interestRange}, + political_range = #{politicalRange}, + sex_range = #{sexRange}, + nationality_range = #{nationalityRange}, + professional_range = #{professionalRange}, + industry_range = #{industryRange}, + school_range = #{schoolRange}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_activity where id = #{id} + + + + delete from b_activity where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BActivityPointsMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BActivityPointsMapper.xml new file mode 100644 index 0000000..3f13d19 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BActivityPointsMapper.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + select id, activity_id, u_id, points, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_activity_points + + + + + + + + insert into b_activity_points + + activity_id, + u_id, + points, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{activityId}, + #{uId}, + #{points}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_activity_points + + activity_id = #{activityId}, + u_id = #{uId}, + points = #{points}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_activity_points where id = #{id} + + + + delete from b_activity_points where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BCertificatesMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BCertificatesMapper.xml new file mode 100644 index 0000000..409ac4b --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BCertificatesMapper.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + select id, name, type, cover, content, datetime, service_duration, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_certificates + + + + + + + + insert into b_certificates + + name, + type, + cover, + content, + datetime, + service_duration, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{name}, + #{type}, + #{cover}, + #{content}, + #{datetime}, + #{serviceDuration}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_certificates + + name = #{name}, + type = #{type}, + cover = #{cover}, + content = #{content}, + datetime = #{datetime}, + service_duration = #{serviceDuration}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_certificates where id = #{id} + + + + delete from b_certificates where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BCheckRecordsMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BCheckRecordsMapper.xml new file mode 100644 index 0000000..33960e5 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BCheckRecordsMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, certificate_id, recipient, shipping_address, receiving_phone, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_check_records + + + + + + + + insert into b_check_records + + certificate_id, + recipient, + shipping_address, + receiving_phone, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{certificateId}, + #{recipient}, + #{shippingAddress}, + #{receivingPhone}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_check_records + + certificate_id = #{certificateId}, + recipient = #{recipient}, + shipping_address = #{shippingAddress}, + receiving_phone = #{receivingPhone}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_check_records where id = #{id} + + + + delete from b_check_records where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml new file mode 100644 index 0000000..e201e11 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BDistributionRecordsMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, activity_id, certificate_id, u_id, content, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_distribution_records + + + + + + + + insert into b_distribution_records + + activity_id, + certificate_id, + u_id, + content, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{activityId}, + #{certificateId}, + #{uId}, + #{content}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_distribution_records + + activity_id = #{activityId}, + certificate_id = #{certificateId}, + u_id = #{uId}, + content = #{content}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_distribution_records where id = #{id} + + + + delete from b_distribution_records where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BExchangeRecordsMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BExchangeRecordsMapper.xml new file mode 100644 index 0000000..ae9d5b6 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BExchangeRecordsMapper.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + select id, activity_id, certificate_id, u_id, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_exchange_records + + + + + + + + insert into b_exchange_records + + activity_id, + certificate_id, + u_id, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{activityId}, + #{certificateId}, + #{uId}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_exchange_records + + activity_id = #{activityId}, + certificate_id = #{certificateId}, + u_id = #{uId}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_exchange_records where id = #{id} + + + + delete from b_exchange_records where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BInviteMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BInviteMapper.xml new file mode 100644 index 0000000..98dfb12 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BInviteMapper.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + select id, u_id, activity_id, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_invite + + + + + + + + insert into b_invite + + u_id, + activity_id, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{uId}, + #{activityId}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_invite + + u_id = #{uId}, + activity_id = #{activityId}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_invite where id = #{id} + + + + delete from b_invite where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BPersonTagsMapper.xml b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BPersonTagsMapper.xml new file mode 100644 index 0000000..94511da --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/zhiyuanzhe/BPersonTagsMapper.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, u_id, age_range, housing_range, education_range, interest_range, political_range, sex_range, nationality_range, professional_range, industry_range, school_range, create_id, create_by, create_time, update_id, update_by, update_time, remark, user_id, dept_id from b_person_tags + + + + + + + + insert into b_person_tags + + u_id, + age_range, + housing_range, + education_range, + interest_range, + political_range, + sex_range, + nationality_range, + professional_range, + industry_range, + school_range, + create_id, + create_by, + create_time, + update_id, + update_by, + update_time, + remark, + user_id, + dept_id, + + + #{uId}, + #{ageRange}, + #{housingRange}, + #{educationRange}, + #{interestRange}, + #{politicalRange}, + #{sexRange}, + #{nationalityRange}, + #{professionalRange}, + #{industryRange}, + #{schoolRange}, + #{createId}, + #{createBy}, + #{createTime}, + #{updateId}, + #{updateBy}, + #{updateTime}, + #{remark}, + #{userId}, + #{deptId}, + + + + + update b_person_tags + + u_id = #{uId}, + age_range = #{ageRange}, + housing_range = #{housingRange}, + education_range = #{educationRange}, + interest_range = #{interestRange}, + political_range = #{politicalRange}, + sex_range = #{sexRange}, + nationality_range = #{nationalityRange}, + professional_range = #{professionalRange}, + industry_range = #{industryRange}, + school_range = #{schoolRange}, + create_id = #{createId}, + create_by = #{createBy}, + create_time = #{createTime}, + update_id = #{updateId}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + user_id = #{userId}, + dept_id = #{deptId}, + + where id = #{id} + + + + delete from b_person_tags where id = #{id} + + + + delete from b_person_tags where id in + + #{id} + + + \ No newline at end of file