| @ -1,31 +1,29 @@ | |||
| package com.ruoyi.applet.contoller; | |||
| import com.ruoyi.common.annotation.Anonymous; | |||
| import com.ruoyi.common.core.controller.BaseController; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| import com.ruoyi.model.domain.AppBanner; | |||
| import com.ruoyi.model.service.IAppBannerService; | |||
| import io.swagger.annotations.Api; | |||
| import io.swagger.annotations.ApiOperation; | |||
| import org.springframework.beans.factory.annotation.Autowired; | |||
| import org.springframework.http.ResponseEntity; | |||
| import org.springframework.web.bind.annotation.GetMapping; | |||
| import org.springframework.web.bind.annotation.PostMapping; | |||
| import org.springframework.web.bind.annotation.RequestMapping; | |||
| import org.springframework.web.bind.annotation.RestController; | |||
| import java.util.List; | |||
| @Api("轮播图") | |||
| @Api(description = "轮播图") | |||
| @RestController | |||
| @RequestMapping("/applet/banner") | |||
| public class AppletBannerController { | |||
| public class AppletBannerController extends BaseController { | |||
| //1.查询轮播图接口 | |||
| @Autowired | |||
| private IAppBannerService iAppBannerService; | |||
| @ApiOperation("轮播图列表") | |||
| @GetMapping("/list") | |||
| public List<AppBanner> list(){ | |||
| return iAppBannerService.getBannerList(); | |||
| public TableDataInfo list(){ | |||
| return getDataTable(iAppBannerService.getBannerList()); | |||
| } | |||
| } | |||
| @ -1,8 +0,0 @@ | |||
| package com.ruoyi.applet.domain; | |||
| import lombok.Data; | |||
| @Data | |||
| public class AppletLoginRequest { | |||
| private String code; | |||
| } | |||
| @ -1,7 +0,0 @@ | |||
| package com.ruoyi.applet.service; | |||
| import org.springframework.http.ResponseEntity; | |||
| public interface IAppletBannerService { | |||
| ResponseEntity getBannerList(); | |||
| } | |||
| @ -1,23 +0,0 @@ | |||
| package com.ruoyi.applet.service.impl; | |||
| import com.ruoyi.applet.service.IAppletBannerService; | |||
| import com.ruoyi.model.domain.AppBanner; | |||
| import com.ruoyi.model.service.IAppBannerService; | |||
| import com.ruoyi.system.service.IBasicServicesService; | |||
| import org.springframework.beans.factory.annotation.Autowired; | |||
| import org.springframework.http.ResponseEntity; | |||
| import org.springframework.stereotype.Service; | |||
| import java.util.List; | |||
| @Service | |||
| public class AppletBannerServiceImpl implements IAppletBannerService { | |||
| @Autowired | |||
| private IAppBannerService iAppBannerService; | |||
| @Override | |||
| public ResponseEntity getBannerList() { | |||
| List<AppBanner> bannerList = iAppBannerService.getBannerList(); | |||
| return ResponseEntity.ok(bannerList); | |||
| } | |||
| } | |||
| @ -1,105 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.CleanItems; | |||
| import com.ruoyi.catdog.service.ICleanItemsService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 清洁物品Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/items") | |||
| public class CleanItemsController extends BaseController | |||
| { | |||
| @Autowired | |||
| private ICleanItemsService cleanItemsService; | |||
| /** | |||
| * 查询清洁物品列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:items:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(CleanItems cleanItems) | |||
| { | |||
| startPage(); | |||
| List<CleanItems> list = cleanItemsService.selectCleanItemsList(cleanItems); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出清洁物品列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:items:export')") | |||
| @Log(title = "清洁物品", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, CleanItems cleanItems) throws IOException { | |||
| List<CleanItems> list = cleanItemsService.selectCleanItemsList(cleanItems); | |||
| ExcelUtil<CleanItems> util = new ExcelUtil<CleanItems>(CleanItems.class); | |||
| util.exportExcel(response, list, "清洁物品数据"); | |||
| } | |||
| /** | |||
| * 获取清洁物品详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:items:query')") | |||
| @GetMapping(value = "/{cleanItemsId}") | |||
| public AjaxResult getInfo(@PathVariable("cleanItemsId") Long cleanItemsId) | |||
| { | |||
| // return success(cleanItemsService.selectCleanItemsByCleanItemsId(cleanItemsId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增清洁物品 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:items:add')") | |||
| @Log(title = "清洁物品", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody CleanItems cleanItems) | |||
| { | |||
| return toAjax(cleanItemsService.insertCleanItems(cleanItems)); | |||
| } | |||
| /** | |||
| * 修改清洁物品 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:items:edit')") | |||
| @Log(title = "清洁物品", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody CleanItems cleanItems) | |||
| { | |||
| return toAjax(cleanItemsService.updateCleanItems(cleanItems)); | |||
| } | |||
| /** | |||
| * 删除清洁物品 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:items:remove')") | |||
| @Log(title = "清洁物品", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{cleanItemsIds}") | |||
| public AjaxResult remove(@PathVariable Long[] cleanItemsIds) | |||
| { | |||
| return toAjax(cleanItemsService.deleteCleanItemsByCleanItemsIds(cleanItemsIds)); | |||
| } | |||
| } | |||
| @ -1,105 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.CleanRequest; | |||
| import com.ruoyi.catdog.service.ICleanRequestService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 清洁要求Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/request") | |||
| public class CleanRequestController extends BaseController | |||
| { | |||
| @Autowired | |||
| private ICleanRequestService cleanRequestService; | |||
| /** | |||
| * 查询清洁要求列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:request:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(CleanRequest cleanRequest) | |||
| { | |||
| startPage(); | |||
| List<CleanRequest> list = cleanRequestService.selectCleanRequestList(cleanRequest); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出清洁要求列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:request:export')") | |||
| @Log(title = "清洁要求", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, CleanRequest cleanRequest) throws IOException { | |||
| List<CleanRequest> list = cleanRequestService.selectCleanRequestList(cleanRequest); | |||
| ExcelUtil<CleanRequest> util = new ExcelUtil<CleanRequest>(CleanRequest.class); | |||
| util.exportExcel(response, list, "清洁要求数据"); | |||
| } | |||
| /** | |||
| * 获取清洁要求详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:request:query')") | |||
| @GetMapping(value = "/{cleanRequestId}") | |||
| public AjaxResult getInfo(@PathVariable("cleanRequestId") Long cleanRequestId) | |||
| { | |||
| // return success(cleanRequestService.selectCleanRequestByCleanRequestId(cleanRequestId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增清洁要求 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:request:add')") | |||
| @Log(title = "清洁要求", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody CleanRequest cleanRequest) | |||
| { | |||
| return toAjax(cleanRequestService.insertCleanRequest(cleanRequest)); | |||
| } | |||
| /** | |||
| * 修改清洁要求 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:request:edit')") | |||
| @Log(title = "清洁要求", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody CleanRequest cleanRequest) | |||
| { | |||
| return toAjax(cleanRequestService.updateCleanRequest(cleanRequest)); | |||
| } | |||
| /** | |||
| * 删除清洁要求 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:request:remove')") | |||
| @Log(title = "清洁要求", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{cleanRequestIds}") | |||
| public AjaxResult remove(@PathVariable Long[] cleanRequestIds) | |||
| { | |||
| return toAjax(cleanRequestService.deleteCleanRequestByCleanRequestIds(cleanRequestIds)); | |||
| } | |||
| } | |||
| @ -1,105 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.CurrentConfig; | |||
| import com.ruoyi.catdog.service.ICurrentConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 等级配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/current") | |||
| public class CurrentConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private ICurrentConfigService currentConfigService; | |||
| /** | |||
| * 查询等级配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:current:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(CurrentConfig currentConfig) | |||
| { | |||
| startPage(); | |||
| List<CurrentConfig> list = currentConfigService.selectCurrentConfigList(currentConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出等级配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:current:export')") | |||
| @Log(title = "等级配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, CurrentConfig currentConfig) throws IOException { | |||
| List<CurrentConfig> list = currentConfigService.selectCurrentConfigList(currentConfig); | |||
| ExcelUtil<CurrentConfig> util = new ExcelUtil<CurrentConfig>(CurrentConfig.class); | |||
| util.exportExcel(response, list, "等级配置数据"); | |||
| } | |||
| /** | |||
| * 获取等级配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:current:query')") | |||
| @GetMapping(value = "/{currentId}") | |||
| public AjaxResult getInfo(@PathVariable("currentId") Long currentId) | |||
| { | |||
| // return success(currentConfigService.selectCurrentConfigByCurrentId(currentId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增等级配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:current:add')") | |||
| @Log(title = "等级配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody CurrentConfig currentConfig) | |||
| { | |||
| return toAjax(currentConfigService.insertCurrentConfig(currentConfig)); | |||
| } | |||
| /** | |||
| * 修改等级配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:current:edit')") | |||
| @Log(title = "等级配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody CurrentConfig currentConfig) | |||
| { | |||
| return toAjax(currentConfigService.updateCurrentConfig(currentConfig)); | |||
| } | |||
| /** | |||
| * 删除等级配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:current:remove')") | |||
| @Log(title = "等级配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{currentIds}") | |||
| public AjaxResult remove(@PathVariable Long[] currentIds) | |||
| { | |||
| return toAjax(currentConfigService.deleteCurrentConfigByCurrentIds(currentIds)); | |||
| } | |||
| } | |||
| @ -1,105 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Deposit; | |||
| import com.ruoyi.catdog.service.IDepositService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 保证金记录Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/deposit") | |||
| public class DepositController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IDepositService depositService; | |||
| /** | |||
| * 查询保证金记录列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:deposit:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Deposit deposit) | |||
| { | |||
| startPage(); | |||
| List<Deposit> list = depositService.selectDepositList(deposit); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出保证金记录列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:deposit:export')") | |||
| @Log(title = "保证金记录", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Deposit deposit) throws IOException { | |||
| List<Deposit> list = depositService.selectDepositList(deposit); | |||
| ExcelUtil<Deposit> util = new ExcelUtil<Deposit>(Deposit.class); | |||
| util.exportExcel(response, list, "保证金记录数据"); | |||
| } | |||
| /** | |||
| * 获取保证金记录详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:deposit:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| // return success(depositService.selectDepositById(id)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增保证金记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:deposit:add')") | |||
| @Log(title = "保证金记录", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Deposit deposit) | |||
| { | |||
| return toAjax(depositService.insertDeposit(deposit)); | |||
| } | |||
| /** | |||
| * 修改保证金记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:deposit:edit')") | |||
| @Log(title = "保证金记录", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Deposit deposit) | |||
| { | |||
| return toAjax(depositService.updateDeposit(deposit)); | |||
| } | |||
| /** | |||
| * 删除保证金记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:deposit:remove')") | |||
| @Log(title = "保证金记录", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(depositService.deleteDepositByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,105 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.DescriptivesConfig; | |||
| import com.ruoyi.catdog.service.IDescriptivesConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 数据描述配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/descriptives") | |||
| public class DescriptivesConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IDescriptivesConfigService descriptivesConfigService; | |||
| /** | |||
| * 查询数据描述配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:descriptives:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(DescriptivesConfig descriptivesConfig) | |||
| { | |||
| startPage(); | |||
| List<DescriptivesConfig> list = descriptivesConfigService.selectDescriptivesConfigList(descriptivesConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出数据描述配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:descriptives:export')") | |||
| @Log(title = "数据描述配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, DescriptivesConfig descriptivesConfig) throws IOException { | |||
| List<DescriptivesConfig> list = descriptivesConfigService.selectDescriptivesConfigList(descriptivesConfig); | |||
| ExcelUtil<DescriptivesConfig> util = new ExcelUtil<DescriptivesConfig>(DescriptivesConfig.class); | |||
| util.exportExcel(response, list, "数据描述配置数据"); | |||
| } | |||
| /** | |||
| * 获取数据描述配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:descriptives:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| // return success(descriptivesConfigService.selectDescriptivesConfigById(id)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增数据描述配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:descriptives:add')") | |||
| @Log(title = "数据描述配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody DescriptivesConfig descriptivesConfig) | |||
| { | |||
| return toAjax(descriptivesConfigService.insertDescriptivesConfig(descriptivesConfig)); | |||
| } | |||
| /** | |||
| * 修改数据描述配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:descriptives:edit')") | |||
| @Log(title = "数据描述配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody DescriptivesConfig descriptivesConfig) | |||
| { | |||
| return toAjax(descriptivesConfigService.updateDescriptivesConfig(descriptivesConfig)); | |||
| } | |||
| /** | |||
| * 删除数据描述配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:descriptives:remove')") | |||
| @Log(title = "数据描述配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(descriptivesConfigService.deleteDescriptivesConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,105 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Examination; | |||
| import com.ruoyi.catdog.service.IExaminationService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 考核Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/examination") | |||
| public class ExaminationController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IExaminationService examinationService; | |||
| /** | |||
| * 查询考核列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examination:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Examination examination) | |||
| { | |||
| startPage(); | |||
| List<Examination> list = examinationService.selectExaminationList(examination); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出考核列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examination:export')") | |||
| @Log(title = "考核", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Examination examination) throws IOException { | |||
| List<Examination> list = examinationService.selectExaminationList(examination); | |||
| ExcelUtil<Examination> util = new ExcelUtil<Examination>(Examination.class); | |||
| util.exportExcel(response, list, "考核数据"); | |||
| } | |||
| /** | |||
| * 获取考核详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examination:query')") | |||
| @GetMapping(value = "/{examinationId}") | |||
| public AjaxResult getInfo(@PathVariable("examinationId") Long examinationId) | |||
| { | |||
| // return success(examinationService.selectExaminationByExaminationId(examinationId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增考核 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examination:add')") | |||
| @Log(title = "考核", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Examination examination) | |||
| { | |||
| return toAjax(examinationService.insertExamination(examination)); | |||
| } | |||
| /** | |||
| * 修改考核 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examination:edit')") | |||
| @Log(title = "考核", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Examination examination) | |||
| { | |||
| return toAjax(examinationService.updateExamination(examination)); | |||
| } | |||
| /** | |||
| * 删除考核 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examination:remove')") | |||
| @Log(title = "考核", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{examinationIds}") | |||
| public AjaxResult remove(@PathVariable Long[] examinationIds) | |||
| { | |||
| return toAjax(examinationService.deleteExaminationByExaminationIds(examinationIds)); | |||
| } | |||
| } | |||
| @ -1,106 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.ExamineConfig; | |||
| import com.ruoyi.catdog.service.IExamineConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 考核认证配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/examine") | |||
| public class ExamineConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IExamineConfigService examineConfigService; | |||
| /** | |||
| * 查询考核认证配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examine:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(ExamineConfig examineConfig) | |||
| { | |||
| startPage(); | |||
| List<ExamineConfig> list = examineConfigService.selectExamineConfigList(examineConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出考核认证配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examine:export')") | |||
| @Log(title = "考核认证配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, ExamineConfig examineConfig) throws IOException { | |||
| List<ExamineConfig> list = examineConfigService.selectExamineConfigList(examineConfig); | |||
| ExcelUtil<ExamineConfig> util = new ExcelUtil<ExamineConfig>(ExamineConfig.class); | |||
| util.exportExcel(response, list, "考核认证配置数据"); | |||
| } | |||
| /** | |||
| * 获取考核认证配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examine:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| // return success(examineConfigService.selectExamineConfigById(id)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增考核认证配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examine:add')") | |||
| @Log(title = "考核认证配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody ExamineConfig examineConfig) | |||
| { | |||
| return toAjax(examineConfigService.insertExamineConfig(examineConfig)); | |||
| } | |||
| /** | |||
| * 修改考核认证配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examine:edit')") | |||
| @Log(title = "考核认证配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody ExamineConfig examineConfig) | |||
| { | |||
| return toAjax(examineConfigService.updateExamineConfig(examineConfig)); | |||
| } | |||
| /** | |||
| * 删除考核认证配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:examine:remove')") | |||
| @Log(title = "考核认证配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(examineConfigService.deleteExamineConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,106 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.FeedingFood; | |||
| import com.ruoyi.catdog.service.IFeedingFoodService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 喂养要求Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/food") | |||
| public class FeedingFoodController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IFeedingFoodService feedingFoodService; | |||
| /** | |||
| * 查询喂养要求列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:food:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(FeedingFood feedingFood) | |||
| { | |||
| startPage(); | |||
| List<FeedingFood> list = feedingFoodService.selectFeedingFoodList(feedingFood); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出喂养要求列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:food:export')") | |||
| @Log(title = "喂养要求", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, FeedingFood feedingFood) throws IOException { | |||
| List<FeedingFood> list = feedingFoodService.selectFeedingFoodList(feedingFood); | |||
| ExcelUtil<FeedingFood> util = new ExcelUtil<FeedingFood>(FeedingFood.class); | |||
| util.exportExcel(response, list, "喂养要求数据"); | |||
| } | |||
| /** | |||
| * 获取喂养要求详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:food:query')") | |||
| @GetMapping(value = "/{feedingFoodId}") | |||
| public AjaxResult getInfo(@PathVariable("feedingFoodId") Long feedingFoodId) | |||
| { | |||
| // return success(feedingFoodService.selectFeedingFoodByFeedingFoodId(feedingFoodId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增喂养要求 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:food:add')") | |||
| @Log(title = "喂养要求", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody FeedingFood feedingFood) | |||
| { | |||
| return toAjax(feedingFoodService.insertFeedingFood(feedingFood)); | |||
| } | |||
| /** | |||
| * 修改喂养要求 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:food:edit')") | |||
| @Log(title = "喂养要求", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody FeedingFood feedingFood) | |||
| { | |||
| return toAjax(feedingFoodService.updateFeedingFood(feedingFood)); | |||
| } | |||
| /** | |||
| * 删除喂养要求 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:food:remove')") | |||
| @Log(title = "喂养要求", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{feedingFoodIds}") | |||
| public AjaxResult remove(@PathVariable Long[] feedingFoodIds) | |||
| { | |||
| return toAjax(feedingFoodService.deleteFeedingFoodByFeedingFoodIds(feedingFoodIds)); | |||
| } | |||
| } | |||
| @ -1,106 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.FeedingFoodType; | |||
| import com.ruoyi.catdog.service.IFeedingFoodTypeService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 喂养食品类型Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/type") | |||
| public class FeedingFoodTypeController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IFeedingFoodTypeService feedingFoodTypeService; | |||
| /** | |||
| * 查询喂养食品类型列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:type:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(FeedingFoodType feedingFoodType) | |||
| { | |||
| startPage(); | |||
| List<FeedingFoodType> list = feedingFoodTypeService.selectFeedingFoodTypeList(feedingFoodType); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出喂养食品类型列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:type:export')") | |||
| @Log(title = "喂养食品类型", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, FeedingFoodType feedingFoodType) throws IOException { | |||
| List<FeedingFoodType> list = feedingFoodTypeService.selectFeedingFoodTypeList(feedingFoodType); | |||
| ExcelUtil<FeedingFoodType> util = new ExcelUtil<FeedingFoodType>(FeedingFoodType.class); | |||
| util.exportExcel(response, list, "喂养食品类型数据"); | |||
| } | |||
| /** | |||
| * 获取喂养食品类型详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:type:query')") | |||
| @GetMapping(value = "/{feedingFoodTypeId}") | |||
| public AjaxResult getInfo(@PathVariable("feedingFoodTypeId") Long feedingFoodTypeId) | |||
| { | |||
| // return success(feedingFoodTypeService.selectFeedingFoodTypeByFeedingFoodTypeId(feedingFoodTypeId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增喂养食品类型 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:type:add')") | |||
| @Log(title = "喂养食品类型", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody FeedingFoodType feedingFoodType) | |||
| { | |||
| return toAjax(feedingFoodTypeService.insertFeedingFoodType(feedingFoodType)); | |||
| } | |||
| /** | |||
| * 修改喂养食品类型 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:type:edit')") | |||
| @Log(title = "喂养食品类型", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody FeedingFoodType feedingFoodType) | |||
| { | |||
| return toAjax(feedingFoodTypeService.updateFeedingFoodType(feedingFoodType)); | |||
| } | |||
| /** | |||
| * 删除喂养食品类型 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:type:remove')") | |||
| @Log(title = "喂养食品类型", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{feedingFoodTypeIds}") | |||
| public AjaxResult remove(@PathVariable Long[] feedingFoodTypeIds) | |||
| { | |||
| return toAjax(feedingFoodTypeService.deleteFeedingFoodTypeByFeedingFoodTypeIds(feedingFoodTypeIds)); | |||
| } | |||
| } | |||
| @ -1,106 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.FeedingRequirements; | |||
| import com.ruoyi.catdog.service.IFeedingRequirementsService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 喂养要求配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/requirements") | |||
| public class FeedingRequirementsController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IFeedingRequirementsService feedingRequirementsService; | |||
| /** | |||
| * 查询喂养要求配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:requirements:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(FeedingRequirements feedingRequirements) | |||
| { | |||
| startPage(); | |||
| List<FeedingRequirements> list = feedingRequirementsService.selectFeedingRequirementsList(feedingRequirements); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出喂养要求配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:requirements:export')") | |||
| @Log(title = "喂养要求配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, FeedingRequirements feedingRequirements) throws IOException { | |||
| List<FeedingRequirements> list = feedingRequirementsService.selectFeedingRequirementsList(feedingRequirements); | |||
| ExcelUtil<FeedingRequirements> util = new ExcelUtil<FeedingRequirements>(FeedingRequirements.class); | |||
| util.exportExcel(response, list, "喂养要求配置数据"); | |||
| } | |||
| /** | |||
| * 获取喂养要求配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:requirements:query')") | |||
| @GetMapping(value = "/{feedingRequirementsId}") | |||
| public AjaxResult getInfo(@PathVariable("feedingRequirementsId") Long feedingRequirementsId) | |||
| { | |||
| // return success(feedingRequirementsService.selectFeedingRequirementsByFeedingRequirementsId(feedingRequirementsId)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增喂养要求配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:requirements:add')") | |||
| @Log(title = "喂养要求配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody FeedingRequirements feedingRequirements) | |||
| { | |||
| return toAjax(feedingRequirementsService.insertFeedingRequirements(feedingRequirements)); | |||
| } | |||
| /** | |||
| * 修改喂养要求配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:requirements:edit')") | |||
| @Log(title = "喂养要求配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody FeedingRequirements feedingRequirements) | |||
| { | |||
| return toAjax(feedingRequirementsService.updateFeedingRequirements(feedingRequirements)); | |||
| } | |||
| /** | |||
| * 删除喂养要求配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:requirements:remove')") | |||
| @Log(title = "喂养要求配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{feedingRequirementsIds}") | |||
| public AjaxResult remove(@PathVariable Long[] feedingRequirementsIds) | |||
| { | |||
| return toAjax(feedingRequirementsService.deleteFeedingRequirementsByFeedingRequirementsIds(feedingRequirementsIds)); | |||
| } | |||
| } | |||
| @ -1,106 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.FinalConfig; | |||
| import com.ruoyi.catdog.service.IFinalConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 最终准备页面配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/finalconfig") | |||
| public class FinalConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IFinalConfigService finalConfigService; | |||
| /** | |||
| * 查询最终准备页面配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:finalconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(FinalConfig finalConfig) | |||
| { | |||
| startPage(); | |||
| List<FinalConfig> list = finalConfigService.selectFinalConfigList(finalConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出最终准备页面配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:finalconfig:export')") | |||
| @Log(title = "最终准备页面配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, FinalConfig finalConfig) throws IOException { | |||
| List<FinalConfig> list = finalConfigService.selectFinalConfigList(finalConfig); | |||
| ExcelUtil<FinalConfig> util = new ExcelUtil<FinalConfig>(FinalConfig.class); | |||
| util.exportExcel(response, list, "最终准备页面配置数据"); | |||
| } | |||
| /** | |||
| * 获取最终准备页面配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:finalconfig:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| // return success(finalConfigService.selectFinalConfigById(id)); | |||
| return null; | |||
| } | |||
| /** | |||
| * 新增最终准备页面配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:finalconfig:add')") | |||
| @Log(title = "最终准备页面配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody FinalConfig finalConfig) | |||
| { | |||
| return toAjax(finalConfigService.insertFinalConfig(finalConfig)); | |||
| } | |||
| /** | |||
| * 修改最终准备页面配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:finalconfig:edit')") | |||
| @Log(title = "最终准备页面配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody FinalConfig finalConfig) | |||
| { | |||
| return toAjax(finalConfigService.updateFinalConfig(finalConfig)); | |||
| } | |||
| /** | |||
| * 删除最终准备页面配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:finalconfig:remove')") | |||
| @Log(title = "最终准备页面配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(finalConfigService.deleteFinalConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,109 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| import io.swagger.annotations.Api; | |||
| import io.swagger.annotations.ApiOperation; | |||
| 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.catdog.domain.IndexPageConfig; | |||
| import com.ruoyi.catdog.service.IIndexPageConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 首页登录配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @Api("首页登录配置") | |||
| @RestController | |||
| @RequestMapping("/catdog/config") | |||
| public class IndexPageConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IIndexPageConfigService indexPageConfigService; | |||
| /** | |||
| * 查询首页登录配置列表 | |||
| */ | |||
| @ApiOperation("登录配置查询") | |||
| // @PreAuthorize("@ss.hasPermi('catdog:config:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(IndexPageConfig indexPageConfig) | |||
| { | |||
| startPage(); | |||
| List<IndexPageConfig> list = indexPageConfigService.selectIndexPageConfigList(indexPageConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出首页登录配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:config:export')") | |||
| @Log(title = "首页登录配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, IndexPageConfig indexPageConfig) throws IOException { | |||
| List<IndexPageConfig> list = indexPageConfigService.selectIndexPageConfigList(indexPageConfig); | |||
| ExcelUtil<IndexPageConfig> util = new ExcelUtil<IndexPageConfig>(IndexPageConfig.class); | |||
| util.exportExcel(response, list, "首页登录配置数据"); | |||
| } | |||
| /** | |||
| * 获取首页登录配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:config:query')") | |||
| @GetMapping(value = "/{indexBackground}") | |||
| public AjaxResult getInfo(@PathVariable("indexBackground") String indexBackground) | |||
| { | |||
| return success(indexPageConfigService.selectIndexPageConfigByIndexBackground(indexBackground)); | |||
| } | |||
| /** | |||
| * 新增首页登录配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:config:add')") | |||
| @Log(title = "首页登录配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody IndexPageConfig indexPageConfig) | |||
| { | |||
| return toAjax(indexPageConfigService.insertIndexPageConfig(indexPageConfig)); | |||
| } | |||
| /** | |||
| * 修改首页登录配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:config:edit')") | |||
| @Log(title = "首页登录配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody IndexPageConfig indexPageConfig) | |||
| { | |||
| return toAjax(indexPageConfigService.updateIndexPageConfig(indexPageConfig)); | |||
| } | |||
| /** | |||
| * 删除首页登录配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:config:remove')") | |||
| @Log(title = "首页登录配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{indexBackgrounds}") | |||
| public AjaxResult remove(@PathVariable String[] indexBackgrounds) | |||
| { | |||
| return toAjax(indexPageConfigService.deleteIndexPageConfigByIndexBackgrounds(indexBackgrounds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.IndexPartnerConfig; | |||
| import com.ruoyi.catdog.service.IIndexPartnerConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 加入合伙人提示配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/indexpartnerconfig") | |||
| public class IndexPartnerConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IIndexPartnerConfigService indexPartnerConfigService; | |||
| /** | |||
| * 查询加入合伙人提示配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexpartnerconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(IndexPartnerConfig indexPartnerConfig) | |||
| { | |||
| startPage(); | |||
| List<IndexPartnerConfig> list = indexPartnerConfigService.selectIndexPartnerConfigList(indexPartnerConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出加入合伙人提示配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexpartnerconfig:export')") | |||
| @Log(title = "加入合伙人提示配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, IndexPartnerConfig indexPartnerConfig) throws IOException { | |||
| List<IndexPartnerConfig> list = indexPartnerConfigService.selectIndexPartnerConfigList(indexPartnerConfig); | |||
| ExcelUtil<IndexPartnerConfig> util = new ExcelUtil<IndexPartnerConfig>(IndexPartnerConfig.class); | |||
| util.exportExcel(response, list, "加入合伙人提示配置数据"); | |||
| } | |||
| /** | |||
| * 获取加入合伙人提示配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexpartnerconfig:query')") | |||
| @GetMapping(value = "/{partnerBackground}") | |||
| public AjaxResult getInfo(@PathVariable("partnerBackground") String partnerBackground) | |||
| { | |||
| return success(indexPartnerConfigService.selectIndexPartnerConfigByPartnerBackground(partnerBackground)); | |||
| } | |||
| /** | |||
| * 新增加入合伙人提示配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexpartnerconfig:add')") | |||
| @Log(title = "加入合伙人提示配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody IndexPartnerConfig indexPartnerConfig) | |||
| { | |||
| return toAjax(indexPartnerConfigService.insertIndexPartnerConfig(indexPartnerConfig)); | |||
| } | |||
| /** | |||
| * 修改加入合伙人提示配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexpartnerconfig:edit')") | |||
| @Log(title = "加入合伙人提示配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody IndexPartnerConfig indexPartnerConfig) | |||
| { | |||
| return toAjax(indexPartnerConfigService.updateIndexPartnerConfig(indexPartnerConfig)); | |||
| } | |||
| /** | |||
| * 删除加入合伙人提示配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexpartnerconfig:remove')") | |||
| @Log(title = "加入合伙人提示配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{partnerBackgrounds}") | |||
| public AjaxResult remove(@PathVariable String[] partnerBackgrounds) | |||
| { | |||
| return toAjax(indexPartnerConfigService.deleteIndexPartnerConfigByPartnerBackgrounds(partnerBackgrounds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Indexconfig; | |||
| import com.ruoyi.catdog.service.IIndexconfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 主页内容配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/indexconfig") | |||
| public class IndexconfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IIndexconfigService indexconfigService; | |||
| /** | |||
| * 查询主页内容配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Indexconfig indexconfig) | |||
| { | |||
| startPage(); | |||
| List<Indexconfig> list = indexconfigService.selectIndexconfigList(indexconfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出主页内容配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexconfig:export')") | |||
| @Log(title = "主页内容配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Indexconfig indexconfig) throws IOException { | |||
| List<Indexconfig> list = indexconfigService.selectIndexconfigList(indexconfig); | |||
| ExcelUtil<Indexconfig> util = new ExcelUtil<Indexconfig>(Indexconfig.class); | |||
| util.exportExcel(response, list, "主页内容配置数据"); | |||
| } | |||
| /** | |||
| * 获取主页内容配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexconfig:query')") | |||
| @GetMapping(value = "/{topCarouselImage}") | |||
| public AjaxResult getInfo(@PathVariable("topCarouselImage") String topCarouselImage) | |||
| { | |||
| return success(indexconfigService.selectIndexconfigByTopCarouselImage(topCarouselImage)); | |||
| } | |||
| /** | |||
| * 新增主页内容配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexconfig:add')") | |||
| @Log(title = "主页内容配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Indexconfig indexconfig) | |||
| { | |||
| return toAjax(indexconfigService.insertIndexconfig(indexconfig)); | |||
| } | |||
| /** | |||
| * 修改主页内容配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexconfig:edit')") | |||
| @Log(title = "主页内容配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Indexconfig indexconfig) | |||
| { | |||
| return toAjax(indexconfigService.updateIndexconfig(indexconfig)); | |||
| } | |||
| /** | |||
| * 删除主页内容配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:indexconfig:remove')") | |||
| @Log(title = "主页内容配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{topCarouselImages}") | |||
| public AjaxResult remove(@PathVariable String[] topCarouselImages) | |||
| { | |||
| return toAjax(indexconfigService.deleteIndexconfigByTopCarouselImages(topCarouselImages)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.IndexconfigIcon; | |||
| import com.ruoyi.catdog.service.IIndexconfigIconService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 工作台图标Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/icon") | |||
| public class IndexconfigIconController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IIndexconfigIconService indexconfigIconService; | |||
| /** | |||
| * 查询工作台图标列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:icon:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(IndexconfigIcon indexconfigIcon) | |||
| { | |||
| startPage(); | |||
| List<IndexconfigIcon> list = indexconfigIconService.selectIndexconfigIconList(indexconfigIcon); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出工作台图标列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:icon:export')") | |||
| @Log(title = "工作台图标", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, IndexconfigIcon indexconfigIcon) throws IOException { | |||
| List<IndexconfigIcon> list = indexconfigIconService.selectIndexconfigIconList(indexconfigIcon); | |||
| ExcelUtil<IndexconfigIcon> util = new ExcelUtil<IndexconfigIcon>(IndexconfigIcon.class); | |||
| util.exportExcel(response, list, "工作台图标数据"); | |||
| } | |||
| /** | |||
| * 获取工作台图标详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:icon:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(indexconfigIconService.selectIndexconfigIconById(id)); | |||
| } | |||
| /** | |||
| * 新增工作台图标 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:icon:add')") | |||
| @Log(title = "工作台图标", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody IndexconfigIcon indexconfigIcon) | |||
| { | |||
| return toAjax(indexconfigIconService.insertIndexconfigIcon(indexconfigIcon)); | |||
| } | |||
| /** | |||
| * 修改工作台图标 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:icon:edit')") | |||
| @Log(title = "工作台图标", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody IndexconfigIcon indexconfigIcon) | |||
| { | |||
| return toAjax(indexconfigIconService.updateIndexconfigIcon(indexconfigIcon)); | |||
| } | |||
| /** | |||
| * 删除工作台图标 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:icon:remove')") | |||
| @Log(title = "工作台图标", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(indexconfigIconService.deleteIndexconfigIconByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Invite; | |||
| import com.ruoyi.catdog.service.IInviteService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 邀请海报配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/invite") | |||
| public class InviteController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IInviteService inviteService; | |||
| /** | |||
| * 查询邀请海报配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:invite:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Invite invite) | |||
| { | |||
| startPage(); | |||
| List<Invite> list = inviteService.selectInviteList(invite); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出邀请海报配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:invite:export')") | |||
| @Log(title = "邀请海报配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Invite invite) throws IOException { | |||
| List<Invite> list = inviteService.selectInviteList(invite); | |||
| ExcelUtil<Invite> util = new ExcelUtil<Invite>(Invite.class); | |||
| util.exportExcel(response, list, "邀请海报配置数据"); | |||
| } | |||
| /** | |||
| * 获取邀请海报配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:invite:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(inviteService.selectInviteById(id)); | |||
| } | |||
| /** | |||
| * 新增邀请海报配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:invite:add')") | |||
| @Log(title = "邀请海报配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Invite invite) | |||
| { | |||
| return toAjax(inviteService.insertInvite(invite)); | |||
| } | |||
| /** | |||
| * 修改邀请海报配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:invite:edit')") | |||
| @Log(title = "邀请海报配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Invite invite) | |||
| { | |||
| return toAjax(inviteService.updateInvite(invite)); | |||
| } | |||
| /** | |||
| * 删除邀请海报配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:invite:remove')") | |||
| @Log(title = "邀请海报配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(inviteService.deleteInviteByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.License; | |||
| import com.ruoyi.catdog.service.ILicenseService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 执照Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/license") | |||
| public class LicenseController extends BaseController | |||
| { | |||
| @Autowired | |||
| private ILicenseService licenseService; | |||
| /** | |||
| * 查询执照列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:license:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(License license) | |||
| { | |||
| startPage(); | |||
| List<License> list = licenseService.selectLicenseList(license); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出执照列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:license:export')") | |||
| @Log(title = "执照", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, License license) throws IOException { | |||
| List<License> list = licenseService.selectLicenseList(license); | |||
| ExcelUtil<License> util = new ExcelUtil<License>(License.class); | |||
| util.exportExcel(response, list, "执照数据"); | |||
| } | |||
| /** | |||
| * 获取执照详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:license:query')") | |||
| @GetMapping(value = "/{licenseId}") | |||
| public AjaxResult getInfo(@PathVariable("licenseId") Long licenseId) | |||
| { | |||
| return success(licenseService.selectLicenseByLicenseId(licenseId)); | |||
| } | |||
| /** | |||
| * 新增执照 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:license:add')") | |||
| @Log(title = "执照", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody License license) | |||
| { | |||
| return toAjax(licenseService.insertLicense(license)); | |||
| } | |||
| /** | |||
| * 修改执照 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:license:edit')") | |||
| @Log(title = "执照", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody License license) | |||
| { | |||
| return toAjax(licenseService.updateLicense(license)); | |||
| } | |||
| /** | |||
| * 删除执照 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:license:remove')") | |||
| @Log(title = "执照", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{licenseIds}") | |||
| public AjaxResult remove(@PathVariable Long[] licenseIds) | |||
| { | |||
| return toAjax(licenseService.deleteLicenseByLicenseIds(licenseIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.LicenseImage; | |||
| import com.ruoyi.catdog.service.ILicenseImageService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 执照图片Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/image") | |||
| public class LicenseImageController extends BaseController | |||
| { | |||
| @Autowired | |||
| private ILicenseImageService licenseImageService; | |||
| /** | |||
| * 查询执照图片列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:image:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(LicenseImage licenseImage) | |||
| { | |||
| startPage(); | |||
| List<LicenseImage> list = licenseImageService.selectLicenseImageList(licenseImage); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出执照图片列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:image:export')") | |||
| @Log(title = "执照图片", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, LicenseImage licenseImage) throws IOException { | |||
| List<LicenseImage> list = licenseImageService.selectLicenseImageList(licenseImage); | |||
| ExcelUtil<LicenseImage> util = new ExcelUtil<LicenseImage>(LicenseImage.class); | |||
| util.exportExcel(response, list, "执照图片数据"); | |||
| } | |||
| /** | |||
| * 获取执照图片详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:image:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(licenseImageService.selectLicenseImageById(id)); | |||
| } | |||
| /** | |||
| * 新增执照图片 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:image:add')") | |||
| @Log(title = "执照图片", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody LicenseImage licenseImage) | |||
| { | |||
| return toAjax(licenseImageService.insertLicenseImage(licenseImage)); | |||
| } | |||
| /** | |||
| * 修改执照图片 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:image:edit')") | |||
| @Log(title = "执照图片", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody LicenseImage licenseImage) | |||
| { | |||
| return toAjax(licenseImageService.updateLicenseImage(licenseImage)); | |||
| } | |||
| /** | |||
| * 删除执照图片 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:image:remove')") | |||
| @Log(title = "执照图片", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(licenseImageService.deleteLicenseImageByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.LossOrder; | |||
| import com.ruoyi.catdog.service.ILossOrderService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 流失订单Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/order") | |||
| public class LossOrderController extends BaseController | |||
| { | |||
| @Autowired | |||
| private ILossOrderService lossOrderService; | |||
| /** | |||
| * 查询流失订单列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(LossOrder lossOrder) | |||
| { | |||
| startPage(); | |||
| List<LossOrder> list = lossOrderService.selectLossOrderList(lossOrder); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出流失订单列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:export')") | |||
| @Log(title = "流失订单", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, LossOrder lossOrder) throws IOException { | |||
| List<LossOrder> list = lossOrderService.selectLossOrderList(lossOrder); | |||
| ExcelUtil<LossOrder> util = new ExcelUtil<LossOrder>(LossOrder.class); | |||
| util.exportExcel(response, list, "流失订单数据"); | |||
| } | |||
| /** | |||
| * 获取流失订单详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:query')") | |||
| @GetMapping(value = "/{lossOrderId}") | |||
| public AjaxResult getInfo(@PathVariable("lossOrderId") Long lossOrderId) | |||
| { | |||
| return success(lossOrderService.selectLossOrderByLossOrderId(lossOrderId)); | |||
| } | |||
| /** | |||
| * 新增流失订单 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:add')") | |||
| @Log(title = "流失订单", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody LossOrder lossOrder) | |||
| { | |||
| return toAjax(lossOrderService.insertLossOrder(lossOrder)); | |||
| } | |||
| /** | |||
| * 修改流失订单 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:edit')") | |||
| @Log(title = "流失订单", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody LossOrder lossOrder) | |||
| { | |||
| return toAjax(lossOrderService.updateLossOrder(lossOrder)); | |||
| } | |||
| /** | |||
| * 删除流失订单 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:remove')") | |||
| @Log(title = "流失订单", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{lossOrderIds}") | |||
| public AjaxResult remove(@PathVariable Long[] lossOrderIds) | |||
| { | |||
| return toAjax(lossOrderService.deleteLossOrderByLossOrderIds(lossOrderIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.ManualConfig; | |||
| import com.ruoyi.catdog.service.IManualConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 伴宠师手册配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/manualconfig") | |||
| public class ManualConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IManualConfigService manualConfigService; | |||
| /** | |||
| * 查询伴宠师手册配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:manualconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(ManualConfig manualConfig) | |||
| { | |||
| startPage(); | |||
| List<ManualConfig> list = manualConfigService.selectManualConfigList(manualConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出伴宠师手册配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:manualconfig:export')") | |||
| @Log(title = "伴宠师手册配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, ManualConfig manualConfig) throws IOException { | |||
| List<ManualConfig> list = manualConfigService.selectManualConfigList(manualConfig); | |||
| ExcelUtil<ManualConfig> util = new ExcelUtil<ManualConfig>(ManualConfig.class); | |||
| util.exportExcel(response, list, "伴宠师手册配置数据"); | |||
| } | |||
| /** | |||
| * 获取伴宠师手册配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:manualconfig:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(manualConfigService.selectManualConfigById(id)); | |||
| } | |||
| /** | |||
| * 新增伴宠师手册配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:manualconfig:add')") | |||
| @Log(title = "伴宠师手册配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody ManualConfig manualConfig) | |||
| { | |||
| return toAjax(manualConfigService.insertManualConfig(manualConfig)); | |||
| } | |||
| /** | |||
| * 修改伴宠师手册配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:manualconfig:edit')") | |||
| @Log(title = "伴宠师手册配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody ManualConfig manualConfig) | |||
| { | |||
| return toAjax(manualConfigService.updateManualConfig(manualConfig)); | |||
| } | |||
| /** | |||
| * 删除伴宠师手册配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:manualconfig:remove')") | |||
| @Log(title = "伴宠师手册配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(manualConfigService.deleteManualConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Orders; | |||
| import com.ruoyi.catdog.service.IOrderService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 订单Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/orders") | |||
| public class OrdersController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IOrderService orderService; | |||
| /** | |||
| * 查询订单列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Orders order) | |||
| { | |||
| startPage(); | |||
| List<Orders> list = orderService.selectOrderList(order); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出订单列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:export')") | |||
| @Log(title = "订单", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Orders order) throws IOException { | |||
| List<Orders> list = orderService.selectOrderList(order); | |||
| ExcelUtil<Orders> util = new ExcelUtil<Orders>(Orders.class); | |||
| util.exportExcel(response, list, "订单数据"); | |||
| } | |||
| /** | |||
| * 获取订单详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:query')") | |||
| @GetMapping(value = "/{orderId}") | |||
| public AjaxResult getInfo(@PathVariable("orderId") Long orderId) | |||
| { | |||
| return success(orderService.selectOrderByOrderId(orderId)); | |||
| } | |||
| /** | |||
| * 新增订单 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:add')") | |||
| @Log(title = "订单", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Orders order) | |||
| { | |||
| return toAjax(orderService.insertOrder(order)); | |||
| } | |||
| /** | |||
| * 修改订单 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:edit')") | |||
| @Log(title = "订单", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Orders order) | |||
| { | |||
| return toAjax(orderService.updateOrder(order)); | |||
| } | |||
| /** | |||
| * 删除订单 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:order:remove')") | |||
| @Log(title = "订单", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{orderIds}") | |||
| public AjaxResult remove(@PathVariable Long[] orderIds) | |||
| { | |||
| return toAjax(orderService.deleteOrderByOrderIds(orderIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.OrdersRecords; | |||
| import com.ruoyi.catdog.service.IOrdersRecordsService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 接单记录Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/records") | |||
| public class OrdersRecordsController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IOrdersRecordsService ordersRecordsService; | |||
| /** | |||
| * 查询接单记录列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:records:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(OrdersRecords ordersRecords) | |||
| { | |||
| startPage(); | |||
| List<OrdersRecords> list = ordersRecordsService.selectOrdersRecordsList(ordersRecords); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出接单记录列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:records:export')") | |||
| @Log(title = "接单记录", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, OrdersRecords ordersRecords) throws IOException { | |||
| List<OrdersRecords> list = ordersRecordsService.selectOrdersRecordsList(ordersRecords); | |||
| ExcelUtil<OrdersRecords> util = new ExcelUtil<OrdersRecords>(OrdersRecords.class); | |||
| util.exportExcel(response, list, "接单记录数据"); | |||
| } | |||
| /** | |||
| * 获取接单记录详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:records:query')") | |||
| @GetMapping(value = "/{ordersRecordsId}") | |||
| public AjaxResult getInfo(@PathVariable("ordersRecordsId") Long ordersRecordsId) | |||
| { | |||
| return success(ordersRecordsService.selectOrdersRecordsByOrdersRecordsId(ordersRecordsId)); | |||
| } | |||
| /** | |||
| * 新增接单记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:records:add')") | |||
| @Log(title = "接单记录", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody OrdersRecords ordersRecords) | |||
| { | |||
| return toAjax(ordersRecordsService.insertOrdersRecords(ordersRecords)); | |||
| } | |||
| /** | |||
| * 修改接单记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:records:edit')") | |||
| @Log(title = "接单记录", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody OrdersRecords ordersRecords) | |||
| { | |||
| return toAjax(ordersRecordsService.updateOrdersRecords(ordersRecords)); | |||
| } | |||
| /** | |||
| * 删除接单记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:records:remove')") | |||
| @Log(title = "接单记录", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ordersRecordsIds}") | |||
| public AjaxResult remove(@PathVariable Long[] ordersRecordsIds) | |||
| { | |||
| return toAjax(ordersRecordsService.deleteOrdersRecordsByOrdersRecordsIds(ordersRecordsIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PaperPromptConfig; | |||
| import com.ruoyi.catdog.service.IPaperPromptConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 证件提示配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/paperpromptconfig") | |||
| public class PaperPromptConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPaperPromptConfigService paperPromptConfigService; | |||
| /** | |||
| * 查询证件提示配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:paperpromptconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PaperPromptConfig paperPromptConfig) | |||
| { | |||
| startPage(); | |||
| List<PaperPromptConfig> list = paperPromptConfigService.selectPaperPromptConfigList(paperPromptConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出证件提示配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:paperpromptconfig:export')") | |||
| @Log(title = "证件提示配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PaperPromptConfig paperPromptConfig) throws IOException { | |||
| List<PaperPromptConfig> list = paperPromptConfigService.selectPaperPromptConfigList(paperPromptConfig); | |||
| ExcelUtil<PaperPromptConfig> util = new ExcelUtil<PaperPromptConfig>(PaperPromptConfig.class); | |||
| util.exportExcel(response, list, "证件提示配置数据"); | |||
| } | |||
| /** | |||
| * 获取证件提示配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:paperpromptconfig:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(paperPromptConfigService.selectPaperPromptConfigById(id)); | |||
| } | |||
| /** | |||
| * 新增证件提示配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:paperpromptconfig:add')") | |||
| @Log(title = "证件提示配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PaperPromptConfig paperPromptConfig) | |||
| { | |||
| return toAjax(paperPromptConfigService.insertPaperPromptConfig(paperPromptConfig)); | |||
| } | |||
| /** | |||
| * 修改证件提示配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:paperpromptconfig:edit')") | |||
| @Log(title = "证件提示配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PaperPromptConfig paperPromptConfig) | |||
| { | |||
| return toAjax(paperPromptConfigService.updatePaperPromptConfig(paperPromptConfig)); | |||
| } | |||
| /** | |||
| * 删除证件提示配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:paperpromptconfig:remove')") | |||
| @Log(title = "证件提示配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(paperPromptConfigService.deletePaperPromptConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Partner; | |||
| import com.ruoyi.catdog.service.IPartnerService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 合伙人Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/partner") | |||
| public class PartnerController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPartnerService partnerService; | |||
| /** | |||
| * 查询合伙人列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partner:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Partner partner) | |||
| { | |||
| startPage(); | |||
| List<Partner> list = partnerService.selectPartnerList(partner); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出合伙人列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partner:export')") | |||
| @Log(title = "合伙人", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Partner partner) throws IOException { | |||
| List<Partner> list = partnerService.selectPartnerList(partner); | |||
| ExcelUtil<Partner> util = new ExcelUtil<Partner>(Partner.class); | |||
| util.exportExcel(response, list, "合伙人数据"); | |||
| } | |||
| /** | |||
| * 获取合伙人详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partner:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(partnerService.selectPartnerById(id)); | |||
| } | |||
| /** | |||
| * 新增合伙人 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partner:add')") | |||
| @Log(title = "合伙人", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Partner partner) | |||
| { | |||
| return toAjax(partnerService.insertPartner(partner)); | |||
| } | |||
| /** | |||
| * 修改合伙人 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partner:edit')") | |||
| @Log(title = "合伙人", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Partner partner) | |||
| { | |||
| return toAjax(partnerService.updatePartner(partner)); | |||
| } | |||
| /** | |||
| * 删除合伙人 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partner:remove')") | |||
| @Log(title = "合伙人", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(partnerService.deletePartnerByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Partnerbinding; | |||
| import com.ruoyi.catdog.service.IPartnerbindingService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 合伙人绑定Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/partnerbinding") | |||
| public class PartnerbindingController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPartnerbindingService partnerbindingService; | |||
| /** | |||
| * 查询合伙人绑定列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerbinding:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Partnerbinding partnerbinding) | |||
| { | |||
| startPage(); | |||
| List<Partnerbinding> list = partnerbindingService.selectPartnerbindingList(partnerbinding); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出合伙人绑定列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerbinding:export')") | |||
| @Log(title = "合伙人绑定", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Partnerbinding partnerbinding) throws IOException { | |||
| List<Partnerbinding> list = partnerbindingService.selectPartnerbindingList(partnerbinding); | |||
| ExcelUtil<Partnerbinding> util = new ExcelUtil<Partnerbinding>(Partnerbinding.class); | |||
| util.exportExcel(response, list, "合伙人绑定数据"); | |||
| } | |||
| /** | |||
| * 获取合伙人绑定详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerbinding:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(partnerbindingService.selectPartnerbindingById(id)); | |||
| } | |||
| /** | |||
| * 新增合伙人绑定 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerbinding:add')") | |||
| @Log(title = "合伙人绑定", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Partnerbinding partnerbinding) | |||
| { | |||
| return toAjax(partnerbindingService.insertPartnerbinding(partnerbinding)); | |||
| } | |||
| /** | |||
| * 修改合伙人绑定 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerbinding:edit')") | |||
| @Log(title = "合伙人绑定", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Partnerbinding partnerbinding) | |||
| { | |||
| return toAjax(partnerbindingService.updatePartnerbinding(partnerbinding)); | |||
| } | |||
| /** | |||
| * 删除合伙人绑定 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerbinding:remove')") | |||
| @Log(title = "合伙人绑定", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(partnerbindingService.deletePartnerbindingByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Partnerdata; | |||
| import com.ruoyi.catdog.service.IPartnerdataService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 合伙人数据Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/partnerdata") | |||
| public class PartnerdataController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPartnerdataService partnerdataService; | |||
| /** | |||
| * 查询合伙人数据列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerdata:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Partnerdata partnerdata) | |||
| { | |||
| startPage(); | |||
| List<Partnerdata> list = partnerdataService.selectPartnerdataList(partnerdata); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出合伙人数据列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerdata:export')") | |||
| @Log(title = "合伙人数据", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Partnerdata partnerdata) throws IOException { | |||
| List<Partnerdata> list = partnerdataService.selectPartnerdataList(partnerdata); | |||
| ExcelUtil<Partnerdata> util = new ExcelUtil<Partnerdata>(Partnerdata.class); | |||
| util.exportExcel(response, list, "合伙人数据数据"); | |||
| } | |||
| /** | |||
| * 获取合伙人数据详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerdata:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(partnerdataService.selectPartnerdataById(id)); | |||
| } | |||
| /** | |||
| * 新增合伙人数据 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerdata:add')") | |||
| @Log(title = "合伙人数据", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Partnerdata partnerdata) | |||
| { | |||
| return toAjax(partnerdataService.insertPartnerdata(partnerdata)); | |||
| } | |||
| /** | |||
| * 修改合伙人数据 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerdata:edit')") | |||
| @Log(title = "合伙人数据", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Partnerdata partnerdata) | |||
| { | |||
| return toAjax(partnerdataService.updatePartnerdata(partnerdata)); | |||
| } | |||
| /** | |||
| * 删除合伙人数据 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerdata:remove')") | |||
| @Log(title = "合伙人数据", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(partnerdataService.deletePartnerdataByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Partnerincome; | |||
| import com.ruoyi.catdog.service.IPartnerincomeService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 合伙人等级记录Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/partnerincome") | |||
| public class PartnerincomeController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPartnerincomeService partnerincomeService; | |||
| /** | |||
| * 查询合伙人等级记录列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerincome:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Partnerincome partnerincome) | |||
| { | |||
| startPage(); | |||
| List<Partnerincome> list = partnerincomeService.selectPartnerincomeList(partnerincome); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出合伙人等级记录列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerincome:export')") | |||
| @Log(title = "合伙人等级记录", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Partnerincome partnerincome) throws IOException { | |||
| List<Partnerincome> list = partnerincomeService.selectPartnerincomeList(partnerincome); | |||
| ExcelUtil<Partnerincome> util = new ExcelUtil<Partnerincome>(Partnerincome.class); | |||
| util.exportExcel(response, list, "合伙人等级记录数据"); | |||
| } | |||
| /** | |||
| * 获取合伙人等级记录详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerincome:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(partnerincomeService.selectPartnerincomeById(id)); | |||
| } | |||
| /** | |||
| * 新增合伙人等级记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerincome:add')") | |||
| @Log(title = "合伙人等级记录", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Partnerincome partnerincome) | |||
| { | |||
| return toAjax(partnerincomeService.insertPartnerincome(partnerincome)); | |||
| } | |||
| /** | |||
| * 修改合伙人等级记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerincome:edit')") | |||
| @Log(title = "合伙人等级记录", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Partnerincome partnerincome) | |||
| { | |||
| return toAjax(partnerincomeService.updatePartnerincome(partnerincome)); | |||
| } | |||
| /** | |||
| * 删除合伙人等级记录 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:partnerincome:remove')") | |||
| @Log(title = "合伙人等级记录", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(partnerincomeService.deletePartnerincomeByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PetPersonalityConfig; | |||
| import com.ruoyi.catdog.service.IPetPersonalityConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 宠物性格快捷选择配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/petpersonalityconfig") | |||
| public class PetPersonalityConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetPersonalityConfigService petPersonalityConfigService; | |||
| /** | |||
| * 查询宠物性格快捷选择配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petpersonalityconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PetPersonalityConfig petPersonalityConfig) | |||
| { | |||
| startPage(); | |||
| List<PetPersonalityConfig> list = petPersonalityConfigService.selectPetPersonalityConfigList(petPersonalityConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出宠物性格快捷选择配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petpersonalityconfig:export')") | |||
| @Log(title = "宠物性格快捷选择配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PetPersonalityConfig petPersonalityConfig) throws IOException { | |||
| List<PetPersonalityConfig> list = petPersonalityConfigService.selectPetPersonalityConfigList(petPersonalityConfig); | |||
| ExcelUtil<PetPersonalityConfig> util = new ExcelUtil<PetPersonalityConfig>(PetPersonalityConfig.class); | |||
| util.exportExcel(response, list, "宠物性格快捷选择配置数据"); | |||
| } | |||
| /** | |||
| * 获取宠物性格快捷选择配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petpersonalityconfig:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(petPersonalityConfigService.selectPetPersonalityConfigById(id)); | |||
| } | |||
| /** | |||
| * 新增宠物性格快捷选择配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petpersonalityconfig:add')") | |||
| @Log(title = "宠物性格快捷选择配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PetPersonalityConfig petPersonalityConfig) | |||
| { | |||
| return toAjax(petPersonalityConfigService.insertPetPersonalityConfig(petPersonalityConfig)); | |||
| } | |||
| /** | |||
| * 修改宠物性格快捷选择配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petpersonalityconfig:edit')") | |||
| @Log(title = "宠物性格快捷选择配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PetPersonalityConfig petPersonalityConfig) | |||
| { | |||
| return toAjax(petPersonalityConfigService.updatePetPersonalityConfig(petPersonalityConfig)); | |||
| } | |||
| /** | |||
| * 删除宠物性格快捷选择配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petpersonalityconfig:remove')") | |||
| @Log(title = "宠物性格快捷选择配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(petPersonalityConfigService.deletePetPersonalityConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PetProfileConfig; | |||
| import com.ruoyi.catdog.service.IPetProfileConfigService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 宠物档案配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/petprofileconfig") | |||
| public class PetProfileConfigController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetProfileConfigService petProfileConfigService; | |||
| /** | |||
| * 查询宠物档案配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petprofileconfig:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PetProfileConfig petProfileConfig) | |||
| { | |||
| startPage(); | |||
| List<PetProfileConfig> list = petProfileConfigService.selectPetProfileConfigList(petProfileConfig); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出宠物档案配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petprofileconfig:export')") | |||
| @Log(title = "宠物档案配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PetProfileConfig petProfileConfig) throws IOException { | |||
| List<PetProfileConfig> list = petProfileConfigService.selectPetProfileConfigList(petProfileConfig); | |||
| ExcelUtil<PetProfileConfig> util = new ExcelUtil<PetProfileConfig>(PetProfileConfig.class); | |||
| util.exportExcel(response, list, "宠物档案配置数据"); | |||
| } | |||
| /** | |||
| * 获取宠物档案配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petprofileconfig:query')") | |||
| @GetMapping(value = "/{id}") | |||
| public AjaxResult getInfo(@PathVariable("id") Long id) | |||
| { | |||
| return success(petProfileConfigService.selectPetProfileConfigById(id)); | |||
| } | |||
| /** | |||
| * 新增宠物档案配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petprofileconfig:add')") | |||
| @Log(title = "宠物档案配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PetProfileConfig petProfileConfig) | |||
| { | |||
| return toAjax(petProfileConfigService.insertPetProfileConfig(petProfileConfig)); | |||
| } | |||
| /** | |||
| * 修改宠物档案配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petprofileconfig:edit')") | |||
| @Log(title = "宠物档案配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PetProfileConfig petProfileConfig) | |||
| { | |||
| return toAjax(petProfileConfigService.updatePetProfileConfig(petProfileConfig)); | |||
| } | |||
| /** | |||
| * 删除宠物档案配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:petprofileconfig:remove')") | |||
| @Log(title = "宠物档案配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{ids}") | |||
| public AjaxResult remove(@PathVariable Long[] ids) | |||
| { | |||
| return toAjax(petProfileConfigService.deletePetProfileConfigByIds(ids)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PetTeacharCheck; | |||
| import com.ruoyi.catdog.service.IPetTeacharCheckService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 打卡Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/check") | |||
| public class PetTeacharCheckController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetTeacharCheckService petTeacharCheckService; | |||
| /** | |||
| * 查询打卡列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:check:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PetTeacharCheck petTeacharCheck) | |||
| { | |||
| startPage(); | |||
| List<PetTeacharCheck> list = petTeacharCheckService.selectPetTeacharCheckList(petTeacharCheck); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出打卡列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:check:export')") | |||
| @Log(title = "打卡", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PetTeacharCheck petTeacharCheck) throws IOException { | |||
| List<PetTeacharCheck> list = petTeacharCheckService.selectPetTeacharCheckList(petTeacharCheck); | |||
| ExcelUtil<PetTeacharCheck> util = new ExcelUtil<PetTeacharCheck>(PetTeacharCheck.class); | |||
| util.exportExcel(response, list, "打卡数据"); | |||
| } | |||
| /** | |||
| * 获取打卡详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:check:query')") | |||
| @GetMapping(value = "/{checkId}") | |||
| public AjaxResult getInfo(@PathVariable("checkId") Long checkId) | |||
| { | |||
| return success(petTeacharCheckService.selectPetTeacharCheckByCheckId(checkId)); | |||
| } | |||
| /** | |||
| * 新增打卡 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:check:add')") | |||
| @Log(title = "打卡", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PetTeacharCheck petTeacharCheck) | |||
| { | |||
| return toAjax(petTeacharCheckService.insertPetTeacharCheck(petTeacharCheck)); | |||
| } | |||
| /** | |||
| * 修改打卡 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:check:edit')") | |||
| @Log(title = "打卡", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PetTeacharCheck petTeacharCheck) | |||
| { | |||
| return toAjax(petTeacharCheckService.updatePetTeacharCheck(petTeacharCheck)); | |||
| } | |||
| /** | |||
| * 删除打卡 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:check:remove')") | |||
| @Log(title = "打卡", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{checkIds}") | |||
| public AjaxResult remove(@PathVariable Long[] checkIds) | |||
| { | |||
| return toAjax(petTeacharCheckService.deletePetTeacharCheckByCheckIds(checkIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PetTeacherGrade; | |||
| import com.ruoyi.catdog.service.IPetTeacherGradeService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 伴宠师等级配置Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/grade") | |||
| public class PetTeacherGradeController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetTeacherGradeService petTeacherGradeService; | |||
| /** | |||
| * 查询伴宠师等级配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:grade:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PetTeacherGrade petTeacherGrade) | |||
| { | |||
| startPage(); | |||
| List<PetTeacherGrade> list = petTeacherGradeService.selectPetTeacherGradeList(petTeacherGrade); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出伴宠师等级配置列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:grade:export')") | |||
| @Log(title = "伴宠师等级配置", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PetTeacherGrade petTeacherGrade) throws IOException { | |||
| List<PetTeacherGrade> list = petTeacherGradeService.selectPetTeacherGradeList(petTeacherGrade); | |||
| ExcelUtil<PetTeacherGrade> util = new ExcelUtil<PetTeacherGrade>(PetTeacherGrade.class); | |||
| util.exportExcel(response, list, "伴宠师等级配置数据"); | |||
| } | |||
| /** | |||
| * 获取伴宠师等级配置详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:grade:query')") | |||
| @GetMapping(value = "/{gradeId}") | |||
| public AjaxResult getInfo(@PathVariable("gradeId") String gradeId) | |||
| { | |||
| return success(petTeacherGradeService.selectPetTeacherGradeByGradeId(gradeId)); | |||
| } | |||
| /** | |||
| * 新增伴宠师等级配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:grade:add')") | |||
| @Log(title = "伴宠师等级配置", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PetTeacherGrade petTeacherGrade) | |||
| { | |||
| return toAjax(petTeacherGradeService.insertPetTeacherGrade(petTeacherGrade)); | |||
| } | |||
| /** | |||
| * 修改伴宠师等级配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:grade:edit')") | |||
| @Log(title = "伴宠师等级配置", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PetTeacherGrade petTeacherGrade) | |||
| { | |||
| return toAjax(petTeacherGradeService.updatePetTeacherGrade(petTeacherGrade)); | |||
| } | |||
| /** | |||
| * 删除伴宠师等级配置 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:grade:remove')") | |||
| @Log(title = "伴宠师等级配置", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{gradeIds}") | |||
| public AjaxResult remove(@PathVariable String[] gradeIds) | |||
| { | |||
| return toAjax(petTeacherGradeService.deletePetTeacherGradeByGradeIds(gradeIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PetTeacherInfo; | |||
| import com.ruoyi.catdog.service.IPetTeacherInfoService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 伴宠师信息Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/info") | |||
| public class PetTeacherInfoController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetTeacherInfoService petTeacherInfoService; | |||
| /** | |||
| * 查询伴宠师信息列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:info:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PetTeacherInfo petTeacherInfo) | |||
| { | |||
| startPage(); | |||
| List<PetTeacherInfo> list = petTeacherInfoService.selectPetTeacherInfoList(petTeacherInfo); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出伴宠师信息列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:info:export')") | |||
| @Log(title = "伴宠师信息", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PetTeacherInfo petTeacherInfo) throws IOException { | |||
| List<PetTeacherInfo> list = petTeacherInfoService.selectPetTeacherInfoList(petTeacherInfo); | |||
| ExcelUtil<PetTeacherInfo> util = new ExcelUtil<PetTeacherInfo>(PetTeacherInfo.class); | |||
| util.exportExcel(response, list, "伴宠师信息数据"); | |||
| } | |||
| /** | |||
| * 获取伴宠师信息详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:info:query')") | |||
| @GetMapping(value = "/{petTeacherId}") | |||
| public AjaxResult getInfo(@PathVariable("petTeacherId") Long petTeacherId) | |||
| { | |||
| return success(petTeacherInfoService.selectPetTeacherInfoByPetTeacherId(petTeacherId)); | |||
| } | |||
| /** | |||
| * 新增伴宠师信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:info:add')") | |||
| @Log(title = "伴宠师信息", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PetTeacherInfo petTeacherInfo) | |||
| { | |||
| return toAjax(petTeacherInfoService.insertPetTeacherInfo(petTeacherInfo)); | |||
| } | |||
| /** | |||
| * 修改伴宠师信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:info:edit')") | |||
| @Log(title = "伴宠师信息", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PetTeacherInfo petTeacherInfo) | |||
| { | |||
| return toAjax(petTeacherInfoService.updatePetTeacherInfo(petTeacherInfo)); | |||
| } | |||
| /** | |||
| * 删除伴宠师信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:info:remove')") | |||
| @Log(title = "伴宠师信息", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{petTeacherIds}") | |||
| public AjaxResult remove(@PathVariable Long[] petTeacherIds) | |||
| { | |||
| return toAjax(petTeacherInfoService.deletePetTeacherInfoByPetTeacherIds(petTeacherIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.PetType; | |||
| import com.ruoyi.catdog.service.IPetTypeService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 宠物类型Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/PetType") | |||
| public class PetTypeController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetTypeService petTypeService; | |||
| /** | |||
| * 查询宠物类型列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:PetType:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(PetType petType) | |||
| { | |||
| startPage(); | |||
| List<PetType> list = petTypeService.selectPetTypeList(petType); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出宠物类型列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:PetType:export')") | |||
| @Log(title = "宠物类型", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, PetType petType) throws IOException { | |||
| List<PetType> list = petTypeService.selectPetTypeList(petType); | |||
| ExcelUtil<PetType> util = new ExcelUtil<PetType>(PetType.class); | |||
| util.exportExcel(response, list, "宠物类型数据"); | |||
| } | |||
| /** | |||
| * 获取宠物类型详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:PetType:query')") | |||
| @GetMapping(value = "/{petTypeId}") | |||
| public AjaxResult getInfo(@PathVariable("petTypeId") Long petTypeId) | |||
| { | |||
| return success(petTypeService.selectPetTypeByPetTypeId(petTypeId)); | |||
| } | |||
| /** | |||
| * 新增宠物类型 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:PetType:add')") | |||
| @Log(title = "宠物类型", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody PetType petType) | |||
| { | |||
| return toAjax(petTypeService.insertPetType(petType)); | |||
| } | |||
| /** | |||
| * 修改宠物类型 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:PetType:edit')") | |||
| @Log(title = "宠物类型", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody PetType petType) | |||
| { | |||
| return toAjax(petTypeService.updatePetType(petType)); | |||
| } | |||
| /** | |||
| * 删除宠物类型 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:PetType:remove')") | |||
| @Log(title = "宠物类型", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{petTypeIds}") | |||
| public AjaxResult remove(@PathVariable Long[] petTypeIds) | |||
| { | |||
| return toAjax(petTypeService.deletePetTypeByPetTypeIds(petTypeIds)); | |||
| } | |||
| } | |||
| @ -1,104 +0,0 @@ | |||
| package com.ruoyi.catdog.controller; | |||
| import java.io.IOException; | |||
| import java.util.List; | |||
| import javax.servlet.http.HttpServletResponse; | |||
| 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.catdog.domain.Pets; | |||
| import com.ruoyi.catdog.service.IPetsService; | |||
| import com.ruoyi.common.utils.poi.ExcelUtil; | |||
| import com.ruoyi.common.core.page.TableDataInfo; | |||
| /** | |||
| * 宠物信息Controller | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| @RestController | |||
| @RequestMapping("/catdog/pets") | |||
| public class PetsController extends BaseController | |||
| { | |||
| @Autowired | |||
| private IPetsService petsService; | |||
| /** | |||
| * 查询宠物信息列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:pets:list')") | |||
| @GetMapping("/list") | |||
| public TableDataInfo list(Pets pets) | |||
| { | |||
| startPage(); | |||
| List<Pets> list = petsService.selectPetsList(pets); | |||
| return getDataTable(list); | |||
| } | |||
| /** | |||
| * 导出宠物信息列表 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:pets:export')") | |||
| @Log(title = "宠物信息", businessType = BusinessType.EXPORT) | |||
| @PostMapping("/export") | |||
| public void export(HttpServletResponse response, Pets pets) throws IOException { | |||
| List<Pets> list = petsService.selectPetsList(pets); | |||
| ExcelUtil<Pets> util = new ExcelUtil<Pets>(Pets.class); | |||
| util.exportExcel(response, list, "宠物信息数据"); | |||
| } | |||
| /** | |||
| * 获取宠物信息详细信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:pets:query')") | |||
| @GetMapping(value = "/{petId}") | |||
| public AjaxResult getInfo(@PathVariable("petId") Long petId) | |||
| { | |||
| return success(petsService.selectPetsByPetId(petId)); | |||
| } | |||
| /** | |||
| * 新增宠物信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:pets:add')") | |||
| @Log(title = "宠物信息", businessType = BusinessType.INSERT) | |||
| @PostMapping | |||
| public AjaxResult add(@RequestBody Pets pets) | |||
| { | |||
| return toAjax(petsService.insertPets(pets)); | |||
| } | |||
| /** | |||
| * 修改宠物信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:pets:edit')") | |||
| @Log(title = "宠物信息", businessType = BusinessType.UPDATE) | |||
| @PutMapping | |||
| public AjaxResult edit(@RequestBody Pets pets) | |||
| { | |||
| return toAjax(petsService.updatePets(pets)); | |||
| } | |||
| /** | |||
| * 删除宠物信息 | |||
| */ | |||
| @PreAuthorize("@ss.hasPermi('catdog:pets:remove')") | |||
| @Log(title = "宠物信息", businessType = BusinessType.DELETE) | |||
| @DeleteMapping("/{petIds}") | |||
| public AjaxResult remove(@PathVariable Long[] petIds) | |||
| { | |||
| return toAjax(petsService.deletePetsByPetIds(petIds)); | |||
| } | |||
| } | |||
| @ -1,68 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 清洁物品对象 clean_items | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class CleanItems extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 清洁物品编号 */ | |||
| private Long cleanItemsId; | |||
| /** 清洁物品名称 */ | |||
| @Excel(name = "清洁物品名称") | |||
| private Long cleanItemsName; | |||
| /** 删除标识 */ | |||
| private Integer delFlag; | |||
| public void setCleanItemsId(Long cleanItemsId) | |||
| { | |||
| this.cleanItemsId = cleanItemsId; | |||
| } | |||
| public Long getCleanItemsId() | |||
| { | |||
| return cleanItemsId; | |||
| } | |||
| public void setCleanItemsName(Long cleanItemsName) | |||
| { | |||
| this.cleanItemsName = cleanItemsName; | |||
| } | |||
| public Long getCleanItemsName() | |||
| { | |||
| return cleanItemsName; | |||
| } | |||
| public void setDelFlag(Integer delFlag) | |||
| { | |||
| this.delFlag = delFlag; | |||
| } | |||
| public Integer getDelFlag() | |||
| { | |||
| return delFlag; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("cleanItemsId", getCleanItemsId()) | |||
| .append("cleanItemsName", getCleanItemsName()) | |||
| .append("createBy", getCreateBy()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("updateBy", getUpdateBy()) | |||
| .append("updateTime", getUpdateTime()) | |||
| .append("delFlag", getDelFlag()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,108 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 清洁要求对象 clean_request | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class CleanRequest extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 清洁要求编号 */ | |||
| private Long cleanRequestId; | |||
| /** 清洁物品编号 */ | |||
| @Excel(name = "清洁物品编号") | |||
| private Long cleanItemsId; | |||
| /** 服务档案编号 */ | |||
| @Excel(name = "服务档案编号") | |||
| private Long serviceFileId; | |||
| /** 清洁物品摆放位置 */ | |||
| @Excel(name = "清洁物品摆放位置") | |||
| private String cleanRequestImage; | |||
| /** 更换频率天 */ | |||
| @Excel(name = "更换频率天") | |||
| private Long cleanRequestFrequencyDay; | |||
| /** 更换频率次 */ | |||
| @Excel(name = "更换频率次") | |||
| private Long cleanRequestFrequencyTimes; | |||
| public void setCleanRequestId(Long cleanRequestId) | |||
| { | |||
| this.cleanRequestId = cleanRequestId; | |||
| } | |||
| public Long getCleanRequestId() | |||
| { | |||
| return cleanRequestId; | |||
| } | |||
| public void setCleanItemsId(Long cleanItemsId) | |||
| { | |||
| this.cleanItemsId = cleanItemsId; | |||
| } | |||
| public Long getCleanItemsId() | |||
| { | |||
| return cleanItemsId; | |||
| } | |||
| public void setServiceFileId(Long serviceFileId) | |||
| { | |||
| this.serviceFileId = serviceFileId; | |||
| } | |||
| public Long getServiceFileId() | |||
| { | |||
| return serviceFileId; | |||
| } | |||
| public void setCleanRequestImage(String cleanRequestImage) | |||
| { | |||
| this.cleanRequestImage = cleanRequestImage; | |||
| } | |||
| public String getCleanRequestImage() | |||
| { | |||
| return cleanRequestImage; | |||
| } | |||
| public void setCleanRequestFrequencyDay(Long cleanRequestFrequencyDay) | |||
| { | |||
| this.cleanRequestFrequencyDay = cleanRequestFrequencyDay; | |||
| } | |||
| public Long getCleanRequestFrequencyDay() | |||
| { | |||
| return cleanRequestFrequencyDay; | |||
| } | |||
| public void setCleanRequestFrequencyTimes(Long cleanRequestFrequencyTimes) | |||
| { | |||
| this.cleanRequestFrequencyTimes = cleanRequestFrequencyTimes; | |||
| } | |||
| public Long getCleanRequestFrequencyTimes() | |||
| { | |||
| return cleanRequestFrequencyTimes; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("cleanRequestId", getCleanRequestId()) | |||
| .append("cleanItemsId", getCleanItemsId()) | |||
| .append("serviceFileId", getServiceFileId()) | |||
| .append("cleanRequestImage", getCleanRequestImage()) | |||
| .append("cleanRequestFrequencyDay", getCleanRequestFrequencyDay()) | |||
| .append("cleanRequestFrequencyTimes", getCleanRequestFrequencyTimes()) | |||
| .append("remark", getRemark()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,93 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 等级配置对象 current_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class CurrentConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long currentId; | |||
| /** 等级标题 */ | |||
| @Excel(name = "等级标题") | |||
| private String currentTitle; | |||
| /** 等级文本 */ | |||
| @Excel(name = "等级文本") | |||
| private String currentText; | |||
| /** 文本优先级 */ | |||
| @Excel(name = "文本优先级") | |||
| private Long currentPriority; | |||
| /** 背景图 */ | |||
| @Excel(name = "背景图") | |||
| private String currentImage; | |||
| public void setCurrentId(Long currentId) | |||
| { | |||
| this.currentId = currentId; | |||
| } | |||
| public Long getCurrentId() | |||
| { | |||
| return currentId; | |||
| } | |||
| public void setCurrentTitle(String currentTitle) | |||
| { | |||
| this.currentTitle = currentTitle; | |||
| } | |||
| public String getCurrentTitle() | |||
| { | |||
| return currentTitle; | |||
| } | |||
| public void setCurrentText(String currentText) | |||
| { | |||
| this.currentText = currentText; | |||
| } | |||
| public String getCurrentText() | |||
| { | |||
| return currentText; | |||
| } | |||
| public void setCurrentPriority(Long currentPriority) | |||
| { | |||
| this.currentPriority = currentPriority; | |||
| } | |||
| public Long getCurrentPriority() | |||
| { | |||
| return currentPriority; | |||
| } | |||
| public void setCurrentImage(String currentImage) | |||
| { | |||
| this.currentImage = currentImage; | |||
| } | |||
| public String getCurrentImage() | |||
| { | |||
| return currentImage; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("currentId", getCurrentId()) | |||
| .append("currentTitle", getCurrentTitle()) | |||
| .append("currentText", getCurrentText()) | |||
| .append("currentPriority", getCurrentPriority()) | |||
| .append("currentImage", getCurrentImage()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,95 +0,0 @@ | |||
| package com.ruoyi.catdog.domain; | |||
| import java.math.BigDecimal; | |||
| 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; | |||
| /** | |||
| * 保证金记录对象 deposit | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Deposit extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 保证金编号 */ | |||
| private Long id; | |||
| /** 明细名称 */ | |||
| @Excel(name = "明细名称") | |||
| private String detailsName; | |||
| /** 金额 */ | |||
| @Excel(name = "金额") | |||
| private BigDecimal detailsPrice; | |||
| /** 交易类型: 1为收入明细,2为支出明细 */ | |||
| @Excel(name = "交易类型: 1为收入明细,2为支出明细") | |||
| private Long transactionType; | |||
| /** 伴宠师ID */ | |||
| @Excel(name = "伴宠师ID") | |||
| private Long usersId; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setDetailsName(String detailsName) | |||
| { | |||
| this.detailsName = detailsName; | |||
| } | |||
| public String getDetailsName() | |||
| { | |||
| return detailsName; | |||
| } | |||
| public void setDetailsPrice(BigDecimal detailsPrice) | |||
| { | |||
| this.detailsPrice = detailsPrice; | |||
| } | |||
| public BigDecimal getDetailsPrice() | |||
| { | |||
| return detailsPrice; | |||
| } | |||
| public void setTransactionType(Long transactionType) | |||
| { | |||
| this.transactionType = transactionType; | |||
| } | |||
| public Long getTransactionType() | |||
| { | |||
| return transactionType; | |||
| } | |||
| public void setUsersId(Long usersId) | |||
| { | |||
| this.usersId = usersId; | |||
| } | |||
| public Long getUsersId() | |||
| { | |||
| return usersId; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("detailsName", getDetailsName()) | |||
| .append("detailsPrice", getDetailsPrice()) | |||
| .append("transactionType", getTransactionType()) | |||
| .append("usersId", getUsersId()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 数据描述配置对象 descriptives_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class DescriptivesConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 文本优先级 */ | |||
| @Excel(name = "文本优先级") | |||
| private Long descriptivesPriority; | |||
| /** 数据描述文本 */ | |||
| @Excel(name = "数据描述文本") | |||
| private String descriptivesText; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setDescriptivesPriority(Long descriptivesPriority) | |||
| { | |||
| this.descriptivesPriority = descriptivesPriority; | |||
| } | |||
| public Long getDescriptivesPriority() | |||
| { | |||
| return descriptivesPriority; | |||
| } | |||
| public void setDescriptivesText(String descriptivesText) | |||
| { | |||
| this.descriptivesText = descriptivesText; | |||
| } | |||
| public String getDescriptivesText() | |||
| { | |||
| return descriptivesText; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("descriptivesPriority", getDescriptivesPriority()) | |||
| .append("descriptivesText", getDescriptivesText()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,124 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 考核对象 examination | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Examination extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 考试编号 */ | |||
| private Long examinationId; | |||
| /** 删除标识 */ | |||
| private Integer delFlag; | |||
| /** 考试说明 */ | |||
| @Excel(name = "考试说明") | |||
| private String examinationIllustrate; | |||
| /** 考试注意事项 */ | |||
| @Excel(name = "考试注意事项") | |||
| private String examinationPrecautions; | |||
| /** 考试题目 */ | |||
| @Excel(name = "考试题目") | |||
| private String examinationQuestions; | |||
| /** 问题类型,1为单选,2为多选,3为简答 */ | |||
| @Excel(name = "问题类型,1为单选,2为多选,3为简答") | |||
| private Long examinationTypeId; | |||
| /** 备注 */ | |||
| @Excel(name = "备注") | |||
| private String reamk; | |||
| public void setExaminationId(Long examinationId) | |||
| { | |||
| this.examinationId = examinationId; | |||
| } | |||
| public Long getExaminationId() | |||
| { | |||
| return examinationId; | |||
| } | |||
| public void setDelFlag(Integer delFlag) | |||
| { | |||
| this.delFlag = delFlag; | |||
| } | |||
| public Integer getDelFlag() | |||
| { | |||
| return delFlag; | |||
| } | |||
| public void setExaminationIllustrate(String examinationIllustrate) | |||
| { | |||
| this.examinationIllustrate = examinationIllustrate; | |||
| } | |||
| public String getExaminationIllustrate() | |||
| { | |||
| return examinationIllustrate; | |||
| } | |||
| public void setExaminationPrecautions(String examinationPrecautions) | |||
| { | |||
| this.examinationPrecautions = examinationPrecautions; | |||
| } | |||
| public String getExaminationPrecautions() | |||
| { | |||
| return examinationPrecautions; | |||
| } | |||
| public void setExaminationQuestions(String examinationQuestions) | |||
| { | |||
| this.examinationQuestions = examinationQuestions; | |||
| } | |||
| public String getExaminationQuestions() | |||
| { | |||
| return examinationQuestions; | |||
| } | |||
| public void setExaminationTypeId(Long examinationTypeId) | |||
| { | |||
| this.examinationTypeId = examinationTypeId; | |||
| } | |||
| public Long getExaminationTypeId() | |||
| { | |||
| return examinationTypeId; | |||
| } | |||
| public void setReamk(String reamk) | |||
| { | |||
| this.reamk = reamk; | |||
| } | |||
| public String getReamk() | |||
| { | |||
| return reamk; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("examinationId", getExaminationId()) | |||
| .append("createBy", getCreateBy()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("delFlag", getDelFlag()) | |||
| .append("examinationIllustrate", getExaminationIllustrate()) | |||
| .append("examinationPrecautions", getExaminationPrecautions()) | |||
| .append("examinationQuestions", getExaminationQuestions()) | |||
| .append("examinationTypeId", getExaminationTypeId()) | |||
| .append("reamk", getReamk()) | |||
| .append("updateBy", getUpdateBy()) | |||
| .append("updateTime", getUpdateTime()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,79 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 考核认证配置对象 examine_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class ExamineConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 考核要求 */ | |||
| @Excel(name = "考核要求") | |||
| private String requireExamine; | |||
| /** 信息真实性提示文本 */ | |||
| @Excel(name = "信息真实性提示文本") | |||
| private String authenticityTips; | |||
| /** 基本考核提示文本 */ | |||
| @Excel(name = "基本考核提示文本") | |||
| private String prompt; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setRequireExamine(String requireExamine) | |||
| { | |||
| this.requireExamine = requireExamine; | |||
| } | |||
| public String getRequireExamine() | |||
| { | |||
| return requireExamine; | |||
| } | |||
| public void setAuthenticityTips(String authenticityTips) | |||
| { | |||
| this.authenticityTips = authenticityTips; | |||
| } | |||
| public String getAuthenticityTips() | |||
| { | |||
| return authenticityTips; | |||
| } | |||
| public void setPrompt(String prompt) | |||
| { | |||
| this.prompt = prompt; | |||
| } | |||
| public String getPrompt() | |||
| { | |||
| return prompt; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("requireExamine", getRequireExamine()) | |||
| .append("authenticityTips", getAuthenticityTips()) | |||
| .append("prompt", getPrompt()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,122 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 喂养要求对象 feeding_food | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class FeedingFood extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 喂养食品编号 */ | |||
| private Long feedingFoodId; | |||
| /** 服务档案编号 */ | |||
| @Excel(name = "服务档案编号") | |||
| private Long serviceFileId; | |||
| /** 食品摆放位置图片 */ | |||
| @Excel(name = "食品摆放位置图片") | |||
| private String feedingFoodImage; | |||
| /** 喂养重量 */ | |||
| @Excel(name = "喂养重量") | |||
| private Long feedingFoodWeight; | |||
| /** 喂养频率天 */ | |||
| @Excel(name = "喂养频率天") | |||
| private Long feedingFoodFrequencyDay; | |||
| /** 喂养频率次 */ | |||
| @Excel(name = "喂养频率次") | |||
| private Long feedingFoodFrequencyTimes; | |||
| /** 其他普通信息 */ | |||
| @Excel(name = "其他普通信息") | |||
| private String serviceFileInfo; | |||
| public void setFeedingFoodId(Long feedingFoodId) | |||
| { | |||
| this.feedingFoodId = feedingFoodId; | |||
| } | |||
| public Long getFeedingFoodId() | |||
| { | |||
| return feedingFoodId; | |||
| } | |||
| public void setServiceFileId(Long serviceFileId) | |||
| { | |||
| this.serviceFileId = serviceFileId; | |||
| } | |||
| public Long getServiceFileId() | |||
| { | |||
| return serviceFileId; | |||
| } | |||
| public void setFeedingFoodImage(String feedingFoodImage) | |||
| { | |||
| this.feedingFoodImage = feedingFoodImage; | |||
| } | |||
| public String getFeedingFoodImage() | |||
| { | |||
| return feedingFoodImage; | |||
| } | |||
| public void setFeedingFoodWeight(Long feedingFoodWeight) | |||
| { | |||
| this.feedingFoodWeight = feedingFoodWeight; | |||
| } | |||
| public Long getFeedingFoodWeight() | |||
| { | |||
| return feedingFoodWeight; | |||
| } | |||
| public void setFeedingFoodFrequencyDay(Long feedingFoodFrequencyDay) | |||
| { | |||
| this.feedingFoodFrequencyDay = feedingFoodFrequencyDay; | |||
| } | |||
| public Long getFeedingFoodFrequencyDay() | |||
| { | |||
| return feedingFoodFrequencyDay; | |||
| } | |||
| public void setFeedingFoodFrequencyTimes(Long feedingFoodFrequencyTimes) | |||
| { | |||
| this.feedingFoodFrequencyTimes = feedingFoodFrequencyTimes; | |||
| } | |||
| public Long getFeedingFoodFrequencyTimes() | |||
| { | |||
| return feedingFoodFrequencyTimes; | |||
| } | |||
| public void setServiceFileInfo(String serviceFileInfo) | |||
| { | |||
| this.serviceFileInfo = serviceFileInfo; | |||
| } | |||
| public String getServiceFileInfo() | |||
| { | |||
| return serviceFileInfo; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("feedingFoodId", getFeedingFoodId()) | |||
| .append("serviceFileId", getServiceFileId()) | |||
| .append("feedingFoodImage", getFeedingFoodImage()) | |||
| .append("feedingFoodWeight", getFeedingFoodWeight()) | |||
| .append("feedingFoodFrequencyDay", getFeedingFoodFrequencyDay()) | |||
| .append("feedingFoodFrequencyTimes", getFeedingFoodFrequencyTimes()) | |||
| .append("serviceFileInfo", getServiceFileInfo()) | |||
| .append("remark", getRemark()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,68 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 喂养食品类型对象 feeding_food_type | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class FeedingFoodType extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 喂养食品类型编号 */ | |||
| private Long feedingFoodTypeId; | |||
| /** 喂养食品类型名称 */ | |||
| @Excel(name = "喂养食品类型名称") | |||
| private String feedingFoodTypeName; | |||
| /** 删除标识 */ | |||
| private Integer delFlag; | |||
| public void setFeedingFoodTypeId(Long feedingFoodTypeId) | |||
| { | |||
| this.feedingFoodTypeId = feedingFoodTypeId; | |||
| } | |||
| public Long getFeedingFoodTypeId() | |||
| { | |||
| return feedingFoodTypeId; | |||
| } | |||
| public void setFeedingFoodTypeName(String feedingFoodTypeName) | |||
| { | |||
| this.feedingFoodTypeName = feedingFoodTypeName; | |||
| } | |||
| public String getFeedingFoodTypeName() | |||
| { | |||
| return feedingFoodTypeName; | |||
| } | |||
| public void setDelFlag(Integer delFlag) | |||
| { | |||
| this.delFlag = delFlag; | |||
| } | |||
| public Integer getDelFlag() | |||
| { | |||
| return delFlag; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("feedingFoodTypeId", getFeedingFoodTypeId()) | |||
| .append("feedingFoodTypeName", getFeedingFoodTypeName()) | |||
| .append("createBy", getCreateBy()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("updateBy", getUpdateBy()) | |||
| .append("updateTime", getUpdateTime()) | |||
| .append("delFlag", getDelFlag()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,93 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 喂养要求配置对象 feeding_requirements | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class FeedingRequirements extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 喂养要求编号 */ | |||
| private Long feedingRequirementsId; | |||
| /** 喂养要求标题 */ | |||
| @Excel(name = "喂养要求标题") | |||
| private String feedingRequirementsTitle; | |||
| /** 喂养要求 */ | |||
| @Excel(name = "喂养要求") | |||
| private String feedingRequirementsText; | |||
| /** 喂养要求天 */ | |||
| @Excel(name = "喂养要求天") | |||
| private Long feedingRequirementsDay; | |||
| /** 喂养要求次 */ | |||
| @Excel(name = "喂养要求次") | |||
| private Long feedingRequirementsTimes; | |||
| public void setFeedingRequirementsId(Long feedingRequirementsId) | |||
| { | |||
| this.feedingRequirementsId = feedingRequirementsId; | |||
| } | |||
| public Long getFeedingRequirementsId() | |||
| { | |||
| return feedingRequirementsId; | |||
| } | |||
| public void setFeedingRequirementsTitle(String feedingRequirementsTitle) | |||
| { | |||
| this.feedingRequirementsTitle = feedingRequirementsTitle; | |||
| } | |||
| public String getFeedingRequirementsTitle() | |||
| { | |||
| return feedingRequirementsTitle; | |||
| } | |||
| public void setFeedingRequirementsText(String feedingRequirementsText) | |||
| { | |||
| this.feedingRequirementsText = feedingRequirementsText; | |||
| } | |||
| public String getFeedingRequirementsText() | |||
| { | |||
| return feedingRequirementsText; | |||
| } | |||
| public void setFeedingRequirementsDay(Long feedingRequirementsDay) | |||
| { | |||
| this.feedingRequirementsDay = feedingRequirementsDay; | |||
| } | |||
| public Long getFeedingRequirementsDay() | |||
| { | |||
| return feedingRequirementsDay; | |||
| } | |||
| public void setFeedingRequirementsTimes(Long feedingRequirementsTimes) | |||
| { | |||
| this.feedingRequirementsTimes = feedingRequirementsTimes; | |||
| } | |||
| public Long getFeedingRequirementsTimes() | |||
| { | |||
| return feedingRequirementsTimes; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("feedingRequirementsId", getFeedingRequirementsId()) | |||
| .append("feedingRequirementsTitle", getFeedingRequirementsTitle()) | |||
| .append("feedingRequirementsText", getFeedingRequirementsText()) | |||
| .append("feedingRequirementsDay", getFeedingRequirementsDay()) | |||
| .append("feedingRequirementsTimes", getFeedingRequirementsTimes()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 最终准备页面配置对象 final_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class FinalConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 客服微信二维码 */ | |||
| @Excel(name = "客服微信二维码") | |||
| private String finalImage; | |||
| /** 工具包提示文本 */ | |||
| @Excel(name = "工具包提示文本") | |||
| private String finalText; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setFinalImage(String finalImage) | |||
| { | |||
| this.finalImage = finalImage; | |||
| } | |||
| public String getFinalImage() | |||
| { | |||
| return finalImage; | |||
| } | |||
| public void setFinalText(String finalText) | |||
| { | |||
| this.finalText = finalText; | |||
| } | |||
| public String getFinalText() | |||
| { | |||
| return finalText; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("finalImage", getFinalImage()) | |||
| .append("finalText", getFinalText()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,108 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 首页登录配置对象 index_page_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class IndexPageConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 背景图 */ | |||
| @Excel(name = "背景图") | |||
| private String indexBackground; | |||
| /** logo */ | |||
| @Excel(name = "logo") | |||
| private String indexLogo; | |||
| /** 品牌名 */ | |||
| @Excel(name = "品牌名") | |||
| private String brandNameCn; | |||
| /** 品牌名英文 */ | |||
| @Excel(name = "品牌名英文") | |||
| private String brandNameEn; | |||
| /** 注册协议 */ | |||
| @Excel(name = "注册协议") | |||
| private String registAgree; | |||
| /** 隐私协议 */ | |||
| @Excel(name = "隐私协议") | |||
| private String privacyPolicy; | |||
| public void setIndexBackground(String indexBackground) | |||
| { | |||
| this.indexBackground = indexBackground; | |||
| } | |||
| public String getIndexBackground() | |||
| { | |||
| return indexBackground; | |||
| } | |||
| public void setIndexLogo(String indexLogo) | |||
| { | |||
| this.indexLogo = indexLogo; | |||
| } | |||
| public String getIndexLogo() | |||
| { | |||
| return indexLogo; | |||
| } | |||
| public void setBrandNameCn(String brandNameCn) | |||
| { | |||
| this.brandNameCn = brandNameCn; | |||
| } | |||
| public String getBrandNameCn() | |||
| { | |||
| return brandNameCn; | |||
| } | |||
| public void setBrandNameEn(String brandNameEn) | |||
| { | |||
| this.brandNameEn = brandNameEn; | |||
| } | |||
| public String getBrandNameEn() | |||
| { | |||
| return brandNameEn; | |||
| } | |||
| public void setRegistAgree(String registAgree) | |||
| { | |||
| this.registAgree = registAgree; | |||
| } | |||
| public String getRegistAgree() | |||
| { | |||
| return registAgree; | |||
| } | |||
| public void setPrivacyPolicy(String privacyPolicy) | |||
| { | |||
| this.privacyPolicy = privacyPolicy; | |||
| } | |||
| public String getPrivacyPolicy() | |||
| { | |||
| return privacyPolicy; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("indexBackground", getIndexBackground()) | |||
| .append("indexLogo", getIndexLogo()) | |||
| .append("brandNameCn", getBrandNameCn()) | |||
| .append("brandNameEn", getBrandNameEn()) | |||
| .append("registAgree", getRegistAgree()) | |||
| .append("privacyPolicy", getPrivacyPolicy()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,66 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 加入合伙人提示配置对象 index_partner_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class IndexPartnerConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 提示框背景图片 */ | |||
| @Excel(name = "提示框背景图片") | |||
| private String partnerBackground; | |||
| /** 提示框背景文本 */ | |||
| @Excel(name = "提示框背景文本") | |||
| private String prompt; | |||
| /** 加入成功提示文本 */ | |||
| @Excel(name = "加入成功提示文本") | |||
| private String promptText; | |||
| public void setPartnerBackground(String partnerBackground) | |||
| { | |||
| this.partnerBackground = partnerBackground; | |||
| } | |||
| public String getPartnerBackground() | |||
| { | |||
| return partnerBackground; | |||
| } | |||
| public void setPrompt(String prompt) | |||
| { | |||
| this.prompt = prompt; | |||
| } | |||
| public String getPrompt() | |||
| { | |||
| return prompt; | |||
| } | |||
| public void setPromptText(String promptText) | |||
| { | |||
| this.promptText = promptText; | |||
| } | |||
| public String getPromptText() | |||
| { | |||
| return promptText; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("partnerBackground", getPartnerBackground()) | |||
| .append("prompt", getPrompt()) | |||
| .append("promptText", getPromptText()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,136 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 主页内容配置对象 indexconfig | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Indexconfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主页顶部轮播图 */ | |||
| @Excel(name = "主页顶部轮播图") | |||
| private String topCarouselImage; | |||
| /** 主页顶部描述 */ | |||
| @Excel(name = "主页顶部描述") | |||
| private String homeRemark; | |||
| /** 主页海报 */ | |||
| @Excel(name = "主页海报") | |||
| private String homePoster; | |||
| /** 合伙人工作台图标 */ | |||
| @Excel(name = "合伙人工作台图标") | |||
| private String indexOneIcon; | |||
| /** 伴宠师工作台图标 */ | |||
| @Excel(name = "伴宠师工作台图标") | |||
| private String indexTwoIcon; | |||
| /** 合伙人工作台描述 */ | |||
| @Excel(name = "合伙人工作台描述") | |||
| private String indexOneInfo; | |||
| /** 伴宠师工作台描述 */ | |||
| @Excel(name = "伴宠师工作台描述") | |||
| private String indexTwoInfo; | |||
| /** 完善服务信息提示文本 */ | |||
| @Excel(name = "完善服务信息提示文本") | |||
| private String perfectService; | |||
| public void setTopCarouselImage(String topCarouselImage) | |||
| { | |||
| this.topCarouselImage = topCarouselImage; | |||
| } | |||
| public String getTopCarouselImage() | |||
| { | |||
| return topCarouselImage; | |||
| } | |||
| public void setHomeRemark(String homeRemark) | |||
| { | |||
| this.homeRemark = homeRemark; | |||
| } | |||
| public String getHomeRemark() | |||
| { | |||
| return homeRemark; | |||
| } | |||
| public void setHomePoster(String homePoster) | |||
| { | |||
| this.homePoster = homePoster; | |||
| } | |||
| public String getHomePoster() | |||
| { | |||
| return homePoster; | |||
| } | |||
| public void setIndexOneIcon(String indexOneIcon) | |||
| { | |||
| this.indexOneIcon = indexOneIcon; | |||
| } | |||
| public String getIndexOneIcon() | |||
| { | |||
| return indexOneIcon; | |||
| } | |||
| public void setIndexTwoIcon(String indexTwoIcon) | |||
| { | |||
| this.indexTwoIcon = indexTwoIcon; | |||
| } | |||
| public String getIndexTwoIcon() | |||
| { | |||
| return indexTwoIcon; | |||
| } | |||
| public void setIndexOneInfo(String indexOneInfo) | |||
| { | |||
| this.indexOneInfo = indexOneInfo; | |||
| } | |||
| public String getIndexOneInfo() | |||
| { | |||
| return indexOneInfo; | |||
| } | |||
| public void setIndexTwoInfo(String indexTwoInfo) | |||
| { | |||
| this.indexTwoInfo = indexTwoInfo; | |||
| } | |||
| public String getIndexTwoInfo() | |||
| { | |||
| return indexTwoInfo; | |||
| } | |||
| public void setPerfectService(String perfectService) | |||
| { | |||
| this.perfectService = perfectService; | |||
| } | |||
| public String getPerfectService() | |||
| { | |||
| return perfectService; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("topCarouselImage", getTopCarouselImage()) | |||
| .append("homeRemark", getHomeRemark()) | |||
| .append("homePoster", getHomePoster()) | |||
| .append("indexOneIcon", getIndexOneIcon()) | |||
| .append("indexTwoIcon", getIndexTwoIcon()) | |||
| .append("indexOneInfo", getIndexOneInfo()) | |||
| .append("indexTwoInfo", getIndexTwoInfo()) | |||
| .append("perfectService", getPerfectService()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,79 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 工作台图标对象 indexconfig_icon | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class IndexconfigIcon extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 编号 */ | |||
| private Long id; | |||
| /** 工作台图标 */ | |||
| @Excel(name = "工作台图标") | |||
| private String icon; | |||
| /** 图标名称 */ | |||
| @Excel(name = "图标名称") | |||
| private String iconName; | |||
| /** 身份,0为合伙人,1为伴宠师 */ | |||
| @Excel(name = "身份,0为合伙人,1为伴宠师") | |||
| private Long identity; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setIcon(String icon) | |||
| { | |||
| this.icon = icon; | |||
| } | |||
| public String getIcon() | |||
| { | |||
| return icon; | |||
| } | |||
| public void setIconName(String iconName) | |||
| { | |||
| this.iconName = iconName; | |||
| } | |||
| public String getIconName() | |||
| { | |||
| return iconName; | |||
| } | |||
| public void setIdentity(Long identity) | |||
| { | |||
| this.identity = identity; | |||
| } | |||
| public Long getIdentity() | |||
| { | |||
| return identity; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("icon", getIcon()) | |||
| .append("iconName", getIconName()) | |||
| .append("identity", getIdentity()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,51 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 邀请海报配置对象 invite | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Invite extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 海报 */ | |||
| @Excel(name = "海报") | |||
| private String inviteImage; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setInviteImage(String inviteImage) | |||
| { | |||
| this.inviteImage = inviteImage; | |||
| } | |||
| public String getInviteImage() | |||
| { | |||
| return inviteImage; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("inviteImage", getInviteImage()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,82 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 执照对象 license | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class License extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 执照编号 */ | |||
| private Long licenseId; | |||
| /** 删除标识 */ | |||
| private Integer delFlag; | |||
| /** 执照名 */ | |||
| @Excel(name = "执照名") | |||
| private String licenseName; | |||
| /** 备注 */ | |||
| @Excel(name = "备注") | |||
| private String reamk; | |||
| public void setLicenseId(Long licenseId) | |||
| { | |||
| this.licenseId = licenseId; | |||
| } | |||
| public Long getLicenseId() | |||
| { | |||
| return licenseId; | |||
| } | |||
| public void setDelFlag(Integer delFlag) | |||
| { | |||
| this.delFlag = delFlag; | |||
| } | |||
| public Integer getDelFlag() | |||
| { | |||
| return delFlag; | |||
| } | |||
| public void setLicenseName(String licenseName) | |||
| { | |||
| this.licenseName = licenseName; | |||
| } | |||
| public String getLicenseName() | |||
| { | |||
| return licenseName; | |||
| } | |||
| public void setReamk(String reamk) | |||
| { | |||
| this.reamk = reamk; | |||
| } | |||
| public String getReamk() | |||
| { | |||
| return reamk; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("licenseId", getLicenseId()) | |||
| .append("createBy", getCreateBy()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("delFlag", getDelFlag()) | |||
| .append("licenseName", getLicenseName()) | |||
| .append("reamk", getReamk()) | |||
| .append("updateBy", getUpdateBy()) | |||
| .append("updateTime", getUpdateTime()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 执照图片对象 license_image | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class LicenseImage extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 执照图片编号 */ | |||
| private Long id; | |||
| /** 执照编号 */ | |||
| @Excel(name = "执照编号") | |||
| private Long licenseId; | |||
| /** 执照图片 */ | |||
| @Excel(name = "执照图片") | |||
| private String image; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setLicenseId(Long licenseId) | |||
| { | |||
| this.licenseId = licenseId; | |||
| } | |||
| public Long getLicenseId() | |||
| { | |||
| return licenseId; | |||
| } | |||
| public void setImage(String image) | |||
| { | |||
| this.image = image; | |||
| } | |||
| public String getImage() | |||
| { | |||
| return image; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("licenseId", getLicenseId()) | |||
| .append("image", getImage()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 流失订单对象 loss_order | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class LossOrder extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 流失订单编号 */ | |||
| private Long lossOrderId; | |||
| /** 伴宠师编号 */ | |||
| @Excel(name = "伴宠师编号") | |||
| private Long petTeacherId; | |||
| /** 订单编号 */ | |||
| @Excel(name = "订单编号") | |||
| private Long orderId; | |||
| public void setLossOrderId(Long lossOrderId) | |||
| { | |||
| this.lossOrderId = lossOrderId; | |||
| } | |||
| public Long getLossOrderId() | |||
| { | |||
| return lossOrderId; | |||
| } | |||
| public void setPetTeacherId(Long petTeacherId) | |||
| { | |||
| this.petTeacherId = petTeacherId; | |||
| } | |||
| public Long getPetTeacherId() | |||
| { | |||
| return petTeacherId; | |||
| } | |||
| public void setOrderId(Long orderId) | |||
| { | |||
| this.orderId = orderId; | |||
| } | |||
| public Long getOrderId() | |||
| { | |||
| return orderId; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("lossOrderId", getLossOrderId()) | |||
| .append("petTeacherId", getPetTeacherId()) | |||
| .append("orderId", getOrderId()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,51 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 伴宠师手册配置对象 manual_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class ManualConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 伴宠师手册 */ | |||
| @Excel(name = "伴宠师手册") | |||
| private String manualText; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setManualText(String manualText) | |||
| { | |||
| this.manualText = manualText; | |||
| } | |||
| public String getManualText() | |||
| { | |||
| return manualText; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("manualText", getManualText()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,214 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 订单对象 order | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Orders extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 订单编号 */ | |||
| private Long orderId; | |||
| /** 伴宠师编号 */ | |||
| @Excel(name = "伴宠师编号") | |||
| private Long certificationId; | |||
| /** 删除标记 */ | |||
| @Excel(name = "删除标记") | |||
| private Integer deiFlag; | |||
| /** 订单金额 */ | |||
| @Excel(name = "订单金额") | |||
| private Long orderAmount; | |||
| /** 下单时间 */ | |||
| @JsonFormat(pattern = "yyyy-MM-dd") | |||
| @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd") | |||
| private Date orderPlaceTime; | |||
| /** 订单数量 */ | |||
| @Excel(name = "订单数量") | |||
| private Long orderQuantity; | |||
| /** 服务内容 */ | |||
| @Excel(name = "服务内容") | |||
| private String orderServiceContent; | |||
| /** 服务日期 */ | |||
| @JsonFormat(pattern = "yyyy-MM-dd") | |||
| @Excel(name = "服务日期", width = 30, dateFormat = "yyyy-MM-dd") | |||
| private Date orderServiceDate; | |||
| /** 服务时间,1==早上,2==午后,3==晚间 */ | |||
| @Excel(name = "服务时间,1==早上,2==午后,3==晚间") | |||
| private Integer orderServiceTime; | |||
| /** 订单状态,0=待接单,1=待上门,2=已完成 */ | |||
| @Excel(name = "订单状态,0=待接单,1=待上门,2=已完成") | |||
| private Integer orderState; | |||
| /** 订单总金额 */ | |||
| @Excel(name = "订单总金额") | |||
| private Long orderTotalAmount; | |||
| /** 上门地址 */ | |||
| @Excel(name = "上门地址") | |||
| private String orderVisitAddress; | |||
| /** 宠物编号 */ | |||
| @Excel(name = "宠物编号") | |||
| private Long petId; | |||
| public void setOrderId(Long orderId) | |||
| { | |||
| this.orderId = orderId; | |||
| } | |||
| public Long getOrderId() | |||
| { | |||
| return orderId; | |||
| } | |||
| public void setCertificationId(Long certificationId) | |||
| { | |||
| this.certificationId = certificationId; | |||
| } | |||
| public Long getCertificationId() | |||
| { | |||
| return certificationId; | |||
| } | |||
| public void setDeiFlag(Integer deiFlag) | |||
| { | |||
| this.deiFlag = deiFlag; | |||
| } | |||
| public Integer getDeiFlag() | |||
| { | |||
| return deiFlag; | |||
| } | |||
| public void setOrderAmount(Long orderAmount) | |||
| { | |||
| this.orderAmount = orderAmount; | |||
| } | |||
| public Long getOrderAmount() | |||
| { | |||
| return orderAmount; | |||
| } | |||
| public void setOrderPlaceTime(Date orderPlaceTime) | |||
| { | |||
| this.orderPlaceTime = orderPlaceTime; | |||
| } | |||
| public Date getOrderPlaceTime() | |||
| { | |||
| return orderPlaceTime; | |||
| } | |||
| public void setOrderQuantity(Long orderQuantity) | |||
| { | |||
| this.orderQuantity = orderQuantity; | |||
| } | |||
| public Long getOrderQuantity() | |||
| { | |||
| return orderQuantity; | |||
| } | |||
| public void setOrderServiceContent(String orderServiceContent) | |||
| { | |||
| this.orderServiceContent = orderServiceContent; | |||
| } | |||
| public String getOrderServiceContent() | |||
| { | |||
| return orderServiceContent; | |||
| } | |||
| public void setOrderServiceDate(Date orderServiceDate) | |||
| { | |||
| this.orderServiceDate = orderServiceDate; | |||
| } | |||
| public Date getOrderServiceDate() | |||
| { | |||
| return orderServiceDate; | |||
| } | |||
| public void setOrderServiceTime(Integer orderServiceTime) | |||
| { | |||
| this.orderServiceTime = orderServiceTime; | |||
| } | |||
| public Integer getOrderServiceTime() | |||
| { | |||
| return orderServiceTime; | |||
| } | |||
| public void setOrderState(Integer orderState) | |||
| { | |||
| this.orderState = orderState; | |||
| } | |||
| public Integer getOrderState() | |||
| { | |||
| return orderState; | |||
| } | |||
| public void setOrderTotalAmount(Long orderTotalAmount) | |||
| { | |||
| this.orderTotalAmount = orderTotalAmount; | |||
| } | |||
| public Long getOrderTotalAmount() | |||
| { | |||
| return orderTotalAmount; | |||
| } | |||
| public void setOrderVisitAddress(String orderVisitAddress) | |||
| { | |||
| this.orderVisitAddress = orderVisitAddress; | |||
| } | |||
| public String getOrderVisitAddress() | |||
| { | |||
| return orderVisitAddress; | |||
| } | |||
| public void setPetId(Long petId) | |||
| { | |||
| this.petId = petId; | |||
| } | |||
| public Long getPetId() | |||
| { | |||
| return petId; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("orderId", getOrderId()) | |||
| .append("certificationId", getCertificationId()) | |||
| .append("createBy", getCreateBy()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("deiFlag", getDeiFlag()) | |||
| .append("orderAmount", getOrderAmount()) | |||
| .append("orderPlaceTime", getOrderPlaceTime()) | |||
| .append("orderQuantity", getOrderQuantity()) | |||
| .append("orderServiceContent", getOrderServiceContent()) | |||
| .append("orderServiceDate", getOrderServiceDate()) | |||
| .append("orderServiceTime", getOrderServiceTime()) | |||
| .append("orderState", getOrderState()) | |||
| .append("orderTotalAmount", getOrderTotalAmount()) | |||
| .append("orderVisitAddress", getOrderVisitAddress()) | |||
| .append("petId", getPetId()) | |||
| .append("remark", getRemark()) | |||
| .append("updateBy", getUpdateBy()) | |||
| .append("updateTime", getUpdateTime()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,106 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 接单记录对象 orders_records | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class OrdersRecords extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 接单记录编号 */ | |||
| private Long ordersRecordsId; | |||
| /** 删除标识 */ | |||
| private Integer delFlag; | |||
| /** 订单编号 */ | |||
| @Excel(name = "订单编号") | |||
| private Long orderId; | |||
| /** 接单状态,0为系统派单,1为指定派单 */ | |||
| @Excel(name = "接单状态,0为系统派单,1为指定派单") | |||
| private Integer ordersRecordsState; | |||
| /** 拒绝接单原因 */ | |||
| @Excel(name = "拒绝接单原因") | |||
| private String rejectOrder; | |||
| /** 接单人编号,当指定派单时有编号,超时后清空编号,等待接单 */ | |||
| @Excel(name = "接单人编号,当指定派单时有编号,超时后清空编号,等待接单") | |||
| private Long userId; | |||
| public void setOrdersRecordsId(Long ordersRecordsId) | |||
| { | |||
| this.ordersRecordsId = ordersRecordsId; | |||
| } | |||
| public Long getOrdersRecordsId() | |||
| { | |||
| return ordersRecordsId; | |||
| } | |||
| public void setDelFlag(Integer delFlag) | |||
| { | |||
| this.delFlag = delFlag; | |||
| } | |||
| public Integer getDelFlag() | |||
| { | |||
| return delFlag; | |||
| } | |||
| public void setOrderId(Long orderId) | |||
| { | |||
| this.orderId = orderId; | |||
| } | |||
| public Long getOrderId() | |||
| { | |||
| return orderId; | |||
| } | |||
| public void setOrdersRecordsState(Integer ordersRecordsState) | |||
| { | |||
| this.ordersRecordsState = ordersRecordsState; | |||
| } | |||
| public Integer getOrdersRecordsState() | |||
| { | |||
| return ordersRecordsState; | |||
| } | |||
| public void setRejectOrder(String rejectOrder) | |||
| { | |||
| this.rejectOrder = rejectOrder; | |||
| } | |||
| public String getRejectOrder() | |||
| { | |||
| return rejectOrder; | |||
| } | |||
| public void setUserId(Long userId) | |||
| { | |||
| this.userId = userId; | |||
| } | |||
| public Long getUserId() | |||
| { | |||
| return userId; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("ordersRecordsId", getOrdersRecordsId()) | |||
| .append("delFlag", getDelFlag()) | |||
| .append("orderId", getOrderId()) | |||
| .append("ordersRecordsState", getOrdersRecordsState()) | |||
| .append("rejectOrder", getRejectOrder()) | |||
| .append("userId", getUserId()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 证件提示配置对象 paper_prompt_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PaperPromptConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 宠物类型 */ | |||
| @Excel(name = "宠物类型") | |||
| private String paperPromptType; | |||
| /** 证件提示文本 */ | |||
| @Excel(name = "证件提示文本") | |||
| private String paperPromptText; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setPaperPromptType(String paperPromptType) | |||
| { | |||
| this.paperPromptType = paperPromptType; | |||
| } | |||
| public String getPaperPromptType() | |||
| { | |||
| return paperPromptType; | |||
| } | |||
| public void setPaperPromptText(String paperPromptText) | |||
| { | |||
| this.paperPromptText = paperPromptText; | |||
| } | |||
| public String getPaperPromptText() | |||
| { | |||
| return paperPromptText; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("paperPromptType", getPaperPromptType()) | |||
| .append("paperPromptText", getPaperPromptText()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,152 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 合伙人对象 partner | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Partner extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 合伙人ID */ | |||
| private Long id; | |||
| /** 邀请码 */ | |||
| @Excel(name = "邀请码") | |||
| private String code; | |||
| /** 邀请链接 */ | |||
| @Excel(name = "邀请链接") | |||
| private String codeUrl; | |||
| /** 邀请小程序码 */ | |||
| @Excel(name = "邀请小程序码") | |||
| private String codeImage; | |||
| /** 当前等级 */ | |||
| @Excel(name = "当前等级") | |||
| private Long current; | |||
| /** 加入时间 */ | |||
| @JsonFormat(pattern = "yyyy-MM-dd") | |||
| @Excel(name = "加入时间", width = 30, dateFormat = "yyyy-MM-dd") | |||
| private Date day; | |||
| /** 头像 */ | |||
| @Excel(name = "头像") | |||
| private String icon; | |||
| /** 昵称 */ | |||
| @Excel(name = "昵称") | |||
| private String name; | |||
| /** 钱包ID */ | |||
| @Excel(name = "钱包ID") | |||
| private Long wid; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setCode(String code) | |||
| { | |||
| this.code = code; | |||
| } | |||
| public String getCode() | |||
| { | |||
| return code; | |||
| } | |||
| public void setCodeUrl(String codeUrl) | |||
| { | |||
| this.codeUrl = codeUrl; | |||
| } | |||
| public String getCodeUrl() | |||
| { | |||
| return codeUrl; | |||
| } | |||
| public void setCodeImage(String codeImage) | |||
| { | |||
| this.codeImage = codeImage; | |||
| } | |||
| public String getCodeImage() | |||
| { | |||
| return codeImage; | |||
| } | |||
| public void setCurrent(Long current) | |||
| { | |||
| this.current = current; | |||
| } | |||
| public Long getCurrent() | |||
| { | |||
| return current; | |||
| } | |||
| public void setDay(Date day) | |||
| { | |||
| this.day = day; | |||
| } | |||
| public Date getDay() | |||
| { | |||
| return day; | |||
| } | |||
| public void setIcon(String icon) | |||
| { | |||
| this.icon = icon; | |||
| } | |||
| public String getIcon() | |||
| { | |||
| return icon; | |||
| } | |||
| public void setName(String name) | |||
| { | |||
| this.name = name; | |||
| } | |||
| public String getName() | |||
| { | |||
| return name; | |||
| } | |||
| public void setWid(Long wid) | |||
| { | |||
| this.wid = wid; | |||
| } | |||
| public Long getWid() | |||
| { | |||
| return wid; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("code", getCode()) | |||
| .append("codeUrl", getCodeUrl()) | |||
| .append("codeImage", getCodeImage()) | |||
| .append("current", getCurrent()) | |||
| .append("day", getDay()) | |||
| .append("icon", getIcon()) | |||
| .append("name", getName()) | |||
| .append("wid", getWid()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,82 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 合伙人绑定对象 partnerbinding | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Partnerbinding extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 唯一标识 */ | |||
| private Long id; | |||
| /** 合伙人ID */ | |||
| @Excel(name = "合伙人ID") | |||
| private Long pid; | |||
| /** 用户ID */ | |||
| @Excel(name = "用户ID") | |||
| private Long uid; | |||
| /** 绑定时间 */ | |||
| @JsonFormat(pattern = "yyyy-MM-dd") | |||
| @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd") | |||
| private Date bindTime; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setPid(Long pid) | |||
| { | |||
| this.pid = pid; | |||
| } | |||
| public Long getPid() | |||
| { | |||
| return pid; | |||
| } | |||
| public void setUid(Long uid) | |||
| { | |||
| this.uid = uid; | |||
| } | |||
| public Long getUid() | |||
| { | |||
| return uid; | |||
| } | |||
| public void setBindTime(Date bindTime) | |||
| { | |||
| this.bindTime = bindTime; | |||
| } | |||
| public Date getBindTime() | |||
| { | |||
| return bindTime; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("pid", getPid()) | |||
| .append("uid", getUid()) | |||
| .append("bindTime", getBindTime()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 合伙人数据对象 partnerdata | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Partnerdata extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 唯一标识 */ | |||
| private Long id; | |||
| /** 合伙人绑定ID */ | |||
| @Excel(name = "合伙人绑定ID") | |||
| private Long bid; | |||
| /** 记录金额 */ | |||
| @Excel(name = "记录金额") | |||
| private Long dataAmount; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setBid(Long bid) | |||
| { | |||
| this.bid = bid; | |||
| } | |||
| public Long getBid() | |||
| { | |||
| return bid; | |||
| } | |||
| public void setDataAmount(Long dataAmount) | |||
| { | |||
| this.dataAmount = dataAmount; | |||
| } | |||
| public Long getDataAmount() | |||
| { | |||
| return dataAmount; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("bid", getBid()) | |||
| .append("dataAmount", getDataAmount()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,93 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 合伙人等级记录对象 partnerincome | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Partnerincome extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 合伙人ID */ | |||
| @Excel(name = "合伙人ID") | |||
| private Long pid; | |||
| /** 唯一标识 */ | |||
| private Long id; | |||
| /** 服务次数 */ | |||
| @Excel(name = "服务次数") | |||
| private Long serviceRecord; | |||
| /** 晋级后分成比例 */ | |||
| @Excel(name = "晋级后分成比例") | |||
| private Long afterSharingRatio; | |||
| /** 分成比例 */ | |||
| @Excel(name = "分成比例") | |||
| private Long sharingRatio; | |||
| public void setPid(Long pid) | |||
| { | |||
| this.pid = pid; | |||
| } | |||
| public Long getPid() | |||
| { | |||
| return pid; | |||
| } | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setServiceRecord(Long serviceRecord) | |||
| { | |||
| this.serviceRecord = serviceRecord; | |||
| } | |||
| public Long getServiceRecord() | |||
| { | |||
| return serviceRecord; | |||
| } | |||
| public void setAfterSharingRatio(Long afterSharingRatio) | |||
| { | |||
| this.afterSharingRatio = afterSharingRatio; | |||
| } | |||
| public Long getAfterSharingRatio() | |||
| { | |||
| return afterSharingRatio; | |||
| } | |||
| public void setSharingRatio(Long sharingRatio) | |||
| { | |||
| this.sharingRatio = sharingRatio; | |||
| } | |||
| public Long getSharingRatio() | |||
| { | |||
| return sharingRatio; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("pid", getPid()) | |||
| .append("id", getId()) | |||
| .append("serviceRecord", getServiceRecord()) | |||
| .append("afterSharingRatio", getAfterSharingRatio()) | |||
| .append("sharingRatio", getSharingRatio()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,51 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 宠物性格快捷选择配置对象 pet_personality_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PetPersonalityConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 宠物性格快捷选择文本 */ | |||
| @Excel(name = "宠物性格快捷选择文本") | |||
| private String petPersonalityText; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setPetPersonalityText(String petPersonalityText) | |||
| { | |||
| this.petPersonalityText = petPersonalityText; | |||
| } | |||
| public String getPetPersonalityText() | |||
| { | |||
| return petPersonalityText; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("petPersonalityText", getPetPersonalityText()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,65 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 宠物档案配置对象 pet_profile_config | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PetProfileConfig extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long id; | |||
| /** 宠物档案提示文本 */ | |||
| @Excel(name = "宠物档案提示文本") | |||
| private String petProfileText; | |||
| /** 宠物档案图标 */ | |||
| @Excel(name = "宠物档案图标") | |||
| private String petProfileIcon; | |||
| public void setId(Long id) | |||
| { | |||
| this.id = id; | |||
| } | |||
| public Long getId() | |||
| { | |||
| return id; | |||
| } | |||
| public void setPetProfileText(String petProfileText) | |||
| { | |||
| this.petProfileText = petProfileText; | |||
| } | |||
| public String getPetProfileText() | |||
| { | |||
| return petProfileText; | |||
| } | |||
| public void setPetProfileIcon(String petProfileIcon) | |||
| { | |||
| this.petProfileIcon = petProfileIcon; | |||
| } | |||
| public String getPetProfileIcon() | |||
| { | |||
| return petProfileIcon; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("id", getId()) | |||
| .append("petProfileText", getPetProfileText()) | |||
| .append("petProfileIcon", getPetProfileIcon()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,96 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 打卡对象 pet_teachar_check | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PetTeacharCheck extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 打卡编号 */ | |||
| private Long checkId; | |||
| /** 伴宠师编号 */ | |||
| @Excel(name = "伴宠师编号") | |||
| private Long petTeacherId; | |||
| /** 订单编号 */ | |||
| @Excel(name = "订单编号") | |||
| private Long orderId; | |||
| /** 打卡时间 */ | |||
| @JsonFormat(pattern = "yyyy-MM-dd") | |||
| @Excel(name = "打卡时间", width = 30, dateFormat = "yyyy-MM-dd") | |||
| private Date checkTime; | |||
| /** 其他服务信息 */ | |||
| @Excel(name = "其他服务信息") | |||
| private String checkInfo; | |||
| public void setCheckId(Long checkId) | |||
| { | |||
| this.checkId = checkId; | |||
| } | |||
| public Long getCheckId() | |||
| { | |||
| return checkId; | |||
| } | |||
| public void setPetTeacherId(Long petTeacherId) | |||
| { | |||
| this.petTeacherId = petTeacherId; | |||
| } | |||
| public Long getPetTeacherId() | |||
| { | |||
| return petTeacherId; | |||
| } | |||
| public void setOrderId(Long orderId) | |||
| { | |||
| this.orderId = orderId; | |||
| } | |||
| public Long getOrderId() | |||
| { | |||
| return orderId; | |||
| } | |||
| public void setCheckTime(Date checkTime) | |||
| { | |||
| this.checkTime = checkTime; | |||
| } | |||
| public Date getCheckTime() | |||
| { | |||
| return checkTime; | |||
| } | |||
| public void setCheckInfo(String checkInfo) | |||
| { | |||
| this.checkInfo = checkInfo; | |||
| } | |||
| public String getCheckInfo() | |||
| { | |||
| return checkInfo; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("checkId", getCheckId()) | |||
| .append("petTeacherId", getPetTeacherId()) | |||
| .append("orderId", getOrderId()) | |||
| .append("checkTime", getCheckTime()) | |||
| .append("checkInfo", getCheckInfo()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,51 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 伴宠师等级配置对象 pet_teacher_grade | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PetTeacherGrade extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 伴宠师等级编号 */ | |||
| private String gradeId; | |||
| /** 伴宠师等级描述 */ | |||
| @Excel(name = "伴宠师等级描述") | |||
| private String gradeName; | |||
| public void setGradeId(String gradeId) | |||
| { | |||
| this.gradeId = gradeId; | |||
| } | |||
| public String getGradeId() | |||
| { | |||
| return gradeId; | |||
| } | |||
| public void setGradeName(String gradeName) | |||
| { | |||
| this.gradeName = gradeName; | |||
| } | |||
| public String getGradeName() | |||
| { | |||
| return gradeName; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("gradeId", getGradeId()) | |||
| .append("gradeName", getGradeName()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,177 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 伴宠师信息对象 pet_teacher_info | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PetTeacherInfo extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 主键 */ | |||
| private Long petTeacherId; | |||
| /** 用户id */ | |||
| @Excel(name = "用户id") | |||
| private Long userId; | |||
| /** 养宠经验(多少年) */ | |||
| @Excel(name = "养宠经验", readConverterExp = "多=少年") | |||
| private Long petTeacherExperience; | |||
| /** 伴宠师简介 */ | |||
| @Excel(name = "伴宠师简介") | |||
| private String petTeacherInfo; | |||
| /** 伴宠师性别 */ | |||
| @Excel(name = "伴宠师性别") | |||
| private String petTeacherSex; | |||
| /** 伴宠师年龄 */ | |||
| @Excel(name = "伴宠师年龄") | |||
| private Long petTeacherAge; | |||
| /** 伴宠师名称 */ | |||
| @Excel(name = "伴宠师名称") | |||
| private String petTeacherName; | |||
| /** 钱包编号 */ | |||
| @Excel(name = "钱包编号") | |||
| private Long moneyId; | |||
| /** 宠物编号 */ | |||
| @Excel(name = "宠物编号") | |||
| private Long petId; | |||
| /** 服务记录条数 */ | |||
| @Excel(name = "服务记录条数") | |||
| private Long serviceRecordSum; | |||
| /** 伴宠师等级编号 */ | |||
| @Excel(name = "伴宠师等级编号") | |||
| private String gradeId; | |||
| public void setPetTeacherId(Long petTeacherId) | |||
| { | |||
| this.petTeacherId = petTeacherId; | |||
| } | |||
| public Long getPetTeacherId() | |||
| { | |||
| return petTeacherId; | |||
| } | |||
| public void setUserId(Long userId) | |||
| { | |||
| this.userId = userId; | |||
| } | |||
| public Long getUserId() | |||
| { | |||
| return userId; | |||
| } | |||
| public void setPetTeacherExperience(Long petTeacherExperience) | |||
| { | |||
| this.petTeacherExperience = petTeacherExperience; | |||
| } | |||
| public Long getPetTeacherExperience() | |||
| { | |||
| return petTeacherExperience; | |||
| } | |||
| public void setPetTeacherInfo(String petTeacherInfo) | |||
| { | |||
| this.petTeacherInfo = petTeacherInfo; | |||
| } | |||
| public String getPetTeacherInfo() | |||
| { | |||
| return petTeacherInfo; | |||
| } | |||
| public void setPetTeacherSex(String petTeacherSex) | |||
| { | |||
| this.petTeacherSex = petTeacherSex; | |||
| } | |||
| public String getPetTeacherSex() | |||
| { | |||
| return petTeacherSex; | |||
| } | |||
| public void setPetTeacherAge(Long petTeacherAge) | |||
| { | |||
| this.petTeacherAge = petTeacherAge; | |||
| } | |||
| public Long getPetTeacherAge() | |||
| { | |||
| return petTeacherAge; | |||
| } | |||
| public void setPetTeacherName(String petTeacherName) | |||
| { | |||
| this.petTeacherName = petTeacherName; | |||
| } | |||
| public String getPetTeacherName() | |||
| { | |||
| return petTeacherName; | |||
| } | |||
| public void setMoneyId(Long moneyId) | |||
| { | |||
| this.moneyId = moneyId; | |||
| } | |||
| public Long getMoneyId() | |||
| { | |||
| return moneyId; | |||
| } | |||
| public void setPetId(Long petId) | |||
| { | |||
| this.petId = petId; | |||
| } | |||
| public Long getPetId() | |||
| { | |||
| return petId; | |||
| } | |||
| public void setServiceRecordSum(Long serviceRecordSum) | |||
| { | |||
| this.serviceRecordSum = serviceRecordSum; | |||
| } | |||
| public Long getServiceRecordSum() | |||
| { | |||
| return serviceRecordSum; | |||
| } | |||
| public void setGradeId(String gradeId) | |||
| { | |||
| this.gradeId = gradeId; | |||
| } | |||
| public String getGradeId() | |||
| { | |||
| return gradeId; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("petTeacherId", getPetTeacherId()) | |||
| .append("userId", getUserId()) | |||
| .append("petTeacherExperience", getPetTeacherExperience()) | |||
| .append("petTeacherInfo", getPetTeacherInfo()) | |||
| .append("petTeacherSex", getPetTeacherSex()) | |||
| .append("petTeacherAge", getPetTeacherAge()) | |||
| .append("petTeacherName", getPetTeacherName()) | |||
| .append("moneyId", getMoneyId()) | |||
| .append("petId", getPetId()) | |||
| .append("serviceRecordSum", getServiceRecordSum()) | |||
| .append("gradeId", getGradeId()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,92 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 宠物类型对象 pet_type | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class PetType extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 宠物类型编号 */ | |||
| private Long petTypeId; | |||
| /** 删除标识 */ | |||
| private Integer delFlag; | |||
| /** 宠物类型图片 */ | |||
| @Excel(name = "宠物类型图片") | |||
| private String petTypeImage; | |||
| /** 宠物类型名 */ | |||
| @Excel(name = "宠物类型名") | |||
| private String petTypeName; | |||
| /** 备注 */ | |||
| @Excel(name = "备注") | |||
| private String reamk; | |||
| public void setPetTypeId(Long petTypeId) | |||
| { | |||
| this.petTypeId = petTypeId; | |||
| } | |||
| public Long getPetTypeId() | |||
| { | |||
| return petTypeId; | |||
| } | |||
| public void setDelFlag(Integer delFlag) | |||
| { | |||
| this.delFlag = delFlag; | |||
| } | |||
| public Integer getDelFlag() | |||
| { | |||
| return delFlag; | |||
| } | |||
| public void setPetTypeImage(String petTypeImage) | |||
| { | |||
| this.petTypeImage = petTypeImage; | |||
| } | |||
| public String getPetTypeImage() | |||
| { | |||
| return petTypeImage; | |||
| } | |||
| public void setPetTypeName(String petTypeName) | |||
| { | |||
| this.petTypeName = petTypeName; | |||
| } | |||
| public String getPetTypeName() | |||
| { | |||
| return petTypeName; | |||
| } | |||
| public void setReamk(String reamk) | |||
| { | |||
| this.reamk = reamk; | |||
| } | |||
| public String getReamk() | |||
| { | |||
| return reamk; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("petTypeId", getPetTypeId()) | |||
| .append("delFlag", getDelFlag()) | |||
| .append("petTypeImage", getPetTypeImage()) | |||
| .append("petTypeName", getPetTypeName()) | |||
| .append("reamk", getReamk()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,199 +0,0 @@ | |||
| package com.ruoyi.catdog.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; | |||
| /** | |||
| * 宠物信息对象 pets | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public class Pets extends BaseEntity | |||
| { | |||
| private static final long serialVersionUID = 1L; | |||
| /** 宠物编号 */ | |||
| private Long petId; | |||
| /** 删除标记 */ | |||
| @Excel(name = "删除标记") | |||
| private Integer deiFlag; | |||
| /** 宠物年龄 */ | |||
| @Excel(name = "宠物年龄") | |||
| private Long petAge; | |||
| /** 出生日期 */ | |||
| @JsonFormat(pattern = "yyyy-MM-dd") | |||
| @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd") | |||
| private Date petBirthday; | |||
| /** 宠物品种编号 */ | |||
| @Excel(name = "宠物品种编号") | |||
| private String petBread; | |||
| /** 宠物头像 */ | |||
| @Excel(name = "宠物头像") | |||
| private String petImage; | |||
| /** 宠物名称 */ | |||
| @Excel(name = "宠物名称") | |||
| private String petName; | |||
| /** 宠物性格 */ | |||
| @Excel(name = "宠物性格") | |||
| private String petPersonality; | |||
| /** 宠物性别 */ | |||
| @Excel(name = "宠物性别") | |||
| private String petSex; | |||
| /** 宠物种类编号 */ | |||
| @Excel(name = "宠物种类编号") | |||
| private String petSpecies; | |||
| /** 宠物体重,1=小型,2=中型,3=大型 */ | |||
| @Excel(name = "宠物体重,1=小型,2=中型,3=大型") | |||
| private Integer petWeight; | |||
| /** 用户编号 */ | |||
| @Excel(name = "用户编号") | |||
| private Long userId; | |||
| public void setPetId(Long petId) | |||
| { | |||
| this.petId = petId; | |||
| } | |||
| public Long getPetId() | |||
| { | |||
| return petId; | |||
| } | |||
| public void setDeiFlag(Integer deiFlag) | |||
| { | |||
| this.deiFlag = deiFlag; | |||
| } | |||
| public Integer getDeiFlag() | |||
| { | |||
| return deiFlag; | |||
| } | |||
| public void setPetAge(Long petAge) | |||
| { | |||
| this.petAge = petAge; | |||
| } | |||
| public Long getPetAge() | |||
| { | |||
| return petAge; | |||
| } | |||
| public void setPetBirthday(Date petBirthday) | |||
| { | |||
| this.petBirthday = petBirthday; | |||
| } | |||
| public Date getPetBirthday() | |||
| { | |||
| return petBirthday; | |||
| } | |||
| public void setPetBread(String petBread) | |||
| { | |||
| this.petBread = petBread; | |||
| } | |||
| public String getPetBread() | |||
| { | |||
| return petBread; | |||
| } | |||
| public void setPetImage(String petImage) | |||
| { | |||
| this.petImage = petImage; | |||
| } | |||
| public String getPetImage() | |||
| { | |||
| return petImage; | |||
| } | |||
| public void setPetName(String petName) | |||
| { | |||
| this.petName = petName; | |||
| } | |||
| public String getPetName() | |||
| { | |||
| return petName; | |||
| } | |||
| public void setPetPersonality(String petPersonality) | |||
| { | |||
| this.petPersonality = petPersonality; | |||
| } | |||
| public String getPetPersonality() | |||
| { | |||
| return petPersonality; | |||
| } | |||
| public void setPetSex(String petSex) | |||
| { | |||
| this.petSex = petSex; | |||
| } | |||
| public String getPetSex() | |||
| { | |||
| return petSex; | |||
| } | |||
| public void setPetSpecies(String petSpecies) | |||
| { | |||
| this.petSpecies = petSpecies; | |||
| } | |||
| public String getPetSpecies() | |||
| { | |||
| return petSpecies; | |||
| } | |||
| public void setPetWeight(Integer petWeight) | |||
| { | |||
| this.petWeight = petWeight; | |||
| } | |||
| public Integer getPetWeight() | |||
| { | |||
| return petWeight; | |||
| } | |||
| public void setUserId(Long userId) | |||
| { | |||
| this.userId = userId; | |||
| } | |||
| public Long getUserId() | |||
| { | |||
| return userId; | |||
| } | |||
| @Override | |||
| public String toString() { | |||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | |||
| .append("petId", getPetId()) | |||
| .append("createBy", getCreateBy()) | |||
| .append("createTime", getCreateTime()) | |||
| .append("deiFlag", getDeiFlag()) | |||
| .append("petAge", getPetAge()) | |||
| .append("petBirthday", getPetBirthday()) | |||
| .append("petBread", getPetBread()) | |||
| .append("petImage", getPetImage()) | |||
| .append("petName", getPetName()) | |||
| .append("petPersonality", getPetPersonality()) | |||
| .append("petSex", getPetSex()) | |||
| .append("petSpecies", getPetSpecies()) | |||
| .append("petWeight", getPetWeight()) | |||
| .append("remark", getRemark()) | |||
| .append("updateBy", getUpdateBy()) | |||
| .append("updateTime", getUpdateTime()) | |||
| .append("userId", getUserId()) | |||
| .toString(); | |||
| } | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.CleanItems; | |||
| /** | |||
| * 清洁物品Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface CleanItemsMapper | |||
| { | |||
| /** | |||
| * 查询清洁物品 | |||
| * | |||
| * @param cleanItemsId 清洁物品主键 | |||
| * @return 清洁物品 | |||
| */ | |||
| public CleanItems selectCleanItemsByCleanItemsId(Long cleanItemsId); | |||
| /** | |||
| * 查询清洁物品列表 | |||
| * | |||
| * @param cleanItems 清洁物品 | |||
| * @return 清洁物品集合 | |||
| */ | |||
| public List<CleanItems> selectCleanItemsList(CleanItems cleanItems); | |||
| /** | |||
| * 新增清洁物品 | |||
| * | |||
| * @param cleanItems 清洁物品 | |||
| * @return 结果 | |||
| */ | |||
| public int insertCleanItems(CleanItems cleanItems); | |||
| /** | |||
| * 修改清洁物品 | |||
| * | |||
| * @param cleanItems 清洁物品 | |||
| * @return 结果 | |||
| */ | |||
| public int updateCleanItems(CleanItems cleanItems); | |||
| /** | |||
| * 删除清洁物品 | |||
| * | |||
| * @param cleanItemsId 清洁物品主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteCleanItemsByCleanItemsId(Long cleanItemsId); | |||
| /** | |||
| * 批量删除清洁物品 | |||
| * | |||
| * @param cleanItemsIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteCleanItemsByCleanItemsIds(Long[] cleanItemsIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.CleanRequest; | |||
| /** | |||
| * 清洁要求Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface CleanRequestMapper | |||
| { | |||
| /** | |||
| * 查询清洁要求 | |||
| * | |||
| * @param cleanRequestId 清洁要求主键 | |||
| * @return 清洁要求 | |||
| */ | |||
| public CleanRequest selectCleanRequestByCleanRequestId(Long cleanRequestId); | |||
| /** | |||
| * 查询清洁要求列表 | |||
| * | |||
| * @param cleanRequest 清洁要求 | |||
| * @return 清洁要求集合 | |||
| */ | |||
| public List<CleanRequest> selectCleanRequestList(CleanRequest cleanRequest); | |||
| /** | |||
| * 新增清洁要求 | |||
| * | |||
| * @param cleanRequest 清洁要求 | |||
| * @return 结果 | |||
| */ | |||
| public int insertCleanRequest(CleanRequest cleanRequest); | |||
| /** | |||
| * 修改清洁要求 | |||
| * | |||
| * @param cleanRequest 清洁要求 | |||
| * @return 结果 | |||
| */ | |||
| public int updateCleanRequest(CleanRequest cleanRequest); | |||
| /** | |||
| * 删除清洁要求 | |||
| * | |||
| * @param cleanRequestId 清洁要求主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteCleanRequestByCleanRequestId(Long cleanRequestId); | |||
| /** | |||
| * 批量删除清洁要求 | |||
| * | |||
| * @param cleanRequestIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteCleanRequestByCleanRequestIds(Long[] cleanRequestIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.CurrentConfig; | |||
| /** | |||
| * 等级配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface CurrentConfigMapper | |||
| { | |||
| /** | |||
| * 查询等级配置 | |||
| * | |||
| * @param currentId 等级配置主键 | |||
| * @return 等级配置 | |||
| */ | |||
| public CurrentConfig selectCurrentConfigByCurrentId(Long currentId); | |||
| /** | |||
| * 查询等级配置列表 | |||
| * | |||
| * @param currentConfig 等级配置 | |||
| * @return 等级配置集合 | |||
| */ | |||
| public List<CurrentConfig> selectCurrentConfigList(CurrentConfig currentConfig); | |||
| /** | |||
| * 新增等级配置 | |||
| * | |||
| * @param currentConfig 等级配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertCurrentConfig(CurrentConfig currentConfig); | |||
| /** | |||
| * 修改等级配置 | |||
| * | |||
| * @param currentConfig 等级配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateCurrentConfig(CurrentConfig currentConfig); | |||
| /** | |||
| * 删除等级配置 | |||
| * | |||
| * @param currentId 等级配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteCurrentConfigByCurrentId(Long currentId); | |||
| /** | |||
| * 批量删除等级配置 | |||
| * | |||
| * @param currentIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteCurrentConfigByCurrentIds(Long[] currentIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.Deposit; | |||
| /** | |||
| * 保证金记录Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface DepositMapper | |||
| { | |||
| /** | |||
| * 查询保证金记录 | |||
| * | |||
| * @param id 保证金记录主键 | |||
| * @return 保证金记录 | |||
| */ | |||
| public Deposit selectDepositById(Long id); | |||
| /** | |||
| * 查询保证金记录列表 | |||
| * | |||
| * @param deposit 保证金记录 | |||
| * @return 保证金记录集合 | |||
| */ | |||
| public List<Deposit> selectDepositList(Deposit deposit); | |||
| /** | |||
| * 新增保证金记录 | |||
| * | |||
| * @param deposit 保证金记录 | |||
| * @return 结果 | |||
| */ | |||
| public int insertDeposit(Deposit deposit); | |||
| /** | |||
| * 修改保证金记录 | |||
| * | |||
| * @param deposit 保证金记录 | |||
| * @return 结果 | |||
| */ | |||
| public int updateDeposit(Deposit deposit); | |||
| /** | |||
| * 删除保证金记录 | |||
| * | |||
| * @param id 保证金记录主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteDepositById(Long id); | |||
| /** | |||
| * 批量删除保证金记录 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteDepositByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.DescriptivesConfig; | |||
| /** | |||
| * 数据描述配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface DescriptivesConfigMapper | |||
| { | |||
| /** | |||
| * 查询数据描述配置 | |||
| * | |||
| * @param id 数据描述配置主键 | |||
| * @return 数据描述配置 | |||
| */ | |||
| public DescriptivesConfig selectDescriptivesConfigById(Long id); | |||
| /** | |||
| * 查询数据描述配置列表 | |||
| * | |||
| * @param descriptivesConfig 数据描述配置 | |||
| * @return 数据描述配置集合 | |||
| */ | |||
| public List<DescriptivesConfig> selectDescriptivesConfigList(DescriptivesConfig descriptivesConfig); | |||
| /** | |||
| * 新增数据描述配置 | |||
| * | |||
| * @param descriptivesConfig 数据描述配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertDescriptivesConfig(DescriptivesConfig descriptivesConfig); | |||
| /** | |||
| * 修改数据描述配置 | |||
| * | |||
| * @param descriptivesConfig 数据描述配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateDescriptivesConfig(DescriptivesConfig descriptivesConfig); | |||
| /** | |||
| * 删除数据描述配置 | |||
| * | |||
| * @param id 数据描述配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteDescriptivesConfigById(Long id); | |||
| /** | |||
| * 批量删除数据描述配置 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteDescriptivesConfigByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.Examination; | |||
| /** | |||
| * 考核Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface ExaminationMapper | |||
| { | |||
| /** | |||
| * 查询考核 | |||
| * | |||
| * @param examinationId 考核主键 | |||
| * @return 考核 | |||
| */ | |||
| public Examination selectExaminationByExaminationId(Long examinationId); | |||
| /** | |||
| * 查询考核列表 | |||
| * | |||
| * @param examination 考核 | |||
| * @return 考核集合 | |||
| */ | |||
| public List<Examination> selectExaminationList(Examination examination); | |||
| /** | |||
| * 新增考核 | |||
| * | |||
| * @param examination 考核 | |||
| * @return 结果 | |||
| */ | |||
| public int insertExamination(Examination examination); | |||
| /** | |||
| * 修改考核 | |||
| * | |||
| * @param examination 考核 | |||
| * @return 结果 | |||
| */ | |||
| public int updateExamination(Examination examination); | |||
| /** | |||
| * 删除考核 | |||
| * | |||
| * @param examinationId 考核主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteExaminationByExaminationId(Long examinationId); | |||
| /** | |||
| * 批量删除考核 | |||
| * | |||
| * @param examinationIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteExaminationByExaminationIds(Long[] examinationIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.ExamineConfig; | |||
| /** | |||
| * 考核认证配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface ExamineConfigMapper | |||
| { | |||
| /** | |||
| * 查询考核认证配置 | |||
| * | |||
| * @param id 考核认证配置主键 | |||
| * @return 考核认证配置 | |||
| */ | |||
| public ExamineConfig selectExamineConfigById(Long id); | |||
| /** | |||
| * 查询考核认证配置列表 | |||
| * | |||
| * @param examineConfig 考核认证配置 | |||
| * @return 考核认证配置集合 | |||
| */ | |||
| public List<ExamineConfig> selectExamineConfigList(ExamineConfig examineConfig); | |||
| /** | |||
| * 新增考核认证配置 | |||
| * | |||
| * @param examineConfig 考核认证配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertExamineConfig(ExamineConfig examineConfig); | |||
| /** | |||
| * 修改考核认证配置 | |||
| * | |||
| * @param examineConfig 考核认证配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateExamineConfig(ExamineConfig examineConfig); | |||
| /** | |||
| * 删除考核认证配置 | |||
| * | |||
| * @param id 考核认证配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteExamineConfigById(Long id); | |||
| /** | |||
| * 批量删除考核认证配置 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteExamineConfigByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.FeedingFood; | |||
| /** | |||
| * 喂养要求Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface FeedingFoodMapper | |||
| { | |||
| /** | |||
| * 查询喂养要求 | |||
| * | |||
| * @param feedingFoodId 喂养要求主键 | |||
| * @return 喂养要求 | |||
| */ | |||
| public FeedingFood selectFeedingFoodByFeedingFoodId(Long feedingFoodId); | |||
| /** | |||
| * 查询喂养要求列表 | |||
| * | |||
| * @param feedingFood 喂养要求 | |||
| * @return 喂养要求集合 | |||
| */ | |||
| public List<FeedingFood> selectFeedingFoodList(FeedingFood feedingFood); | |||
| /** | |||
| * 新增喂养要求 | |||
| * | |||
| * @param feedingFood 喂养要求 | |||
| * @return 结果 | |||
| */ | |||
| public int insertFeedingFood(FeedingFood feedingFood); | |||
| /** | |||
| * 修改喂养要求 | |||
| * | |||
| * @param feedingFood 喂养要求 | |||
| * @return 结果 | |||
| */ | |||
| public int updateFeedingFood(FeedingFood feedingFood); | |||
| /** | |||
| * 删除喂养要求 | |||
| * | |||
| * @param feedingFoodId 喂养要求主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFeedingFoodByFeedingFoodId(Long feedingFoodId); | |||
| /** | |||
| * 批量删除喂养要求 | |||
| * | |||
| * @param feedingFoodIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFeedingFoodByFeedingFoodIds(Long[] feedingFoodIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.FeedingFoodType; | |||
| /** | |||
| * 喂养食品类型Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface FeedingFoodTypeMapper | |||
| { | |||
| /** | |||
| * 查询喂养食品类型 | |||
| * | |||
| * @param feedingFoodTypeId 喂养食品类型主键 | |||
| * @return 喂养食品类型 | |||
| */ | |||
| public FeedingFoodType selectFeedingFoodTypeByFeedingFoodTypeId(Long feedingFoodTypeId); | |||
| /** | |||
| * 查询喂养食品类型列表 | |||
| * | |||
| * @param feedingFoodType 喂养食品类型 | |||
| * @return 喂养食品类型集合 | |||
| */ | |||
| public List<FeedingFoodType> selectFeedingFoodTypeList(FeedingFoodType feedingFoodType); | |||
| /** | |||
| * 新增喂养食品类型 | |||
| * | |||
| * @param feedingFoodType 喂养食品类型 | |||
| * @return 结果 | |||
| */ | |||
| public int insertFeedingFoodType(FeedingFoodType feedingFoodType); | |||
| /** | |||
| * 修改喂养食品类型 | |||
| * | |||
| * @param feedingFoodType 喂养食品类型 | |||
| * @return 结果 | |||
| */ | |||
| public int updateFeedingFoodType(FeedingFoodType feedingFoodType); | |||
| /** | |||
| * 删除喂养食品类型 | |||
| * | |||
| * @param feedingFoodTypeId 喂养食品类型主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFeedingFoodTypeByFeedingFoodTypeId(Long feedingFoodTypeId); | |||
| /** | |||
| * 批量删除喂养食品类型 | |||
| * | |||
| * @param feedingFoodTypeIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFeedingFoodTypeByFeedingFoodTypeIds(Long[] feedingFoodTypeIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.FeedingRequirements; | |||
| /** | |||
| * 喂养要求配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface FeedingRequirementsMapper | |||
| { | |||
| /** | |||
| * 查询喂养要求配置 | |||
| * | |||
| * @param feedingRequirementsId 喂养要求配置主键 | |||
| * @return 喂养要求配置 | |||
| */ | |||
| public FeedingRequirements selectFeedingRequirementsByFeedingRequirementsId(Long feedingRequirementsId); | |||
| /** | |||
| * 查询喂养要求配置列表 | |||
| * | |||
| * @param feedingRequirements 喂养要求配置 | |||
| * @return 喂养要求配置集合 | |||
| */ | |||
| public List<FeedingRequirements> selectFeedingRequirementsList(FeedingRequirements feedingRequirements); | |||
| /** | |||
| * 新增喂养要求配置 | |||
| * | |||
| * @param feedingRequirements 喂养要求配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertFeedingRequirements(FeedingRequirements feedingRequirements); | |||
| /** | |||
| * 修改喂养要求配置 | |||
| * | |||
| * @param feedingRequirements 喂养要求配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateFeedingRequirements(FeedingRequirements feedingRequirements); | |||
| /** | |||
| * 删除喂养要求配置 | |||
| * | |||
| * @param feedingRequirementsId 喂养要求配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFeedingRequirementsByFeedingRequirementsId(Long feedingRequirementsId); | |||
| /** | |||
| * 批量删除喂养要求配置 | |||
| * | |||
| * @param feedingRequirementsIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFeedingRequirementsByFeedingRequirementsIds(Long[] feedingRequirementsIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.FinalConfig; | |||
| /** | |||
| * 最终准备页面配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface FinalConfigMapper | |||
| { | |||
| /** | |||
| * 查询最终准备页面配置 | |||
| * | |||
| * @param id 最终准备页面配置主键 | |||
| * @return 最终准备页面配置 | |||
| */ | |||
| public FinalConfig selectFinalConfigById(Long id); | |||
| /** | |||
| * 查询最终准备页面配置列表 | |||
| * | |||
| * @param finalConfig 最终准备页面配置 | |||
| * @return 最终准备页面配置集合 | |||
| */ | |||
| public List<FinalConfig> selectFinalConfigList(FinalConfig finalConfig); | |||
| /** | |||
| * 新增最终准备页面配置 | |||
| * | |||
| * @param finalConfig 最终准备页面配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertFinalConfig(FinalConfig finalConfig); | |||
| /** | |||
| * 修改最终准备页面配置 | |||
| * | |||
| * @param finalConfig 最终准备页面配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateFinalConfig(FinalConfig finalConfig); | |||
| /** | |||
| * 删除最终准备页面配置 | |||
| * | |||
| * @param id 最终准备页面配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFinalConfigById(Long id); | |||
| /** | |||
| * 批量删除最终准备页面配置 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteFinalConfigByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.IndexPageConfig; | |||
| /** | |||
| * 首页登录配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface IndexPageConfigMapper | |||
| { | |||
| /** | |||
| * 查询首页登录配置 | |||
| * | |||
| * @param indexBackground 首页登录配置主键 | |||
| * @return 首页登录配置 | |||
| */ | |||
| public IndexPageConfig selectIndexPageConfigByIndexBackground(String indexBackground); | |||
| /** | |||
| * 查询首页登录配置列表 | |||
| * | |||
| * @param indexPageConfig 首页登录配置 | |||
| * @return 首页登录配置集合 | |||
| */ | |||
| public List<IndexPageConfig> selectIndexPageConfigList(IndexPageConfig indexPageConfig); | |||
| /** | |||
| * 新增首页登录配置 | |||
| * | |||
| * @param indexPageConfig 首页登录配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertIndexPageConfig(IndexPageConfig indexPageConfig); | |||
| /** | |||
| * 修改首页登录配置 | |||
| * | |||
| * @param indexPageConfig 首页登录配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateIndexPageConfig(IndexPageConfig indexPageConfig); | |||
| /** | |||
| * 删除首页登录配置 | |||
| * | |||
| * @param indexBackground 首页登录配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexPageConfigByIndexBackground(String indexBackground); | |||
| /** | |||
| * 批量删除首页登录配置 | |||
| * | |||
| * @param indexBackgrounds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexPageConfigByIndexBackgrounds(String[] indexBackgrounds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.IndexPartnerConfig; | |||
| /** | |||
| * 加入合伙人提示配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface IndexPartnerConfigMapper | |||
| { | |||
| /** | |||
| * 查询加入合伙人提示配置 | |||
| * | |||
| * @param partnerBackground 加入合伙人提示配置主键 | |||
| * @return 加入合伙人提示配置 | |||
| */ | |||
| public IndexPartnerConfig selectIndexPartnerConfigByPartnerBackground(String partnerBackground); | |||
| /** | |||
| * 查询加入合伙人提示配置列表 | |||
| * | |||
| * @param indexPartnerConfig 加入合伙人提示配置 | |||
| * @return 加入合伙人提示配置集合 | |||
| */ | |||
| public List<IndexPartnerConfig> selectIndexPartnerConfigList(IndexPartnerConfig indexPartnerConfig); | |||
| /** | |||
| * 新增加入合伙人提示配置 | |||
| * | |||
| * @param indexPartnerConfig 加入合伙人提示配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertIndexPartnerConfig(IndexPartnerConfig indexPartnerConfig); | |||
| /** | |||
| * 修改加入合伙人提示配置 | |||
| * | |||
| * @param indexPartnerConfig 加入合伙人提示配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateIndexPartnerConfig(IndexPartnerConfig indexPartnerConfig); | |||
| /** | |||
| * 删除加入合伙人提示配置 | |||
| * | |||
| * @param partnerBackground 加入合伙人提示配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexPartnerConfigByPartnerBackground(String partnerBackground); | |||
| /** | |||
| * 批量删除加入合伙人提示配置 | |||
| * | |||
| * @param partnerBackgrounds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexPartnerConfigByPartnerBackgrounds(String[] partnerBackgrounds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.IndexconfigIcon; | |||
| /** | |||
| * 工作台图标Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface IndexconfigIconMapper | |||
| { | |||
| /** | |||
| * 查询工作台图标 | |||
| * | |||
| * @param id 工作台图标主键 | |||
| * @return 工作台图标 | |||
| */ | |||
| public IndexconfigIcon selectIndexconfigIconById(Long id); | |||
| /** | |||
| * 查询工作台图标列表 | |||
| * | |||
| * @param indexconfigIcon 工作台图标 | |||
| * @return 工作台图标集合 | |||
| */ | |||
| public List<IndexconfigIcon> selectIndexconfigIconList(IndexconfigIcon indexconfigIcon); | |||
| /** | |||
| * 新增工作台图标 | |||
| * | |||
| * @param indexconfigIcon 工作台图标 | |||
| * @return 结果 | |||
| */ | |||
| public int insertIndexconfigIcon(IndexconfigIcon indexconfigIcon); | |||
| /** | |||
| * 修改工作台图标 | |||
| * | |||
| * @param indexconfigIcon 工作台图标 | |||
| * @return 结果 | |||
| */ | |||
| public int updateIndexconfigIcon(IndexconfigIcon indexconfigIcon); | |||
| /** | |||
| * 删除工作台图标 | |||
| * | |||
| * @param id 工作台图标主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexconfigIconById(Long id); | |||
| /** | |||
| * 批量删除工作台图标 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexconfigIconByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.Indexconfig; | |||
| /** | |||
| * 主页内容配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface IndexconfigMapper | |||
| { | |||
| /** | |||
| * 查询主页内容配置 | |||
| * | |||
| * @param topCarouselImage 主页内容配置主键 | |||
| * @return 主页内容配置 | |||
| */ | |||
| public Indexconfig selectIndexconfigByTopCarouselImage(String topCarouselImage); | |||
| /** | |||
| * 查询主页内容配置列表 | |||
| * | |||
| * @param indexconfig 主页内容配置 | |||
| * @return 主页内容配置集合 | |||
| */ | |||
| public List<Indexconfig> selectIndexconfigList(Indexconfig indexconfig); | |||
| /** | |||
| * 新增主页内容配置 | |||
| * | |||
| * @param indexconfig 主页内容配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertIndexconfig(Indexconfig indexconfig); | |||
| /** | |||
| * 修改主页内容配置 | |||
| * | |||
| * @param indexconfig 主页内容配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateIndexconfig(Indexconfig indexconfig); | |||
| /** | |||
| * 删除主页内容配置 | |||
| * | |||
| * @param topCarouselImage 主页内容配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexconfigByTopCarouselImage(String topCarouselImage); | |||
| /** | |||
| * 批量删除主页内容配置 | |||
| * | |||
| * @param topCarouselImages 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteIndexconfigByTopCarouselImages(String[] topCarouselImages); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.Invite; | |||
| /** | |||
| * 邀请海报配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface InviteMapper | |||
| { | |||
| /** | |||
| * 查询邀请海报配置 | |||
| * | |||
| * @param id 邀请海报配置主键 | |||
| * @return 邀请海报配置 | |||
| */ | |||
| public Invite selectInviteById(Long id); | |||
| /** | |||
| * 查询邀请海报配置列表 | |||
| * | |||
| * @param invite 邀请海报配置 | |||
| * @return 邀请海报配置集合 | |||
| */ | |||
| public List<Invite> selectInviteList(Invite invite); | |||
| /** | |||
| * 新增邀请海报配置 | |||
| * | |||
| * @param invite 邀请海报配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertInvite(Invite invite); | |||
| /** | |||
| * 修改邀请海报配置 | |||
| * | |||
| * @param invite 邀请海报配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateInvite(Invite invite); | |||
| /** | |||
| * 删除邀请海报配置 | |||
| * | |||
| * @param id 邀请海报配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteInviteById(Long id); | |||
| /** | |||
| * 批量删除邀请海报配置 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteInviteByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.LicenseImage; | |||
| /** | |||
| * 执照图片Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface LicenseImageMapper | |||
| { | |||
| /** | |||
| * 查询执照图片 | |||
| * | |||
| * @param id 执照图片主键 | |||
| * @return 执照图片 | |||
| */ | |||
| public LicenseImage selectLicenseImageById(Long id); | |||
| /** | |||
| * 查询执照图片列表 | |||
| * | |||
| * @param licenseImage 执照图片 | |||
| * @return 执照图片集合 | |||
| */ | |||
| public List<LicenseImage> selectLicenseImageList(LicenseImage licenseImage); | |||
| /** | |||
| * 新增执照图片 | |||
| * | |||
| * @param licenseImage 执照图片 | |||
| * @return 结果 | |||
| */ | |||
| public int insertLicenseImage(LicenseImage licenseImage); | |||
| /** | |||
| * 修改执照图片 | |||
| * | |||
| * @param licenseImage 执照图片 | |||
| * @return 结果 | |||
| */ | |||
| public int updateLicenseImage(LicenseImage licenseImage); | |||
| /** | |||
| * 删除执照图片 | |||
| * | |||
| * @param id 执照图片主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteLicenseImageById(Long id); | |||
| /** | |||
| * 批量删除执照图片 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteLicenseImageByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.License; | |||
| /** | |||
| * 执照Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface LicenseMapper | |||
| { | |||
| /** | |||
| * 查询执照 | |||
| * | |||
| * @param licenseId 执照主键 | |||
| * @return 执照 | |||
| */ | |||
| public License selectLicenseByLicenseId(Long licenseId); | |||
| /** | |||
| * 查询执照列表 | |||
| * | |||
| * @param license 执照 | |||
| * @return 执照集合 | |||
| */ | |||
| public List<License> selectLicenseList(License license); | |||
| /** | |||
| * 新增执照 | |||
| * | |||
| * @param license 执照 | |||
| * @return 结果 | |||
| */ | |||
| public int insertLicense(License license); | |||
| /** | |||
| * 修改执照 | |||
| * | |||
| * @param license 执照 | |||
| * @return 结果 | |||
| */ | |||
| public int updateLicense(License license); | |||
| /** | |||
| * 删除执照 | |||
| * | |||
| * @param licenseId 执照主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteLicenseByLicenseId(Long licenseId); | |||
| /** | |||
| * 批量删除执照 | |||
| * | |||
| * @param licenseIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteLicenseByLicenseIds(Long[] licenseIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.LossOrder; | |||
| /** | |||
| * 流失订单Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface LossOrderMapper | |||
| { | |||
| /** | |||
| * 查询流失订单 | |||
| * | |||
| * @param lossOrderId 流失订单主键 | |||
| * @return 流失订单 | |||
| */ | |||
| public LossOrder selectLossOrderByLossOrderId(Long lossOrderId); | |||
| /** | |||
| * 查询流失订单列表 | |||
| * | |||
| * @param lossOrder 流失订单 | |||
| * @return 流失订单集合 | |||
| */ | |||
| public List<LossOrder> selectLossOrderList(LossOrder lossOrder); | |||
| /** | |||
| * 新增流失订单 | |||
| * | |||
| * @param lossOrder 流失订单 | |||
| * @return 结果 | |||
| */ | |||
| public int insertLossOrder(LossOrder lossOrder); | |||
| /** | |||
| * 修改流失订单 | |||
| * | |||
| * @param lossOrder 流失订单 | |||
| * @return 结果 | |||
| */ | |||
| public int updateLossOrder(LossOrder lossOrder); | |||
| /** | |||
| * 删除流失订单 | |||
| * | |||
| * @param lossOrderId 流失订单主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteLossOrderByLossOrderId(Long lossOrderId); | |||
| /** | |||
| * 批量删除流失订单 | |||
| * | |||
| * @param lossOrderIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteLossOrderByLossOrderIds(Long[] lossOrderIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.ManualConfig; | |||
| /** | |||
| * 伴宠师手册配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface ManualConfigMapper | |||
| { | |||
| /** | |||
| * 查询伴宠师手册配置 | |||
| * | |||
| * @param id 伴宠师手册配置主键 | |||
| * @return 伴宠师手册配置 | |||
| */ | |||
| public ManualConfig selectManualConfigById(Long id); | |||
| /** | |||
| * 查询伴宠师手册配置列表 | |||
| * | |||
| * @param manualConfig 伴宠师手册配置 | |||
| * @return 伴宠师手册配置集合 | |||
| */ | |||
| public List<ManualConfig> selectManualConfigList(ManualConfig manualConfig); | |||
| /** | |||
| * 新增伴宠师手册配置 | |||
| * | |||
| * @param manualConfig 伴宠师手册配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertManualConfig(ManualConfig manualConfig); | |||
| /** | |||
| * 修改伴宠师手册配置 | |||
| * | |||
| * @param manualConfig 伴宠师手册配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updateManualConfig(ManualConfig manualConfig); | |||
| /** | |||
| * 删除伴宠师手册配置 | |||
| * | |||
| * @param id 伴宠师手册配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteManualConfigById(Long id); | |||
| /** | |||
| * 批量删除伴宠师手册配置 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteManualConfigByIds(Long[] ids); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.Orders; | |||
| /** | |||
| * 订单Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface OrdersMapper | |||
| { | |||
| /** | |||
| * 查询订单 | |||
| * | |||
| * @param orderId 订单主键 | |||
| * @return 订单 | |||
| */ | |||
| public Orders selectOrderByOrderId(Long orderId); | |||
| /** | |||
| * 查询订单列表 | |||
| * | |||
| * @param order 订单 | |||
| * @return 订单集合 | |||
| */ | |||
| public List<Orders> selectOrderList(Orders order); | |||
| /** | |||
| * 新增订单 | |||
| * | |||
| * @param order 订单 | |||
| * @return 结果 | |||
| */ | |||
| public int insertOrder(Orders order); | |||
| /** | |||
| * 修改订单 | |||
| * | |||
| * @param order 订单 | |||
| * @return 结果 | |||
| */ | |||
| public int updateOrder(Orders order); | |||
| /** | |||
| * 删除订单 | |||
| * | |||
| * @param orderId 订单主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteOrderByOrderId(Long orderId); | |||
| /** | |||
| * 批量删除订单 | |||
| * | |||
| * @param orderIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteOrderByOrderIds(Long[] orderIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.OrdersRecords; | |||
| /** | |||
| * 接单记录Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface OrdersRecordsMapper | |||
| { | |||
| /** | |||
| * 查询接单记录 | |||
| * | |||
| * @param ordersRecordsId 接单记录主键 | |||
| * @return 接单记录 | |||
| */ | |||
| public OrdersRecords selectOrdersRecordsByOrdersRecordsId(Long ordersRecordsId); | |||
| /** | |||
| * 查询接单记录列表 | |||
| * | |||
| * @param ordersRecords 接单记录 | |||
| * @return 接单记录集合 | |||
| */ | |||
| public List<OrdersRecords> selectOrdersRecordsList(OrdersRecords ordersRecords); | |||
| /** | |||
| * 新增接单记录 | |||
| * | |||
| * @param ordersRecords 接单记录 | |||
| * @return 结果 | |||
| */ | |||
| public int insertOrdersRecords(OrdersRecords ordersRecords); | |||
| /** | |||
| * 修改接单记录 | |||
| * | |||
| * @param ordersRecords 接单记录 | |||
| * @return 结果 | |||
| */ | |||
| public int updateOrdersRecords(OrdersRecords ordersRecords); | |||
| /** | |||
| * 删除接单记录 | |||
| * | |||
| * @param ordersRecordsId 接单记录主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteOrdersRecordsByOrdersRecordsId(Long ordersRecordsId); | |||
| /** | |||
| * 批量删除接单记录 | |||
| * | |||
| * @param ordersRecordsIds 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deleteOrdersRecordsByOrdersRecordsIds(Long[] ordersRecordsIds); | |||
| } | |||
| @ -1,61 +0,0 @@ | |||
| package com.ruoyi.catdog.mapper; | |||
| import java.util.List; | |||
| import com.ruoyi.catdog.domain.PaperPromptConfig; | |||
| /** | |||
| * 证件提示配置Mapper接口 | |||
| * | |||
| * @author ruoyi | |||
| * @date 2025-03-02 | |||
| */ | |||
| public interface PaperPromptConfigMapper | |||
| { | |||
| /** | |||
| * 查询证件提示配置 | |||
| * | |||
| * @param id 证件提示配置主键 | |||
| * @return 证件提示配置 | |||
| */ | |||
| public PaperPromptConfig selectPaperPromptConfigById(Long id); | |||
| /** | |||
| * 查询证件提示配置列表 | |||
| * | |||
| * @param paperPromptConfig 证件提示配置 | |||
| * @return 证件提示配置集合 | |||
| */ | |||
| public List<PaperPromptConfig> selectPaperPromptConfigList(PaperPromptConfig paperPromptConfig); | |||
| /** | |||
| * 新增证件提示配置 | |||
| * | |||
| * @param paperPromptConfig 证件提示配置 | |||
| * @return 结果 | |||
| */ | |||
| public int insertPaperPromptConfig(PaperPromptConfig paperPromptConfig); | |||
| /** | |||
| * 修改证件提示配置 | |||
| * | |||
| * @param paperPromptConfig 证件提示配置 | |||
| * @return 结果 | |||
| */ | |||
| public int updatePaperPromptConfig(PaperPromptConfig paperPromptConfig); | |||
| /** | |||
| * 删除证件提示配置 | |||
| * | |||
| * @param id 证件提示配置主键 | |||
| * @return 结果 | |||
| */ | |||
| public int deletePaperPromptConfigById(Long id); | |||
| /** | |||
| * 批量删除证件提示配置 | |||
| * | |||
| * @param ids 需要删除的数据主键集合 | |||
| * @return 结果 | |||
| */ | |||
| public int deletePaperPromptConfigByIds(Long[] ids); | |||
| } | |||