parent
daea0bb505
commit
cf373589a5
@ -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<BActivity> 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<BActivity> list = bActivityService.selectBActivityList(bActivity);
|
||||
ExcelUtil<BActivity> util = new ExcelUtil<BActivity>(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));
|
||||
}
|
||||
}
|
@ -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<BActivityPoints> 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<BActivityPoints> list = bActivityPointsService.selectBActivityPointsList(bActivityPoints);
|
||||
ExcelUtil<BActivityPoints> util = new ExcelUtil<BActivityPoints>(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));
|
||||
}
|
||||
}
|
@ -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<BCertificates> 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<BCertificates> list = bCertificatesService.selectBCertificatesList(bCertificates);
|
||||
ExcelUtil<BCertificates> util = new ExcelUtil<BCertificates>(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));
|
||||
}
|
||||
}
|
@ -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<BCheckRecords> 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<BCheckRecords> list = bCheckRecordsService.selectBCheckRecordsList(bCheckRecords);
|
||||
ExcelUtil<BCheckRecords> util = new ExcelUtil<BCheckRecords>(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));
|
||||
}
|
||||
}
|
@ -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<BDistributionRecords> 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<BDistributionRecords> list = bDistributionRecordsService.selectBDistributionRecordsList(bDistributionRecords);
|
||||
ExcelUtil<BDistributionRecords> util = new ExcelUtil<BDistributionRecords>(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));
|
||||
}
|
||||
}
|
@ -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<BExchangeRecords> 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<BExchangeRecords> list = bExchangeRecordsService.selectBExchangeRecordsList(bExchangeRecords);
|
||||
ExcelUtil<BExchangeRecords> util = new ExcelUtil<BExchangeRecords>(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));
|
||||
}
|
||||
}
|
@ -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<BInvite> 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<BInvite> list = bInviteService.selectBInviteList(bInvite);
|
||||
ExcelUtil<BInvite> util = new ExcelUtil<BInvite>(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));
|
||||
}
|
||||
}
|
@ -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<BPersonTags> 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<BPersonTags> list = bPersonTagsService.selectBPersonTagsList(bPersonTags);
|
||||
ExcelUtil<BPersonTags> util = new ExcelUtil<BPersonTags>(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));
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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();
|
||||
}
|
||||
}
|
@ -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<BActivity> 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);
|
||||
}
|
@ -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<BActivityPoints> 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);
|
||||
}
|
@ -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<BCertificates> 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);
|
||||
}
|
@ -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<BCheckRecords> 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);
|
||||
}
|
@ -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<BDistributionRecords> 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);
|
||||
}
|
@ -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<BExchangeRecords> 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);
|
||||
}
|
@ -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<BInvite> 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);
|
||||
}
|
@ -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<BPersonTags> 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);
|
||||
}
|
@ -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<BActivityPoints> 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);
|
||||
}
|
@ -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<BActivity> 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);
|
||||
}
|
@ -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<BCertificates> 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);
|
||||
}
|
@ -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<BCheckRecords> 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);
|
||||
}
|
@ -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<BDistributionRecords> 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);
|
||||
}
|
@ -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<BExchangeRecords> 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);
|
||||
}
|
@ -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<BInvite> 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);
|
||||
}
|
@ -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<BPersonTags> 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);
|
||||
}
|
@ -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<BActivityPoints> 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);
|
||||
}
|
||||
}
|
@ -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<BActivity> 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);
|
||||
}
|
||||
}
|
@ -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<BCertificates> 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);
|
||||
}
|
||||
}
|
@ -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<BCheckRecords> 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);
|
||||
}
|
||||
}
|
@ -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<BDistributionRecords> 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);
|
||||
}
|
||||
}
|
@ -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<BExchangeRecords> 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);
|
||||
}
|
||||
}
|
@ -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<BInvite> 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);
|
||||
}
|
||||
}
|
@ -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<BPersonTags> 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);
|
||||
}
|
||||
}
|
@ -0,0 +1,166 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BActivityMapper">
|
||||
|
||||
<resultMap type="BActivity" id="BActivityResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="content" column="content" />
|
||||
<result property="publisher" column="publisher" />
|
||||
<result property="activityTime" column="activity_time" />
|
||||
<result property="address" column="address" />
|
||||
<result property="ageRange" column="age_range" />
|
||||
<result property="housingRange" column="housing_range" />
|
||||
<result property="educationRange" column="education_range" />
|
||||
<result property="interestRange" column="interest_range" />
|
||||
<result property="politicalRange" column="political_range" />
|
||||
<result property="sexRange" column="sex_range" />
|
||||
<result property="nationalityRange" column="nationality_range" />
|
||||
<result property="professionalRange" column="professional_range" />
|
||||
<result property="industryRange" column="industry_range" />
|
||||
<result property="schoolRange" column="school_range" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBActivityVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBActivityList" parameterType="BActivity" resultMap="BActivityResult">
|
||||
<include refid="selectBActivityVo"/>
|
||||
<where>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="content != null and content != ''"> and content = #{content}</if>
|
||||
<if test="publisher != null and publisher != ''"> and publisher = #{publisher}</if>
|
||||
<if test="activityTime != null "> and activity_time = #{activityTime}</if>
|
||||
<if test="address != null and address != ''"> and address = #{address}</if>
|
||||
<if test="ageRange != null and ageRange != ''"> and age_range = #{ageRange}</if>
|
||||
<if test="housingRange != null and housingRange != ''"> and housing_range = #{housingRange}</if>
|
||||
<if test="educationRange != null and educationRange != ''"> and education_range = #{educationRange}</if>
|
||||
<if test="interestRange != null and interestRange != ''"> and interest_range = #{interestRange}</if>
|
||||
<if test="politicalRange != null and politicalRange != ''"> and political_range = #{politicalRange}</if>
|
||||
<if test="sexRange != null and sexRange != ''"> and sex_range = #{sexRange}</if>
|
||||
<if test="nationalityRange != null and nationalityRange != ''"> and nationality_range = #{nationalityRange}</if>
|
||||
<if test="professionalRange != null and professionalRange != ''"> and professional_range = #{professionalRange}</if>
|
||||
<if test="industryRange != null and industryRange != ''"> and industry_range = #{industryRange}</if>
|
||||
<if test="schoolRange != null and schoolRange != ''"> and school_range = #{schoolRange}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBActivityById" parameterType="Long" resultMap="BActivityResult">
|
||||
<include refid="selectBActivityVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBActivity" parameterType="BActivity" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_activity
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">name,</if>
|
||||
<if test="content != null">content,</if>
|
||||
<if test="publisher != null">publisher,</if>
|
||||
<if test="activityTime != null">activity_time,</if>
|
||||
<if test="address != null">address,</if>
|
||||
<if test="ageRange != null">age_range,</if>
|
||||
<if test="housingRange != null">housing_range,</if>
|
||||
<if test="educationRange != null">education_range,</if>
|
||||
<if test="interestRange != null">interest_range,</if>
|
||||
<if test="politicalRange != null">political_range,</if>
|
||||
<if test="sexRange != null">sex_range,</if>
|
||||
<if test="nationalityRange != null">nationality_range,</if>
|
||||
<if test="professionalRange != null">professional_range,</if>
|
||||
<if test="industryRange != null">industry_range,</if>
|
||||
<if test="schoolRange != null">school_range,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">#{name},</if>
|
||||
<if test="content != null">#{content},</if>
|
||||
<if test="publisher != null">#{publisher},</if>
|
||||
<if test="activityTime != null">#{activityTime},</if>
|
||||
<if test="address != null">#{address},</if>
|
||||
<if test="ageRange != null">#{ageRange},</if>
|
||||
<if test="housingRange != null">#{housingRange},</if>
|
||||
<if test="educationRange != null">#{educationRange},</if>
|
||||
<if test="interestRange != null">#{interestRange},</if>
|
||||
<if test="politicalRange != null">#{politicalRange},</if>
|
||||
<if test="sexRange != null">#{sexRange},</if>
|
||||
<if test="nationalityRange != null">#{nationalityRange},</if>
|
||||
<if test="professionalRange != null">#{professionalRange},</if>
|
||||
<if test="industryRange != null">#{industryRange},</if>
|
||||
<if test="schoolRange != null">#{schoolRange},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBActivity" parameterType="BActivity">
|
||||
update b_activity
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null">name = #{name},</if>
|
||||
<if test="content != null">content = #{content},</if>
|
||||
<if test="publisher != null">publisher = #{publisher},</if>
|
||||
<if test="activityTime != null">activity_time = #{activityTime},</if>
|
||||
<if test="address != null">address = #{address},</if>
|
||||
<if test="ageRange != null">age_range = #{ageRange},</if>
|
||||
<if test="housingRange != null">housing_range = #{housingRange},</if>
|
||||
<if test="educationRange != null">education_range = #{educationRange},</if>
|
||||
<if test="interestRange != null">interest_range = #{interestRange},</if>
|
||||
<if test="politicalRange != null">political_range = #{politicalRange},</if>
|
||||
<if test="sexRange != null">sex_range = #{sexRange},</if>
|
||||
<if test="nationalityRange != null">nationality_range = #{nationalityRange},</if>
|
||||
<if test="professionalRange != null">professional_range = #{professionalRange},</if>
|
||||
<if test="industryRange != null">industry_range = #{industryRange},</if>
|
||||
<if test="schoolRange != null">school_range = #{schoolRange},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBActivityById" parameterType="Long">
|
||||
delete from b_activity where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBActivityByIds" parameterType="String">
|
||||
delete from b_activity where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BActivityPointsMapper">
|
||||
|
||||
<resultMap type="BActivityPoints" id="BActivityPointsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="activityId" column="activity_id" />
|
||||
<result property="uId" column="u_id" />
|
||||
<result property="points" column="points" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBActivityPointsVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBActivityPointsList" parameterType="BActivityPoints" resultMap="BActivityPointsResult">
|
||||
<include refid="selectBActivityPointsVo"/>
|
||||
<where>
|
||||
<if test="activityId != null "> and activity_id = #{activityId}</if>
|
||||
<if test="uId != null "> and u_id = #{uId}</if>
|
||||
<if test="points != null and points != ''"> and points = #{points}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBActivityPointsById" parameterType="Long" resultMap="BActivityPointsResult">
|
||||
<include refid="selectBActivityPointsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBActivityPoints" parameterType="BActivityPoints" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_activity_points
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="activityId != null">activity_id,</if>
|
||||
<if test="uId != null">u_id,</if>
|
||||
<if test="points != null">points,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="activityId != null">#{activityId},</if>
|
||||
<if test="uId != null">#{uId},</if>
|
||||
<if test="points != null">#{points},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBActivityPoints" parameterType="BActivityPoints">
|
||||
update b_activity_points
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="activityId != null">activity_id = #{activityId},</if>
|
||||
<if test="uId != null">u_id = #{uId},</if>
|
||||
<if test="points != null">points = #{points},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBActivityPointsById" parameterType="Long">
|
||||
delete from b_activity_points where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBActivityPointsByIds" parameterType="String">
|
||||
delete from b_activity_points where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BCertificatesMapper">
|
||||
|
||||
<resultMap type="BCertificates" id="BCertificatesResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="type" column="type" />
|
||||
<result property="cover" column="cover" />
|
||||
<result property="content" column="content" />
|
||||
<result property="datetime" column="datetime" />
|
||||
<result property="serviceDuration" column="service_duration" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBCertificatesVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBCertificatesList" parameterType="BCertificates" resultMap="BCertificatesResult">
|
||||
<include refid="selectBCertificatesVo"/>
|
||||
<where>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="type != null and type != ''"> and type = #{type}</if>
|
||||
<if test="cover != null and cover != ''"> and cover = #{cover}</if>
|
||||
<if test="content != null and content != ''"> and content = #{content}</if>
|
||||
<if test="datetime != null "> and datetime = #{datetime}</if>
|
||||
<if test="serviceDuration != null "> and service_duration = #{serviceDuration}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBCertificatesById" parameterType="Long" resultMap="BCertificatesResult">
|
||||
<include refid="selectBCertificatesVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBCertificates" parameterType="BCertificates" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_certificates
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">name,</if>
|
||||
<if test="type != null">type,</if>
|
||||
<if test="cover != null">cover,</if>
|
||||
<if test="content != null">content,</if>
|
||||
<if test="datetime != null">datetime,</if>
|
||||
<if test="serviceDuration != null">service_duration,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">#{name},</if>
|
||||
<if test="type != null">#{type},</if>
|
||||
<if test="cover != null">#{cover},</if>
|
||||
<if test="content != null">#{content},</if>
|
||||
<if test="datetime != null">#{datetime},</if>
|
||||
<if test="serviceDuration != null">#{serviceDuration},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBCertificates" parameterType="BCertificates">
|
||||
update b_certificates
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null">name = #{name},</if>
|
||||
<if test="type != null">type = #{type},</if>
|
||||
<if test="cover != null">cover = #{cover},</if>
|
||||
<if test="content != null">content = #{content},</if>
|
||||
<if test="datetime != null">datetime = #{datetime},</if>
|
||||
<if test="serviceDuration != null">service_duration = #{serviceDuration},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBCertificatesById" parameterType="Long">
|
||||
delete from b_certificates where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBCertificatesByIds" parameterType="String">
|
||||
delete from b_certificates where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BCheckRecordsMapper">
|
||||
|
||||
<resultMap type="BCheckRecords" id="BCheckRecordsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="certificateId" column="certificate_id" />
|
||||
<result property="recipient" column="recipient" />
|
||||
<result property="shippingAddress" column="shipping_address" />
|
||||
<result property="receivingPhone" column="receiving_phone" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBCheckRecordsVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBCheckRecordsList" parameterType="BCheckRecords" resultMap="BCheckRecordsResult">
|
||||
<include refid="selectBCheckRecordsVo"/>
|
||||
<where>
|
||||
<if test="certificateId != null "> and certificate_id = #{certificateId}</if>
|
||||
<if test="recipient != null and recipient != ''"> and recipient = #{recipient}</if>
|
||||
<if test="shippingAddress != null and shippingAddress != ''"> and shipping_address = #{shippingAddress}</if>
|
||||
<if test="receivingPhone != null and receivingPhone != ''"> and receiving_phone = #{receivingPhone}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBCheckRecordsById" parameterType="Long" resultMap="BCheckRecordsResult">
|
||||
<include refid="selectBCheckRecordsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBCheckRecords" parameterType="BCheckRecords" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_check_records
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="certificateId != null">certificate_id,</if>
|
||||
<if test="recipient != null">recipient,</if>
|
||||
<if test="shippingAddress != null">shipping_address,</if>
|
||||
<if test="receivingPhone != null">receiving_phone,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="certificateId != null">#{certificateId},</if>
|
||||
<if test="recipient != null">#{recipient},</if>
|
||||
<if test="shippingAddress != null">#{shippingAddress},</if>
|
||||
<if test="receivingPhone != null">#{receivingPhone},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBCheckRecords" parameterType="BCheckRecords">
|
||||
update b_check_records
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="certificateId != null">certificate_id = #{certificateId},</if>
|
||||
<if test="recipient != null">recipient = #{recipient},</if>
|
||||
<if test="shippingAddress != null">shipping_address = #{shippingAddress},</if>
|
||||
<if test="receivingPhone != null">receiving_phone = #{receivingPhone},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBCheckRecordsById" parameterType="Long">
|
||||
delete from b_check_records where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBCheckRecordsByIds" parameterType="String">
|
||||
delete from b_check_records where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BDistributionRecordsMapper">
|
||||
|
||||
<resultMap type="BDistributionRecords" id="BDistributionRecordsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="activityId" column="activity_id" />
|
||||
<result property="certificateId" column="certificate_id" />
|
||||
<result property="uId" column="u_id" />
|
||||
<result property="content" column="content" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBDistributionRecordsVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBDistributionRecordsList" parameterType="BDistributionRecords" resultMap="BDistributionRecordsResult">
|
||||
<include refid="selectBDistributionRecordsVo"/>
|
||||
<where>
|
||||
<if test="activityId != null "> and activity_id = #{activityId}</if>
|
||||
<if test="certificateId != null "> and certificate_id = #{certificateId}</if>
|
||||
<if test="uId != null "> and u_id = #{uId}</if>
|
||||
<if test="content != null and content != ''"> and content = #{content}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBDistributionRecordsById" parameterType="Long" resultMap="BDistributionRecordsResult">
|
||||
<include refid="selectBDistributionRecordsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBDistributionRecords" parameterType="BDistributionRecords" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_distribution_records
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="activityId != null">activity_id,</if>
|
||||
<if test="certificateId != null">certificate_id,</if>
|
||||
<if test="uId != null">u_id,</if>
|
||||
<if test="content != null">content,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="activityId != null">#{activityId},</if>
|
||||
<if test="certificateId != null">#{certificateId},</if>
|
||||
<if test="uId != null">#{uId},</if>
|
||||
<if test="content != null">#{content},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBDistributionRecords" parameterType="BDistributionRecords">
|
||||
update b_distribution_records
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="activityId != null">activity_id = #{activityId},</if>
|
||||
<if test="certificateId != null">certificate_id = #{certificateId},</if>
|
||||
<if test="uId != null">u_id = #{uId},</if>
|
||||
<if test="content != null">content = #{content},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBDistributionRecordsById" parameterType="Long">
|
||||
delete from b_distribution_records where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBDistributionRecordsByIds" parameterType="String">
|
||||
delete from b_distribution_records where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BExchangeRecordsMapper">
|
||||
|
||||
<resultMap type="BExchangeRecords" id="BExchangeRecordsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="activityId" column="activity_id" />
|
||||
<result property="certificateId" column="certificate_id" />
|
||||
<result property="uId" column="u_id" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBExchangeRecordsVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBExchangeRecordsList" parameterType="BExchangeRecords" resultMap="BExchangeRecordsResult">
|
||||
<include refid="selectBExchangeRecordsVo"/>
|
||||
<where>
|
||||
<if test="activityId != null "> and activity_id = #{activityId}</if>
|
||||
<if test="certificateId != null "> and certificate_id = #{certificateId}</if>
|
||||
<if test="uId != null "> and u_id = #{uId}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBExchangeRecordsById" parameterType="Long" resultMap="BExchangeRecordsResult">
|
||||
<include refid="selectBExchangeRecordsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBExchangeRecords" parameterType="BExchangeRecords" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_exchange_records
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="activityId != null">activity_id,</if>
|
||||
<if test="certificateId != null">certificate_id,</if>
|
||||
<if test="uId != null">u_id,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="activityId != null">#{activityId},</if>
|
||||
<if test="certificateId != null">#{certificateId},</if>
|
||||
<if test="uId != null">#{uId},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBExchangeRecords" parameterType="BExchangeRecords">
|
||||
update b_exchange_records
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="activityId != null">activity_id = #{activityId},</if>
|
||||
<if test="certificateId != null">certificate_id = #{certificateId},</if>
|
||||
<if test="uId != null">u_id = #{uId},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBExchangeRecordsById" parameterType="Long">
|
||||
delete from b_exchange_records where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBExchangeRecordsByIds" parameterType="String">
|
||||
delete from b_exchange_records where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BInviteMapper">
|
||||
|
||||
<resultMap type="BInvite" id="BInviteResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="uId" column="u_id" />
|
||||
<result property="activityId" column="activity_id" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBInviteVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBInviteList" parameterType="BInvite" resultMap="BInviteResult">
|
||||
<include refid="selectBInviteVo"/>
|
||||
<where>
|
||||
<if test="uId != null "> and u_id = #{uId}</if>
|
||||
<if test="activityId != null "> and activity_id = #{activityId}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBInviteById" parameterType="Long" resultMap="BInviteResult">
|
||||
<include refid="selectBInviteVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBInvite" parameterType="BInvite" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_invite
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="uId != null">u_id,</if>
|
||||
<if test="activityId != null">activity_id,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="uId != null">#{uId},</if>
|
||||
<if test="activityId != null">#{activityId},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBInvite" parameterType="BInvite">
|
||||
update b_invite
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="uId != null">u_id = #{uId},</if>
|
||||
<if test="activityId != null">activity_id = #{activityId},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBInviteById" parameterType="Long">
|
||||
delete from b_invite where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBInviteByIds" parameterType="String">
|
||||
delete from b_invite where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper.BPersonTagsMapper">
|
||||
|
||||
<resultMap type="BPersonTags" id="BPersonTagsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="uId" column="u_id" />
|
||||
<result property="ageRange" column="age_range" />
|
||||
<result property="housingRange" column="housing_range" />
|
||||
<result property="educationRange" column="education_range" />
|
||||
<result property="interestRange" column="interest_range" />
|
||||
<result property="politicalRange" column="political_range" />
|
||||
<result property="sexRange" column="sex_range" />
|
||||
<result property="nationalityRange" column="nationality_range" />
|
||||
<result property="professionalRange" column="professional_range" />
|
||||
<result property="industryRange" column="industry_range" />
|
||||
<result property="schoolRange" column="school_range" />
|
||||
<result property="createId" column="create_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateId" column="update_id" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="deptId" column="dept_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectBPersonTagsVo">
|
||||
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
|
||||
</sql>
|
||||
|
||||
<select id="selectBPersonTagsList" parameterType="BPersonTags" resultMap="BPersonTagsResult">
|
||||
<include refid="selectBPersonTagsVo"/>
|
||||
<where>
|
||||
<if test="uId != null "> and u_id = #{uId}</if>
|
||||
<if test="ageRange != null and ageRange != ''"> and age_range = #{ageRange}</if>
|
||||
<if test="housingRange != null and housingRange != ''"> and housing_range = #{housingRange}</if>
|
||||
<if test="educationRange != null and educationRange != ''"> and education_range = #{educationRange}</if>
|
||||
<if test="interestRange != null and interestRange != ''"> and interest_range = #{interestRange}</if>
|
||||
<if test="politicalRange != null and politicalRange != ''"> and political_range = #{politicalRange}</if>
|
||||
<if test="sexRange != null and sexRange != ''"> and sex_range = #{sexRange}</if>
|
||||
<if test="nationalityRange != null and nationalityRange != ''"> and nationality_range = #{nationalityRange}</if>
|
||||
<if test="professionalRange != null and professionalRange != ''"> and professional_range = #{professionalRange}</if>
|
||||
<if test="industryRange != null and industryRange != ''"> and industry_range = #{industryRange}</if>
|
||||
<if test="schoolRange != null and schoolRange != ''"> and school_range = #{schoolRange}</if>
|
||||
<if test="createId != null "> and create_id = #{createId}</if>
|
||||
<if test="updateId != null "> and update_id = #{updateId}</if>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectBPersonTagsById" parameterType="Long" resultMap="BPersonTagsResult">
|
||||
<include refid="selectBPersonTagsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertBPersonTags" parameterType="BPersonTags" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into b_person_tags
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="uId != null">u_id,</if>
|
||||
<if test="ageRange != null">age_range,</if>
|
||||
<if test="housingRange != null">housing_range,</if>
|
||||
<if test="educationRange != null">education_range,</if>
|
||||
<if test="interestRange != null">interest_range,</if>
|
||||
<if test="politicalRange != null">political_range,</if>
|
||||
<if test="sexRange != null">sex_range,</if>
|
||||
<if test="nationalityRange != null">nationality_range,</if>
|
||||
<if test="professionalRange != null">professional_range,</if>
|
||||
<if test="industryRange != null">industry_range,</if>
|
||||
<if test="schoolRange != null">school_range,</if>
|
||||
<if test="createId != null">create_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateId != null">update_id,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="deptId != null">dept_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="uId != null">#{uId},</if>
|
||||
<if test="ageRange != null">#{ageRange},</if>
|
||||
<if test="housingRange != null">#{housingRange},</if>
|
||||
<if test="educationRange != null">#{educationRange},</if>
|
||||
<if test="interestRange != null">#{interestRange},</if>
|
||||
<if test="politicalRange != null">#{politicalRange},</if>
|
||||
<if test="sexRange != null">#{sexRange},</if>
|
||||
<if test="nationalityRange != null">#{nationalityRange},</if>
|
||||
<if test="professionalRange != null">#{professionalRange},</if>
|
||||
<if test="industryRange != null">#{industryRange},</if>
|
||||
<if test="schoolRange != null">#{schoolRange},</if>
|
||||
<if test="createId != null">#{createId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateId != null">#{updateId},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="deptId != null">#{deptId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateBPersonTags" parameterType="BPersonTags">
|
||||
update b_person_tags
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="uId != null">u_id = #{uId},</if>
|
||||
<if test="ageRange != null">age_range = #{ageRange},</if>
|
||||
<if test="housingRange != null">housing_range = #{housingRange},</if>
|
||||
<if test="educationRange != null">education_range = #{educationRange},</if>
|
||||
<if test="interestRange != null">interest_range = #{interestRange},</if>
|
||||
<if test="politicalRange != null">political_range = #{politicalRange},</if>
|
||||
<if test="sexRange != null">sex_range = #{sexRange},</if>
|
||||
<if test="nationalityRange != null">nationality_range = #{nationalityRange},</if>
|
||||
<if test="professionalRange != null">professional_range = #{professionalRange},</if>
|
||||
<if test="industryRange != null">industry_range = #{industryRange},</if>
|
||||
<if test="schoolRange != null">school_range = #{schoolRange},</if>
|
||||
<if test="createId != null">create_id = #{createId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateId != null">update_id = #{updateId},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteBPersonTagsById" parameterType="Long">
|
||||
delete from b_person_tags where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBPersonTagsByIds" parameterType="String">
|
||||
delete from b_person_tags where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in new issue