| | |
| | | <artifactId>spring-boot-starter-test</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.ruoyi</groupId> |
| | | <artifactId>ruoyi-common</artifactId> |
| | | </dependency> |
| | | |
| | | </dependencies> |
| | | |
| | | <build> |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 出国(境)情况 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zAbroad") |
| | | public class ZAbroadController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zAutobiography") |
| | | public class ZAutobiographyController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 持有出入境证件情况 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zCertificate") |
| | | public class ZCertificateController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zChild") |
| | | public class ZChildController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zExperience") |
| | | public class ZExperienceController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表基础信息 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zHealthBase") |
| | | public class ZHealthBaseController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表的生活情况 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zHealthHabit") |
| | | public class ZHealthHabitController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 身体状况疾病表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zHealthInfo") |
| | | public class ZHealthInfoController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 证件、荣誉、资质表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zHonor") |
| | | public class ZHonorController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zIdea") |
| | | public class ZIdeaController { |
| | | |
| | | } |
| | | |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.text.Convert; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.common.utils.ServletUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.domain.ZInfoUser; |
| | | import com.ruoyi.service.ZInfoUserService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_NUM; |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/self/user") |
| | | public class ZInfoUserController { |
| | | public class ZInfoUserController extends BaseController { |
| | | |
| | | @Resource |
| | | private ZInfoUserService zInfoUserService; |
| | | |
| | | // @GetMapping("/all") |
| | | // public AjaxResult listAll(ZInfoUser zInfoUser){ |
| | | // Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); |
| | | // Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | // return zInfoUserService.selectInfoList(zInfoUser, pageNum, pageSize); |
| | | // } |
| | | |
| | | |
| | | /** |
| | | * 导出个人详细信息记录列表 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "个人详细信息记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ZInfoUser zInfoUser) |
| | | { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | zInfoUser.setUserId(userId); |
| | | List<ZInfoUser> list = zInfoUserService.selectByCondition(zInfoUser); |
| | | log.info("导出记录为:{}",list); |
| | | ExcelUtil<ZInfoUser> util = new ExcelUtil<>(ZInfoUser.class); |
| | | util.exportExcel(response, list, "个人详细信息记录数据"); |
| | | } |
| | | |
| | | /** |
| | | * 导入个人详细信息记录列表 |
| | | */ |
| | | @Log(title = "用户管理", businessType = BusinessType.IMPORT) |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(@RequestParam("excelImport") MultipartFile file) throws Exception |
| | | { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | ExcelUtil<ZInfoUser> util = new ExcelUtil<>(ZInfoUser.class); |
| | | List<ZInfoUser> eventList = util.importExcel(file.getInputStream()); |
| | | log.info("个人详细信息列表为:{}",eventList); |
| | | if(eventList.size()>1){ |
| | | return AjaxResult.error("导入个人信息只能有一条记录"); |
| | | } |
| | | |
| | | ZInfoUser zInfoUser = eventList.get(0); |
| | | zInfoUser.setUserId(userId); |
| | | |
| | | if (zInfoUserService.updateById(zInfoUser)) { |
| | | return AjaxResult.success("导入数据成功"); |
| | | } |
| | | return AjaxResult.error("导入数据失败"); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 获取个人详细信息记录详细信息 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:query')") |
| | | @GetMapping() |
| | | public AjaxResult getInfo() |
| | | { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | return success(zInfoUserService.getById(userId)); |
| | | } |
| | | // |
| | | /** |
| | | * 新增、修改个人详细信息记录 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:add')") |
| | | @Log(title = "个人详细信息记录", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ZInfoUser zInfoUser) |
| | | { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | zInfoUser.setUserId(userId); |
| | | return toAjax(zInfoUserService.saveOrUpdate(zInfoUser)); |
| | | } |
| | | |
| | | // /** |
| | | // * 修改个人详细信息记录 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:edit')") |
| | | // @Log(title = "个人详细信息记录", businessType = BusinessType.UPDATE) |
| | | // @PutMapping |
| | | // public AjaxResult edit(@RequestBody ZInfoUser zInfoUser) |
| | | // { |
| | | // return toAjax(zInfoUserService.updateById(zInfoUser)); |
| | | // } |
| | | // |
| | | /** |
| | | * 删除个人详细信息记录 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:remove')") |
| | | @Log(title = "个人详细信息记录", businessType = BusinessType.DELETE) |
| | | @DeleteMapping() |
| | | public AjaxResult remove() |
| | | { |
| | | SysUser user = SecurityUtils.getLoginUser().getUser(); |
| | | Long userId = user.getUserId(); |
| | | return toAjax(zInfoUserService.removeById(userId)); |
| | | } |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 存放登录信息的用户表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zLoginUser") |
| | | public class ZLoginUserController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zMarry") |
| | | public class ZMarryController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 个人财产表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zProperty") |
| | | public class ZPropertyController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 秘密记录表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zSecret") |
| | | public class ZSecretController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zSelfNote") |
| | | public class ZSelfNoteController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zStayOut") |
| | | public class ZStayOutController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 旅行记录基本信息表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zTravelBase") |
| | | public class ZTravelBaseController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zTravelPrice") |
| | | public class ZTravelPriceController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表第一次需要录入的信息 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zYearHealth") |
| | | public class ZYearHealthController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表的每一次检查的记录表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zYearInfo") |
| | | public class ZYearInfoController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 保洁收纳表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfClean") |
| | | public class ZfCleanController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfCollection") |
| | | public class ZfCollectionController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfContact") |
| | | public class ZfContactController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfDoctor") |
| | | public class ZfDoctorController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭收支台账 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfEconomy") |
| | | public class ZfEconomyController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfEquipment") |
| | | public class ZfEquipmentController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.text.Convert; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.ServletUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.service.ZfEventService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_NUM; |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭大事件表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Slf4j |
| | | @RestController |
| | | @RequestMapping("/family/zfEvent") |
| | | public class ZfEventController extends BaseController { |
| | | |
| | | @Resource |
| | | private ZfEventService zfEventService; |
| | | |
| | | @GetMapping("/all") |
| | | public AjaxResult listAll(ZfEvent zfEvent){ |
| | | Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); |
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | return zfEventService.selectEventList(zfEvent, pageNum, pageSize); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导出家庭大事件记录列表 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | @Log(title = "家庭大事件记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ZfEvent zfEvent) |
| | | { |
| | | List<ZfEvent> list = zfEventService.selectByCondition(zfEvent); |
| | | log.info("导出记录为:{}",list); |
| | | ExcelUtil<ZfEvent> util = new ExcelUtil<>(ZfEvent.class); |
| | | util.exportExcel(response, list, "家庭大事件记录数据"); |
| | | } |
| | | |
| | | /** |
| | | * 导入家庭大事件记录列表 |
| | | */ |
| | | @Log(title = "用户管理", businessType = BusinessType.IMPORT) |
| | | @PostMapping("/importData") |
| | | public AjaxResult importData(@RequestParam("excelImport") MultipartFile file) throws Exception |
| | | { |
| | | ExcelUtil<ZfEvent> util = new ExcelUtil<>(ZfEvent.class); |
| | | List<ZfEvent> eventList = util.importExcel(file.getInputStream()); |
| | | log.info("家庭大事件列表为:{}",eventList); |
| | | |
| | | if (zfEventService.saveBatch(eventList)) { |
| | | return AjaxResult.success("导入数据成功"); |
| | | } |
| | | return AjaxResult.error("导入数据失败"); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 获取家庭大事件记录详细信息 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(zfEventService.getById(id)); |
| | | } |
| | | // |
| | | /** |
| | | * 新增家庭大事件记录 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:add')") |
| | | @Log(title = "家庭大事件记录", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ZfEvent zfEvent) |
| | | { |
| | | return toAjax(zfEventService.save(zfEvent)); |
| | | } |
| | | |
| | | /** |
| | | * 修改家庭大事件记录 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:edit')") |
| | | @Log(title = "家庭大事件记录", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ZfEvent zfEvent) |
| | | { |
| | | return toAjax(zfEventService.updateById(zfEvent)); |
| | | } |
| | | // |
| | | /** |
| | | * 批量删除家庭大事件记录 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:property:remove')") |
| | | @Log(title = "家庭大事件记录", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(zfEventService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠主人表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfMaster") |
| | | public class ZfMasterController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠基本信息 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/zfPet") |
| | | public class ZfPetController { |
| | | |
| | | } |
| | | |
New file |
| | |
| | | package com.ruoyi.web.controller.zhang; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.text.Convert; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.ServletUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.domain.ZfProperty; |
| | | import com.ruoyi.service.ZfPetNoteService; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠备忘录 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/family/zfPetNote") |
| | | public class ZfPetNoteController { |
| | | |
| | | @Resource |
| | | private ZfPetNoteService zfPetNoteService; |
| | | |
| | | // @GetMapping("/all") |
| | | // public AjaxResult listAll(ZfProperty zfProperty){ |
| | | // Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); |
| | | // Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | // return zfPropertyService.selectUserList(zfProperty, pageNum, pageSize); |
| | | // } |
| | | // |
| | | // |
| | | // /** |
| | | // * 导出家庭资产记录列表 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:export')") |
| | | // @Log(title = "家庭资产记录", businessType = BusinessType.EXPORT) |
| | | // @PostMapping("/export") |
| | | // public void export(HttpServletResponse response, ZfProperty zfProperty) |
| | | // { |
| | | // List<ZfProperty> list = zfPropertyService.selectByCondition(zfProperty); |
| | | // log.info("导出记录为:{}",list); |
| | | // ExcelUtil<ZfProperty> util = new ExcelUtil<ZfProperty>(ZfProperty.class); |
| | | // util.exportExcel(response, list, "家庭资产记录数据"); |
| | | // } |
| | | //// |
| | | // |
| | | // /** |
| | | // * 导入家庭资产记录列表 |
| | | // */ |
| | | // @Log(title = "用户管理", businessType = BusinessType.IMPORT) |
| | | // @PostMapping("/importData") |
| | | // public AjaxResult importData(@RequestParam("excelImport") MultipartFile file) throws Exception |
| | | // { |
| | | // ExcelUtil<ZfProperty> util = new ExcelUtil<>(ZfProperty.class); |
| | | // List<ZfProperty> propertyList = util.importExcel(file.getInputStream()); |
| | | // log.info("资产列表为:{}",propertyList); |
| | | // |
| | | // if (zfPropertyService.saveBatch(propertyList)) { |
| | | // return AjaxResult.success("导入数据成功"); |
| | | // } |
| | | // |
| | | // return AjaxResult.error("导入数据失败"); |
| | | // |
| | | // } |
| | | // |
| | | // |
| | | // /** |
| | | // * 获取家庭资产记录详细信息 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:query')") |
| | | // @GetMapping(value = "/{id}") |
| | | // public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | // { |
| | | // return success(zfPropertyService.getById(id)); |
| | | // } |
| | | //// |
| | | // /** |
| | | // * 新增家庭资产记录 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:add')") |
| | | // @Log(title = "家庭资产记录", businessType = BusinessType.INSERT) |
| | | // @PostMapping |
| | | // public AjaxResult add(@RequestBody ZfProperty zfProperty) |
| | | // { |
| | | // return toAjax(zfPropertyService.save(zfProperty)); |
| | | // } |
| | | // |
| | | // /** |
| | | // * 修改家庭资产记录 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:edit')") |
| | | // @Log(title = "家庭资产记录", businessType = BusinessType.UPDATE) |
| | | // @PutMapping |
| | | // public AjaxResult edit(@RequestBody ZfProperty zfProperty) |
| | | // { |
| | | // return toAjax(zfPropertyService.updateById(zfProperty)); |
| | | // } |
| | | //// |
| | | // /** |
| | | // * 批量删除家庭资产记录 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:remove')") |
| | | // @Log(title = "家庭资产记录", businessType = BusinessType.DELETE) |
| | | // @DeleteMapping("/{ids}") |
| | | // public AjaxResult remove(@PathVariable Long[] ids) |
| | | // { |
| | | // return toAjax(zfPropertyService.removeByIds(Arrays.asList(ids))); |
| | | // } |
| | | |
| | | } |
| | | |
| | |
| | | @Autowired |
| | | private IZfPropertyService zfPropertyService; |
| | | |
| | | @Autowired |
| | | private TokenService tokenService; |
| | | |
| | | @GetMapping("/all") |
| | | public AjaxResult listAll(ZfProperty zfProperty){ |
| | | Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); |
| | | Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); |
| | | return zfPropertyService.selectUserList(zfProperty, pageNum, pageSize); |
| | | return zfPropertyService.selectPropertyList(zfProperty, pageNum, pageSize); |
| | | } |
| | | |
| | | // /** |
| | | // * 查询家庭资产记录列表 |
| | | // */ |
| | | //// @PreAuthorize("@ss.hasPermi('system:property:list')") |
| | | // @GetMapping("/list") |
| | | // public TableDataInfo list(ZfProperty zfProperty) |
| | | // { |
| | | // startPage(); |
| | | // List<ZfProperty> list = zfPropertyService.selectZfPropertyList(zfProperty); |
| | | // return getDataTable(list); |
| | | // } |
| | | |
| | | /** |
| | | * 导出家庭资产记录列表 |
New file |
| | |
| | | package com.ruoyi.web.exception; |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.ExceptionHandler; |
| | | import org.springframework.web.bind.annotation.RestControllerAdvice; |
| | | |
| | | /** |
| | | * @Version 1.0 |
| | | * @Author Jin_quan Ou |
| | | * @Date 2023-03-23 18:40 |
| | | */ |
| | | @Slf4j |
| | | //@RestControllerAdvice |
| | | public class MyExceptionHandler { |
| | | |
| | | @ExceptionHandler(Exception.class) |
| | | public AjaxResult error(Exception e){ |
| | | log.error("未知异常:{}",e.getMessage()); |
| | | return AjaxResult.error("未知异常,请联系管理员"); |
| | | } |
| | | } |
| | |
| | | # 令牌密钥 |
| | | secret: abcdefghijklmnopqrstuvwxyz |
| | | # 令牌有效期(默认30分钟) |
| | | expireTime: 60 |
| | | expireTime: 100 |
| | | |
| | | # MyBatis配置 |
| | | mybatis-plus: |
New file |
| | |
| | | package com.ruoyi; |
| | | |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.service.ZfEventService; |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Random; |
| | | |
| | | /** |
| | | * @Version 1.0 |
| | | * @Author Jin_quan Ou |
| | | * @Date 2023-03-22 19:11 |
| | | */ |
| | | @SpringBootTest |
| | | public class insertData { |
| | | |
| | | @Autowired |
| | | private ZfEventService zfEventService; |
| | | |
| | | @Test |
| | | public void insert(){ |
| | | List<String> people = Arrays.asList("张三,张强,张力", "张萌,张蒙", "张旺,张点,张可", "张章,张常", "张璇,张为,张强,张力"); |
| | | List<String> address = Arrays.asList("花园", "海滩", "公园", "游乐场", "田园", "农庄"); |
| | | |
| | | ZfEvent zfEvent = null; |
| | | |
| | | for (int i = 0; i < 200; i++) { |
| | | zfEvent=new ZfEvent(); |
| | | int peopleRandom = new Random().nextInt(5);//0-4的随机数 |
| | | int addressRandom = new Random().nextInt(6);//0-5的随机数 |
| | | |
| | | String base="abcdefghijklmnopqrstuvwxyz"; |
| | | int strRandom1 = new Random().nextInt(16);//0-15的随机数 |
| | | int strRandom2 = new Random().nextInt(16);//0-15的随机数 |
| | | String title=base.substring(strRandom1,strRandom1+8); |
| | | String remark=base.substring(strRandom2,strRandom2+8); |
| | | |
| | | zfEvent.setPeople(people.get(peopleRandom)); |
| | | zfEvent.setAddress(address.get(addressRandom)); |
| | | zfEvent.setTitle(title); |
| | | zfEvent.setRemark(remark); |
| | | zfEventService.save(zfEvent); |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.common.utils; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | |
| | | import java.util.HashMap; |
| | | |
| | | /** |
| | | * @Version 1.0 |
| | | * @Author Jin_quan Ou |
| | | * @Date 2023-03-22 17:08 |
| | | */ |
| | | public class MapUtils { |
| | | |
| | | public static HashMap<String,Object> getResult(Page pageResult){ |
| | | HashMap<String, Object> data = new HashMap<>(); |
| | | data.put("data",pageResult.getRecords()); |
| | | data.put("total",pageResult.getTotal()); |
| | | data.put("pageNum",pageResult.getCurrent()); |
| | | data.put("pageSize",pageResult.getSize()); |
| | | return data; |
| | | } |
| | | } |
| | |
| | | package com.ruoyi.framework.web.service; |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysRole; |
| | | import com.ruoyi.mapper.ZfRegisterMapper; |
| | | import com.ruoyi.system.domain.SysUserRole; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import com.ruoyi.common.constant.CacheConstants; |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 出国(境)情况 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_abroad") |
| | | public class ZAbroad implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 目的地 |
| | | */ |
| | | private String destination; |
| | | |
| | | /** |
| | | * 到目的地事由 |
| | | */ |
| | | private String cause; |
| | | |
| | | /** |
| | | * 起始日期 |
| | | */ |
| | | private LocalDateTime startDate; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getDestination() { |
| | | return destination; |
| | | } |
| | | |
| | | public void setDestination(String destination) { |
| | | this.destination = destination; |
| | | } |
| | | |
| | | public String getCause() { |
| | | return cause; |
| | | } |
| | | |
| | | public void setCause(String cause) { |
| | | this.cause = cause; |
| | | } |
| | | |
| | | public LocalDateTime getStartDate() { |
| | | return startDate; |
| | | } |
| | | |
| | | public void setStartDate(LocalDateTime startDate) { |
| | | this.startDate = startDate; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZAbroad{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", destination=" + destination + |
| | | ", cause=" + cause + |
| | | ", startDate=" + startDate + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_autobiography") |
| | | public class ZAutobiography implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 婴儿期 |
| | | */ |
| | | private String infancy; |
| | | |
| | | /** |
| | | * 幼儿期 |
| | | */ |
| | | private String childhood; |
| | | |
| | | /** |
| | | * 小学 |
| | | */ |
| | | private String pri; |
| | | |
| | | /** |
| | | * 初中 |
| | | */ |
| | | private String mid; |
| | | |
| | | /** |
| | | * 高中 |
| | | */ |
| | | private String senior; |
| | | |
| | | /** |
| | | * 大学 |
| | | */ |
| | | private String college; |
| | | |
| | | /** |
| | | * 研究生 |
| | | */ |
| | | private String postgraduate; |
| | | |
| | | /** |
| | | * 工作 |
| | | */ |
| | | private String job; |
| | | |
| | | /** |
| | | * 结婚 |
| | | */ |
| | | private String marry; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getInfancy() { |
| | | return infancy; |
| | | } |
| | | |
| | | public void setInfancy(String infancy) { |
| | | this.infancy = infancy; |
| | | } |
| | | |
| | | public String getChildhood() { |
| | | return childhood; |
| | | } |
| | | |
| | | public void setChildhood(String childhood) { |
| | | this.childhood = childhood; |
| | | } |
| | | |
| | | public String getPri() { |
| | | return pri; |
| | | } |
| | | |
| | | public void setPri(String pri) { |
| | | this.pri = pri; |
| | | } |
| | | |
| | | public String getMid() { |
| | | return mid; |
| | | } |
| | | |
| | | public void setMid(String mid) { |
| | | this.mid = mid; |
| | | } |
| | | |
| | | public String getSenior() { |
| | | return senior; |
| | | } |
| | | |
| | | public void setSenior(String senior) { |
| | | this.senior = senior; |
| | | } |
| | | |
| | | public String getCollege() { |
| | | return college; |
| | | } |
| | | |
| | | public void setCollege(String college) { |
| | | this.college = college; |
| | | } |
| | | |
| | | public String getPostgraduate() { |
| | | return postgraduate; |
| | | } |
| | | |
| | | public void setPostgraduate(String postgraduate) { |
| | | this.postgraduate = postgraduate; |
| | | } |
| | | |
| | | public String getJob() { |
| | | return job; |
| | | } |
| | | |
| | | public void setJob(String job) { |
| | | this.job = job; |
| | | } |
| | | |
| | | public String getMarry() { |
| | | return marry; |
| | | } |
| | | |
| | | public void setMarry(String marry) { |
| | | this.marry = marry; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZAutobiography{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", infancy=" + infancy + |
| | | ", childhood=" + childhood + |
| | | ", pri=" + pri + |
| | | ", mid=" + mid + |
| | | ", senior=" + senior + |
| | | ", college=" + college + |
| | | ", postgraduate=" + postgraduate + |
| | | ", job=" + job + |
| | | ", marry=" + marry + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 持有出入境证件情况 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_certificate") |
| | | public class ZCertificate implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 证件名称 |
| | | */ |
| | | private String cerName; |
| | | |
| | | /** |
| | | * 证件号码 |
| | | */ |
| | | private String idNo; |
| | | |
| | | /** |
| | | * 有效期 |
| | | */ |
| | | private LocalDateTime validityDate; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getCerName() { |
| | | return cerName; |
| | | } |
| | | |
| | | public void setCerName(String cerName) { |
| | | this.cerName = cerName; |
| | | } |
| | | |
| | | public String getIdNo() { |
| | | return idNo; |
| | | } |
| | | |
| | | public void setIdNo(String idNo) { |
| | | this.idNo = idNo; |
| | | } |
| | | |
| | | public LocalDateTime getValidityDate() { |
| | | return validityDate; |
| | | } |
| | | |
| | | public void setValidityDate(LocalDateTime validityDate) { |
| | | this.validityDate = validityDate; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZCertificate{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", cerName=" + cerName + |
| | | ", idNo=" + idNo + |
| | | ", validityDate=" + validityDate + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_child") |
| | | public class ZChild implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 配偶id |
| | | */ |
| | | private Integer spouseId; |
| | | |
| | | /** |
| | | * 孩子姓名 |
| | | */ |
| | | private String childName; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Integer getSpouseId() { |
| | | return spouseId; |
| | | } |
| | | |
| | | public void setSpouseId(Integer spouseId) { |
| | | this.spouseId = spouseId; |
| | | } |
| | | |
| | | public String getChildName() { |
| | | return childName; |
| | | } |
| | | |
| | | public void setChildName(String childName) { |
| | | this.childName = childName; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZChild{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", spouseId=" + spouseId + |
| | | ", childName=" + childName + |
| | | "}"; |
| | | } |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Data |
| | | @ToString |
| | | @TableName("z_dict") |
| | | public class ZDict implements Serializable { |
| | | |
| | |
| | | */ |
| | | private String itemValues; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getItemValues() { |
| | | return itemValues; |
| | | } |
| | | |
| | | public void setItemValues(String itemValues) { |
| | | this.itemValues = itemValues; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZDict{" + |
| | | "id=" + id + |
| | | ", name=" + name + |
| | | ", itemValues=" + itemValues + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_experience") |
| | | public class ZExperience implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 主要学习经历、工作单位及任职情况 |
| | | */ |
| | | private String content; |
| | | |
| | | /** |
| | | * 起始日期 |
| | | */ |
| | | private LocalDateTime startDate; |
| | | |
| | | /** |
| | | * 证明人名字 |
| | | */ |
| | | private String witness; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public LocalDateTime getStartDate() { |
| | | return startDate; |
| | | } |
| | | |
| | | public void setStartDate(LocalDateTime startDate) { |
| | | this.startDate = startDate; |
| | | } |
| | | |
| | | public String getWitness() { |
| | | return witness; |
| | | } |
| | | |
| | | public void setWitness(String witness) { |
| | | this.witness = witness; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZExperience{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", content=" + content + |
| | | ", startDate=" + startDate + |
| | | ", witness=" + witness + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表基础信息 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_health_base") |
| | | public class ZHealthBase implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String nickName; |
| | | |
| | | /** |
| | | * 性别,0:女、1:男 |
| | | */ |
| | | private Integer sex; |
| | | |
| | | /** |
| | | * 文化程度 |
| | | */ |
| | | private String education; |
| | | |
| | | /** |
| | | * 职业 |
| | | */ |
| | | private String occupation; |
| | | |
| | | /** |
| | | * 手机号 |
| | | */ |
| | | private String phoneNumber; |
| | | |
| | | /** |
| | | * 邮箱 |
| | | */ |
| | | private String email; |
| | | |
| | | /** |
| | | * 住址 |
| | | */ |
| | | private String address; |
| | | |
| | | /** |
| | | * 血型 |
| | | */ |
| | | private Integer bloodType; |
| | | |
| | | /** |
| | | * 过敏史 |
| | | */ |
| | | private Integer allergy; |
| | | |
| | | /** |
| | | * 遗传病史 |
| | | */ |
| | | private Integer heritableDisease; |
| | | |
| | | /** |
| | | * 常用药物 |
| | | */ |
| | | private String medicinal; |
| | | |
| | | /** |
| | | * 目前基础病 |
| | | */ |
| | | private String baseDisease; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getNickName() { |
| | | return nickName; |
| | | } |
| | | |
| | | public void setNickName(String nickName) { |
| | | this.nickName = nickName; |
| | | } |
| | | |
| | | public Integer getSex() { |
| | | return sex; |
| | | } |
| | | |
| | | public void setSex(Integer sex) { |
| | | this.sex = sex; |
| | | } |
| | | |
| | | public String getEducation() { |
| | | return education; |
| | | } |
| | | |
| | | public void setEducation(String education) { |
| | | this.education = education; |
| | | } |
| | | |
| | | public String getOccupation() { |
| | | return occupation; |
| | | } |
| | | |
| | | public void setOccupation(String occupation) { |
| | | this.occupation = occupation; |
| | | } |
| | | |
| | | public String getPhoneNumber() { |
| | | return phoneNumber; |
| | | } |
| | | |
| | | public void setPhoneNumber(String phoneNumber) { |
| | | this.phoneNumber = phoneNumber; |
| | | } |
| | | |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | | this.email = email; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public Integer getBloodType() { |
| | | return bloodType; |
| | | } |
| | | |
| | | public void setBloodType(Integer bloodType) { |
| | | this.bloodType = bloodType; |
| | | } |
| | | |
| | | public Integer getAllergy() { |
| | | return allergy; |
| | | } |
| | | |
| | | public void setAllergy(Integer allergy) { |
| | | this.allergy = allergy; |
| | | } |
| | | |
| | | public Integer getHeritableDisease() { |
| | | return heritableDisease; |
| | | } |
| | | |
| | | public void setHeritableDisease(Integer heritableDisease) { |
| | | this.heritableDisease = heritableDisease; |
| | | } |
| | | |
| | | public String getMedicinal() { |
| | | return medicinal; |
| | | } |
| | | |
| | | public void setMedicinal(String medicinal) { |
| | | this.medicinal = medicinal; |
| | | } |
| | | |
| | | public String getBaseDisease() { |
| | | return baseDisease; |
| | | } |
| | | |
| | | public void setBaseDisease(String baseDisease) { |
| | | this.baseDisease = baseDisease; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZHealthBase{" + |
| | | "id=" + id + |
| | | ", nickName=" + nickName + |
| | | ", sex=" + sex + |
| | | ", education=" + education + |
| | | ", occupation=" + occupation + |
| | | ", phoneNumber=" + phoneNumber + |
| | | ", email=" + email + |
| | | ", address=" + address + |
| | | ", bloodType=" + bloodType + |
| | | ", allergy=" + allergy + |
| | | ", heritableDisease=" + heritableDisease + |
| | | ", medicinal=" + medicinal + |
| | | ", baseDisease=" + baseDisease + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表的生活情况 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_health_habit") |
| | | public class ZHealthHabit implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 健康表所属者id |
| | | */ |
| | | private Integer hid; |
| | | |
| | | /** |
| | | * 饮食喜好与忌口 |
| | | */ |
| | | private String eat; |
| | | |
| | | /** |
| | | * 爱好与嗜好 |
| | | */ |
| | | private String hobby; |
| | | |
| | | /** |
| | | * 睡眠状态 |
| | | */ |
| | | private String sleep; |
| | | |
| | | /** |
| | | * 大便状态 |
| | | */ |
| | | private String bigEgestion; |
| | | |
| | | /** |
| | | * 小便状态 |
| | | */ |
| | | private String smallEgestion; |
| | | |
| | | /** |
| | | * 饮食习惯 |
| | | */ |
| | | private String eatType; |
| | | |
| | | /** |
| | | * 生活事件 |
| | | */ |
| | | private String lifeType; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getHid() { |
| | | return hid; |
| | | } |
| | | |
| | | public void setHid(Integer hid) { |
| | | this.hid = hid; |
| | | } |
| | | |
| | | public String getEat() { |
| | | return eat; |
| | | } |
| | | |
| | | public void setEat(String eat) { |
| | | this.eat = eat; |
| | | } |
| | | |
| | | public String getHobby() { |
| | | return hobby; |
| | | } |
| | | |
| | | public void setHobby(String hobby) { |
| | | this.hobby = hobby; |
| | | } |
| | | |
| | | public String getSleep() { |
| | | return sleep; |
| | | } |
| | | |
| | | public void setSleep(String sleep) { |
| | | this.sleep = sleep; |
| | | } |
| | | |
| | | public String getBigEgestion() { |
| | | return bigEgestion; |
| | | } |
| | | |
| | | public void setBigEgestion(String bigEgestion) { |
| | | this.bigEgestion = bigEgestion; |
| | | } |
| | | |
| | | public String getSmallEgestion() { |
| | | return smallEgestion; |
| | | } |
| | | |
| | | public void setSmallEgestion(String smallEgestion) { |
| | | this.smallEgestion = smallEgestion; |
| | | } |
| | | |
| | | public String getEatType() { |
| | | return eatType; |
| | | } |
| | | |
| | | public void setEatType(String eatType) { |
| | | this.eatType = eatType; |
| | | } |
| | | |
| | | public String getLifeType() { |
| | | return lifeType; |
| | | } |
| | | |
| | | public void setLifeType(String lifeType) { |
| | | this.lifeType = lifeType; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZHealthHabit{" + |
| | | "id=" + id + |
| | | ", hid=" + hid + |
| | | ", eat=" + eat + |
| | | ", hobby=" + hobby + |
| | | ", sleep=" + sleep + |
| | | ", bigEgestion=" + bigEgestion + |
| | | ", smallEgestion=" + smallEgestion + |
| | | ", eatType=" + eatType + |
| | | ", lifeType=" + lifeType + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 身体状况疾病表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_health_info") |
| | | public class ZHealthInfo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 健康表所属者id |
| | | */ |
| | | private Integer hid; |
| | | |
| | | /** |
| | | * 体温 |
| | | */ |
| | | private String temperature; |
| | | |
| | | /** |
| | | * 脉搏 |
| | | */ |
| | | private String pulse; |
| | | |
| | | /** |
| | | * 呼吸 |
| | | */ |
| | | private String breathe; |
| | | |
| | | /** |
| | | * 血压 |
| | | */ |
| | | private String bloodPressure; |
| | | |
| | | /** |
| | | * 体重kg |
| | | */ |
| | | private String weight; |
| | | |
| | | /** |
| | | * 四肢活动情况 |
| | | */ |
| | | private String movement; |
| | | |
| | | /** |
| | | * 皮肤情况 |
| | | */ |
| | | private String skinType; |
| | | |
| | | /** |
| | | * 心理状态 |
| | | */ |
| | | private String psychologyType; |
| | | |
| | | /** |
| | | * 面对疾病的态度 |
| | | */ |
| | | private String attitude; |
| | | |
| | | /** |
| | | * 全身营养状况 |
| | | */ |
| | | private String nutrition; |
| | | |
| | | /** |
| | | * 脑血管疾病 |
| | | */ |
| | | private String brain; |
| | | |
| | | /** |
| | | * 心脏疾病 |
| | | */ |
| | | private String heart; |
| | | |
| | | /** |
| | | * 血管疾病 |
| | | */ |
| | | private String blood; |
| | | |
| | | /** |
| | | * 消化系统疾病 |
| | | */ |
| | | private String digestiveSystem; |
| | | |
| | | /** |
| | | * 呼吸系统疾病 |
| | | */ |
| | | private String breathSystem; |
| | | |
| | | /** |
| | | * 肾脏疾病 |
| | | */ |
| | | private String kidney; |
| | | |
| | | /** |
| | | * 其他疾病 |
| | | */ |
| | | private String other; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getHid() { |
| | | return hid; |
| | | } |
| | | |
| | | public void setHid(Integer hid) { |
| | | this.hid = hid; |
| | | } |
| | | |
| | | public String getTemperature() { |
| | | return temperature; |
| | | } |
| | | |
| | | public void setTemperature(String temperature) { |
| | | this.temperature = temperature; |
| | | } |
| | | |
| | | public String getPulse() { |
| | | return pulse; |
| | | } |
| | | |
| | | public void setPulse(String pulse) { |
| | | this.pulse = pulse; |
| | | } |
| | | |
| | | public String getBreathe() { |
| | | return breathe; |
| | | } |
| | | |
| | | public void setBreathe(String breathe) { |
| | | this.breathe = breathe; |
| | | } |
| | | |
| | | public String getBloodPressure() { |
| | | return bloodPressure; |
| | | } |
| | | |
| | | public void setBloodPressure(String bloodPressure) { |
| | | this.bloodPressure = bloodPressure; |
| | | } |
| | | |
| | | public String getWeight() { |
| | | return weight; |
| | | } |
| | | |
| | | public void setWeight(String weight) { |
| | | this.weight = weight; |
| | | } |
| | | |
| | | public String getMovement() { |
| | | return movement; |
| | | } |
| | | |
| | | public void setMovement(String movement) { |
| | | this.movement = movement; |
| | | } |
| | | |
| | | public String getSkinType() { |
| | | return skinType; |
| | | } |
| | | |
| | | public void setSkinType(String skinType) { |
| | | this.skinType = skinType; |
| | | } |
| | | |
| | | public String getPsychologyType() { |
| | | return psychologyType; |
| | | } |
| | | |
| | | public void setPsychologyType(String psychologyType) { |
| | | this.psychologyType = psychologyType; |
| | | } |
| | | |
| | | public String getAttitude() { |
| | | return attitude; |
| | | } |
| | | |
| | | public void setAttitude(String attitude) { |
| | | this.attitude = attitude; |
| | | } |
| | | |
| | | public String getNutrition() { |
| | | return nutrition; |
| | | } |
| | | |
| | | public void setNutrition(String nutrition) { |
| | | this.nutrition = nutrition; |
| | | } |
| | | |
| | | public String getBrain() { |
| | | return brain; |
| | | } |
| | | |
| | | public void setBrain(String brain) { |
| | | this.brain = brain; |
| | | } |
| | | |
| | | public String getHeart() { |
| | | return heart; |
| | | } |
| | | |
| | | public void setHeart(String heart) { |
| | | this.heart = heart; |
| | | } |
| | | |
| | | public String getBlood() { |
| | | return blood; |
| | | } |
| | | |
| | | public void setBlood(String blood) { |
| | | this.blood = blood; |
| | | } |
| | | |
| | | public String getDigestiveSystem() { |
| | | return digestiveSystem; |
| | | } |
| | | |
| | | public void setDigestiveSystem(String digestiveSystem) { |
| | | this.digestiveSystem = digestiveSystem; |
| | | } |
| | | |
| | | public String getBreathSystem() { |
| | | return breathSystem; |
| | | } |
| | | |
| | | public void setBreathSystem(String breathSystem) { |
| | | this.breathSystem = breathSystem; |
| | | } |
| | | |
| | | public String getKidney() { |
| | | return kidney; |
| | | } |
| | | |
| | | public void setKidney(String kidney) { |
| | | this.kidney = kidney; |
| | | } |
| | | |
| | | public String getOther() { |
| | | return other; |
| | | } |
| | | |
| | | public void setOther(String other) { |
| | | this.other = other; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZHealthInfo{" + |
| | | "id=" + id + |
| | | ", hid=" + hid + |
| | | ", temperature=" + temperature + |
| | | ", pulse=" + pulse + |
| | | ", breathe=" + breathe + |
| | | ", bloodPressure=" + bloodPressure + |
| | | ", weight=" + weight + |
| | | ", movement=" + movement + |
| | | ", skinType=" + skinType + |
| | | ", psychologyType=" + psychologyType + |
| | | ", attitude=" + attitude + |
| | | ", nutrition=" + nutrition + |
| | | ", brain=" + brain + |
| | | ", heart=" + heart + |
| | | ", blood=" + blood + |
| | | ", digestiveSystem=" + digestiveSystem + |
| | | ", breathSystem=" + breathSystem + |
| | | ", kidney=" + kidney + |
| | | ", other=" + other + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 证件、荣誉、资质表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_honor") |
| | | public class ZHonor implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 类别,0:证件、1:荣誉、2:资质 |
| | | */ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 名称 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 证号/专业 |
| | | */ |
| | | private String idNo; |
| | | |
| | | /** |
| | | * 级别 |
| | | */ |
| | | private String grade; |
| | | |
| | | /** |
| | | * 有效期 |
| | | */ |
| | | private LocalDateTime validityDate; |
| | | |
| | | /** |
| | | * 获得时间 |
| | | */ |
| | | private LocalDateTime getDate; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getIdNo() { |
| | | return idNo; |
| | | } |
| | | |
| | | public void setIdNo(String idNo) { |
| | | this.idNo = idNo; |
| | | } |
| | | |
| | | public String getGrade() { |
| | | return grade; |
| | | } |
| | | |
| | | public void setGrade(String grade) { |
| | | this.grade = grade; |
| | | } |
| | | |
| | | public LocalDateTime getValidityDate() { |
| | | return validityDate; |
| | | } |
| | | |
| | | public void setValidityDate(LocalDateTime validityDate) { |
| | | this.validityDate = validityDate; |
| | | } |
| | | |
| | | public LocalDateTime getGetDate() { |
| | | return getDate; |
| | | } |
| | | |
| | | public void setGetDate(LocalDateTime getDate) { |
| | | this.getDate = getDate; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZHonor{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", type=" + type + |
| | | ", name=" + name + |
| | | ", idNo=" + idNo + |
| | | ", grade=" + grade + |
| | | ", validityDate=" + validityDate + |
| | | ", getDate=" + getDate + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_idea") |
| | | public class ZIdea implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 理想标题/百年愿望 |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * 始于何因 |
| | | */ |
| | | private String cause; |
| | | |
| | | /** |
| | | * 受惠人名字 |
| | | */ |
| | | private String beneficiary; |
| | | |
| | | /** |
| | | * 继承人名字 |
| | | */ |
| | | private String heir; |
| | | |
| | | /** |
| | | * 实现难度 |
| | | */ |
| | | private String difficulty; |
| | | |
| | | /** |
| | | * 是否依旧有效 |
| | | */ |
| | | private Integer isEffective; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getCause() { |
| | | return cause; |
| | | } |
| | | |
| | | public void setCause(String cause) { |
| | | this.cause = cause; |
| | | } |
| | | |
| | | public String getBeneficiary() { |
| | | return beneficiary; |
| | | } |
| | | |
| | | public void setBeneficiary(String beneficiary) { |
| | | this.beneficiary = beneficiary; |
| | | } |
| | | |
| | | public String getHeir() { |
| | | return heir; |
| | | } |
| | | |
| | | public void setHeir(String heir) { |
| | | this.heir = heir; |
| | | } |
| | | |
| | | public String getDifficulty() { |
| | | return difficulty; |
| | | } |
| | | |
| | | public void setDifficulty(String difficulty) { |
| | | this.difficulty = difficulty; |
| | | } |
| | | |
| | | public Integer getIsEffective() { |
| | | return isEffective; |
| | | } |
| | | |
| | | public void setIsEffective(Integer isEffective) { |
| | | this.isEffective = isEffective; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZIdea{" + |
| | | "id=" + id + |
| | | ", title=" + title + |
| | | ", cause=" + cause + |
| | | ", beneficiary=" + beneficiary + |
| | | ", heir=" + heir + |
| | | ", difficulty=" + difficulty + |
| | | ", isEffective=" + isEffective + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDate; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @Version 1.0 |
| | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "user_id", type = IdType.AUTO) |
| | | private Integer userId; |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 姓名 |
| | | */ |
| | | @Excel(name="姓名") |
| | | private String nickName; |
| | | |
| | | /** |
| | | * 曾用名 |
| | | */ |
| | | @Excel(name="曾用名") |
| | | private String oldName; |
| | | |
| | | /** |
| | | * 性别 |
| | | */ |
| | | @Excel(name="性别",readConverterExp = "0=女,1=男") |
| | | private Integer sex; |
| | | |
| | | /** |
| | | * 国籍 |
| | | */ |
| | | @Excel(name="国籍") |
| | | private String nationality; |
| | | |
| | | /** |
| | | * 民族 |
| | | */ |
| | | @Excel(name="民族") |
| | | private String nation; |
| | | |
| | | /** |
| | | * 婚姻状况--0:未婚,1:已婚,2:离婚 |
| | | * 婚姻状况 0:未婚,1:已婚,2:离婚 |
| | | */ |
| | | @Excel(name="婚姻状况",readConverterExp = "0=未婚,1=已婚,2=离婚") |
| | | private Integer maritalStatus; |
| | | |
| | | /** |
| | | * 政治面貌 |
| | | */ |
| | | @Excel(name="政治面貌") |
| | | private String politicalOutlook; |
| | | |
| | | /** |
| | | * 电话号码 |
| | | */ |
| | | @Excel(name="电话号码") |
| | | private String phoneNumber; |
| | | |
| | | /** |
| | | * 身份证号 |
| | | */ |
| | | @Excel(name="身份证号") |
| | | private String idNum; |
| | | |
| | | /** |
| | | * 户籍地址 |
| | | */ |
| | | @Excel(name="户籍地址") |
| | | private String locationAddress; |
| | | |
| | | /** |
| | | * 常住地址 |
| | | */ |
| | | @Excel(name="常住地址") |
| | | private String alwaysAddress; |
| | | |
| | | /** |
| | | * 户籍地公安机关 |
| | | */ |
| | | @Excel(name="户籍地公安机关") |
| | | private String locationPolice; |
| | | |
| | | /** |
| | | * 常住地公安机关 |
| | | */ |
| | | @Excel(name="常住地公安机关") |
| | | private String alwaysPolice; |
| | | |
| | | /** |
| | | * 所在单位/学校 |
| | | */ |
| | | @Excel(name="所在单位/学校") |
| | | private String unit; |
| | | |
| | | /** |
| | | * 职务/身份 |
| | | */ |
| | | @Excel(name="职务/身份") |
| | | private String position; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 出生年月日 |
| | | */ |
| | | private LocalDate birth; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "出生时间", dateFormat = "yyyy-MM-dd") |
| | | private Date birth; |
| | | |
| | | /** |
| | | * 个人背景图片、视频 |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 存放登录信息的用户表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_login_user") |
| | | public class ZLoginUser implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | @TableId(value = "user_id", type = IdType.AUTO) |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 用于登录的用户名 |
| | | */ |
| | | private String username; |
| | | |
| | | /** |
| | | * 密码 |
| | | */ |
| | | private String password; |
| | | |
| | | /** |
| | | * 用户可登录的状态 |
| | | */ |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 注册时间 |
| | | */ |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * 更新用户登录信息时间 |
| | | */ |
| | | private LocalDateTime updateTime; |
| | | |
| | | /** |
| | | * 上次登陆时间 |
| | | */ |
| | | private LocalDateTime loginTime; |
| | | |
| | | /** |
| | | * 要写的一些备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getUsername() { |
| | | return username; |
| | | } |
| | | |
| | | public void setUsername(String username) { |
| | | this.username = username; |
| | | } |
| | | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | | |
| | | public void setPassword(String password) { |
| | | this.password = password; |
| | | } |
| | | |
| | | public Integer getStatus() { |
| | | return status; |
| | | } |
| | | |
| | | public void setStatus(Integer status) { |
| | | this.status = status; |
| | | } |
| | | |
| | | public LocalDateTime getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(LocalDateTime createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public LocalDateTime getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(LocalDateTime updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public LocalDateTime getLoginTime() { |
| | | return loginTime; |
| | | } |
| | | |
| | | public void setLoginTime(LocalDateTime loginTime) { |
| | | this.loginTime = loginTime; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZLoginUser{" + |
| | | "userId=" + userId + |
| | | ", username=" + username + |
| | | ", password=" + password + |
| | | ", status=" + status + |
| | | ", createTime=" + createTime + |
| | | ", updateTime=" + updateTime + |
| | | ", loginTime=" + loginTime + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_marry") |
| | | public class ZMarry implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 配偶id |
| | | */ |
| | | private Integer spouseId; |
| | | |
| | | /** |
| | | * 结婚时间 |
| | | */ |
| | | private LocalDateTime marryDate; |
| | | |
| | | /** |
| | | * 生育情况,0:未生育、1:在孕、2:已生育 |
| | | */ |
| | | private Integer bearStatus; |
| | | |
| | | /** |
| | | * 是否领取计划生育服务手册 |
| | | */ |
| | | private Integer isJhsyfwsc; |
| | | |
| | | /** |
| | | * 领取计划生育服务手册时间 |
| | | */ |
| | | private LocalDateTime getJhsyfwscDate; |
| | | |
| | | /** |
| | | * 是否领取独生子女证 |
| | | */ |
| | | private Integer isDsznz; |
| | | |
| | | /** |
| | | * 领取独生子女证时间 |
| | | */ |
| | | private LocalDateTime getDsznzDate; |
| | | |
| | | /** |
| | | * 需声明的情况 |
| | | */ |
| | | private String content; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | /** |
| | | * 记录是否被删除,有个查看过往史的功能 |
| | | */ |
| | | private Integer isDelete; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Integer getSpouseId() { |
| | | return spouseId; |
| | | } |
| | | |
| | | public void setSpouseId(Integer spouseId) { |
| | | this.spouseId = spouseId; |
| | | } |
| | | |
| | | public LocalDateTime getMarryDate() { |
| | | return marryDate; |
| | | } |
| | | |
| | | public void setMarryDate(LocalDateTime marryDate) { |
| | | this.marryDate = marryDate; |
| | | } |
| | | |
| | | public Integer getBearStatus() { |
| | | return bearStatus; |
| | | } |
| | | |
| | | public void setBearStatus(Integer bearStatus) { |
| | | this.bearStatus = bearStatus; |
| | | } |
| | | |
| | | public Integer getIsJhsyfwsc() { |
| | | return isJhsyfwsc; |
| | | } |
| | | |
| | | public void setIsJhsyfwsc(Integer isJhsyfwsc) { |
| | | this.isJhsyfwsc = isJhsyfwsc; |
| | | } |
| | | |
| | | public LocalDateTime getGetJhsyfwscDate() { |
| | | return getJhsyfwscDate; |
| | | } |
| | | |
| | | public void setGetJhsyfwscDate(LocalDateTime getJhsyfwscDate) { |
| | | this.getJhsyfwscDate = getJhsyfwscDate; |
| | | } |
| | | |
| | | public Integer getIsDsznz() { |
| | | return isDsznz; |
| | | } |
| | | |
| | | public void setIsDsznz(Integer isDsznz) { |
| | | this.isDsznz = isDsznz; |
| | | } |
| | | |
| | | public LocalDateTime getGetDsznzDate() { |
| | | return getDsznzDate; |
| | | } |
| | | |
| | | public void setGetDsznzDate(LocalDateTime getDsznzDate) { |
| | | this.getDsznzDate = getDsznzDate; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | public Integer getIsDelete() { |
| | | return isDelete; |
| | | } |
| | | |
| | | public void setIsDelete(Integer isDelete) { |
| | | this.isDelete = isDelete; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZMarry{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", spouseId=" + spouseId + |
| | | ", marryDate=" + marryDate + |
| | | ", bearStatus=" + bearStatus + |
| | | ", isJhsyfwsc=" + isJhsyfwsc + |
| | | ", getJhsyfwscDate=" + getJhsyfwscDate + |
| | | ", isDsznz=" + isDsznz + |
| | | ", getDsznzDate=" + getDsznzDate + |
| | | ", content=" + content + |
| | | ", remark=" + remark + |
| | | ", isDelete=" + isDelete + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 个人财产表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_property") |
| | | public class ZProperty implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 财产类别 |
| | | */ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 收支名称 |
| | | */ |
| | | private String incomeName; |
| | | |
| | | /** |
| | | * 金额 |
| | | */ |
| | | private Double price; |
| | | |
| | | /** |
| | | * 期限 |
| | | */ |
| | | private String timeLimit; |
| | | |
| | | /** |
| | | * 变更或注销 |
| | | */ |
| | | private String isChange; |
| | | |
| | | /** |
| | | * 产权 |
| | | */ |
| | | private String propertyRight; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getIncomeName() { |
| | | return incomeName; |
| | | } |
| | | |
| | | public void setIncomeName(String incomeName) { |
| | | this.incomeName = incomeName; |
| | | } |
| | | |
| | | public Double getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(Double price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public String getTimeLimit() { |
| | | return timeLimit; |
| | | } |
| | | |
| | | public void setTimeLimit(String timeLimit) { |
| | | this.timeLimit = timeLimit; |
| | | } |
| | | |
| | | public String getIsChange() { |
| | | return isChange; |
| | | } |
| | | |
| | | public void setIsChange(String isChange) { |
| | | this.isChange = isChange; |
| | | } |
| | | |
| | | public String getPropertyRight() { |
| | | return propertyRight; |
| | | } |
| | | |
| | | public void setPropertyRight(String propertyRight) { |
| | | this.propertyRight = propertyRight; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZProperty{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", type=" + type + |
| | | ", incomeName=" + incomeName + |
| | | ", price=" + price + |
| | | ", timeLimit=" + timeLimit + |
| | | ", isChange=" + isChange + |
| | | ", propertyRight=" + propertyRight + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 秘密记录表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_secret") |
| | | public class ZSecret implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * 秘密信息类别 |
| | | */ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 账号(含理财收益) |
| | | */ |
| | | private String accNo; |
| | | |
| | | /** |
| | | * 有效期 |
| | | */ |
| | | private LocalDateTime validityDate; |
| | | |
| | | /** |
| | | * 密码(存折和卡用逗号隔开) |
| | | */ |
| | | private String password; |
| | | |
| | | /** |
| | | * 是否开启指纹,0:否、1:是 |
| | | */ |
| | | private Integer isFinger; |
| | | |
| | | /** |
| | | * 是否开启人脸识别,0:否、1:是 |
| | | */ |
| | | private Integer isFace; |
| | | |
| | | /** |
| | | * 是否私有,0:否、1:是 |
| | | */ |
| | | private Integer isPrivate; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注信息 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public LocalDateTime getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(LocalDateTime createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getAccNo() { |
| | | return accNo; |
| | | } |
| | | |
| | | public void setAccNo(String accNo) { |
| | | this.accNo = accNo; |
| | | } |
| | | |
| | | public LocalDateTime getValidityDate() { |
| | | return validityDate; |
| | | } |
| | | |
| | | public void setValidityDate(LocalDateTime validityDate) { |
| | | this.validityDate = validityDate; |
| | | } |
| | | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | | |
| | | public void setPassword(String password) { |
| | | this.password = password; |
| | | } |
| | | |
| | | public Integer getIsFinger() { |
| | | return isFinger; |
| | | } |
| | | |
| | | public void setIsFinger(Integer isFinger) { |
| | | this.isFinger = isFinger; |
| | | } |
| | | |
| | | public Integer getIsFace() { |
| | | return isFace; |
| | | } |
| | | |
| | | public void setIsFace(Integer isFace) { |
| | | this.isFace = isFace; |
| | | } |
| | | |
| | | public Integer getIsPrivate() { |
| | | return isPrivate; |
| | | } |
| | | |
| | | public void setIsPrivate(Integer isPrivate) { |
| | | this.isPrivate = isPrivate; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZSecret{" + |
| | | "id=" + id + |
| | | ", createTime=" + createTime + |
| | | ", type=" + type + |
| | | ", accNo=" + accNo + |
| | | ", validityDate=" + validityDate + |
| | | ", password=" + password + |
| | | ", isFinger=" + isFinger + |
| | | ", isFace=" + isFace + |
| | | ", isPrivate=" + isPrivate + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_self_note") |
| | | public class ZSelfNote implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 地点 |
| | | */ |
| | | private String address; |
| | | |
| | | /** |
| | | * 时间 |
| | | */ |
| | | private LocalDateTime noteDate; |
| | | |
| | | /** |
| | | * 标题 |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public LocalDateTime getNoteDate() { |
| | | return noteDate; |
| | | } |
| | | |
| | | public void setNoteDate(LocalDateTime noteDate) { |
| | | this.noteDate = noteDate; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZSelfNote{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", address=" + address + |
| | | ", noteDate=" + noteDate + |
| | | ", title=" + title + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_stay_out") |
| | | public class ZStayOut implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | |
| | | /** |
| | | * 拥有外籍、境外永久居留权或者长期居留许可的情况 |
| | | */ |
| | | private String content; |
| | | |
| | | /** |
| | | * 证件号码 |
| | | */ |
| | | private String idNo; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getIdNo() { |
| | | return idNo; |
| | | } |
| | | |
| | | public void setIdNo(String idNo) { |
| | | this.idNo = idNo; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZStayOut{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", content=" + content + |
| | | ", idNo=" + idNo + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 旅行记录基本信息表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_travel_base") |
| | | public class ZTravelBase implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 地点 |
| | | */ |
| | | private String address; |
| | | |
| | | /** |
| | | * 所有参加本次旅行的人物,用逗号隔开 |
| | | */ |
| | | private String people; |
| | | |
| | | /** |
| | | * 旅行记录的标题 |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * 旅期 |
| | | */ |
| | | private String travelPeriod; |
| | | |
| | | /** |
| | | * 所持的证件,多个用逗号隔开 |
| | | */ |
| | | private String certificate; |
| | | |
| | | /** |
| | | * 本次旅行总费用 |
| | | */ |
| | | private Double totalPrice; |
| | | |
| | | /** |
| | | * 0:公费,1:自费 |
| | | */ |
| | | private Integer isSelf; |
| | | |
| | | /** |
| | | * 备注信息 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public String getPeople() { |
| | | return people; |
| | | } |
| | | |
| | | public void setPeople(String people) { |
| | | this.people = people; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getTravelPeriod() { |
| | | return travelPeriod; |
| | | } |
| | | |
| | | public void setTravelPeriod(String travelPeriod) { |
| | | this.travelPeriod = travelPeriod; |
| | | } |
| | | |
| | | public String getCertificate() { |
| | | return certificate; |
| | | } |
| | | |
| | | public void setCertificate(String certificate) { |
| | | this.certificate = certificate; |
| | | } |
| | | |
| | | public Double getTotalPrice() { |
| | | return totalPrice; |
| | | } |
| | | |
| | | public void setTotalPrice(Double totalPrice) { |
| | | this.totalPrice = totalPrice; |
| | | } |
| | | |
| | | public Integer getIsSelf() { |
| | | return isSelf; |
| | | } |
| | | |
| | | public void setIsSelf(Integer isSelf) { |
| | | this.isSelf = isSelf; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZTravelBase{" + |
| | | "id=" + id + |
| | | ", address=" + address + |
| | | ", people=" + people + |
| | | ", title=" + title + |
| | | ", travelPeriod=" + travelPeriod + |
| | | ", certificate=" + certificate + |
| | | ", totalPrice=" + totalPrice + |
| | | ", isSelf=" + isSelf + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_travel_price") |
| | | public class ZTravelPrice implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 本次旅行的id |
| | | */ |
| | | private Integer travelId; |
| | | |
| | | /** |
| | | * 餐费 |
| | | */ |
| | | private Double eat; |
| | | |
| | | /** |
| | | * 住宿费 |
| | | */ |
| | | private Double stay; |
| | | |
| | | /** |
| | | * 交通出行的费用 |
| | | */ |
| | | private Double traffic; |
| | | |
| | | /** |
| | | * 门票费用 |
| | | */ |
| | | private Double entrance; |
| | | |
| | | /** |
| | | * 购物费用 |
| | | */ |
| | | private Double shopping; |
| | | |
| | | /** |
| | | * 消费日期 |
| | | */ |
| | | private LocalDateTime consumeDate; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getTravelId() { |
| | | return travelId; |
| | | } |
| | | |
| | | public void setTravelId(Integer travelId) { |
| | | this.travelId = travelId; |
| | | } |
| | | |
| | | public Double getEat() { |
| | | return eat; |
| | | } |
| | | |
| | | public void setEat(Double eat) { |
| | | this.eat = eat; |
| | | } |
| | | |
| | | public Double getStay() { |
| | | return stay; |
| | | } |
| | | |
| | | public void setStay(Double stay) { |
| | | this.stay = stay; |
| | | } |
| | | |
| | | public Double getTraffic() { |
| | | return traffic; |
| | | } |
| | | |
| | | public void setTraffic(Double traffic) { |
| | | this.traffic = traffic; |
| | | } |
| | | |
| | | public Double getEntrance() { |
| | | return entrance; |
| | | } |
| | | |
| | | public void setEntrance(Double entrance) { |
| | | this.entrance = entrance; |
| | | } |
| | | |
| | | public Double getShopping() { |
| | | return shopping; |
| | | } |
| | | |
| | | public void setShopping(Double shopping) { |
| | | this.shopping = shopping; |
| | | } |
| | | |
| | | public LocalDateTime getConsumeDate() { |
| | | return consumeDate; |
| | | } |
| | | |
| | | public void setConsumeDate(LocalDateTime consumeDate) { |
| | | this.consumeDate = consumeDate; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZTravelPrice{" + |
| | | "id=" + id + |
| | | ", travelId=" + travelId + |
| | | ", eat=" + eat + |
| | | ", stay=" + stay + |
| | | ", traffic=" + traffic + |
| | | ", entrance=" + entrance + |
| | | ", shopping=" + shopping + |
| | | ", consumeDate=" + consumeDate + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表第一次需要录入的信息 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_year_health") |
| | | public class ZYearHealth implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 年度健康表持有者id |
| | | */ |
| | | private Integer uid; |
| | | |
| | | /** |
| | | * 生活习惯 |
| | | */ |
| | | private String lifeHabit; |
| | | |
| | | /** |
| | | * 诊治情况 |
| | | */ |
| | | private String treatment; |
| | | |
| | | /** |
| | | * 家族病史 |
| | | */ |
| | | private String familyDisease; |
| | | |
| | | /** |
| | | * 现病史 |
| | | */ |
| | | private String nowDisease; |
| | | |
| | | /** |
| | | * 疾病的发生 |
| | | */ |
| | | private String diseaseHappen; |
| | | |
| | | /** |
| | | * 疾病的发展 |
| | | */ |
| | | private String diseaseDevelop; |
| | | |
| | | /** |
| | | * 疾病的治疗 |
| | | */ |
| | | private String diseaseTreat; |
| | | |
| | | /** |
| | | * 疾病的转归 |
| | | */ |
| | | private String diseaseOutcome; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Integer uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public String getLifeHabit() { |
| | | return lifeHabit; |
| | | } |
| | | |
| | | public void setLifeHabit(String lifeHabit) { |
| | | this.lifeHabit = lifeHabit; |
| | | } |
| | | |
| | | public String getTreatment() { |
| | | return treatment; |
| | | } |
| | | |
| | | public void setTreatment(String treatment) { |
| | | this.treatment = treatment; |
| | | } |
| | | |
| | | public String getFamilyDisease() { |
| | | return familyDisease; |
| | | } |
| | | |
| | | public void setFamilyDisease(String familyDisease) { |
| | | this.familyDisease = familyDisease; |
| | | } |
| | | |
| | | public String getNowDisease() { |
| | | return nowDisease; |
| | | } |
| | | |
| | | public void setNowDisease(String nowDisease) { |
| | | this.nowDisease = nowDisease; |
| | | } |
| | | |
| | | public String getDiseaseHappen() { |
| | | return diseaseHappen; |
| | | } |
| | | |
| | | public void setDiseaseHappen(String diseaseHappen) { |
| | | this.diseaseHappen = diseaseHappen; |
| | | } |
| | | |
| | | public String getDiseaseDevelop() { |
| | | return diseaseDevelop; |
| | | } |
| | | |
| | | public void setDiseaseDevelop(String diseaseDevelop) { |
| | | this.diseaseDevelop = diseaseDevelop; |
| | | } |
| | | |
| | | public String getDiseaseTreat() { |
| | | return diseaseTreat; |
| | | } |
| | | |
| | | public void setDiseaseTreat(String diseaseTreat) { |
| | | this.diseaseTreat = diseaseTreat; |
| | | } |
| | | |
| | | public String getDiseaseOutcome() { |
| | | return diseaseOutcome; |
| | | } |
| | | |
| | | public void setDiseaseOutcome(String diseaseOutcome) { |
| | | this.diseaseOutcome = diseaseOutcome; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZYearHealth{" + |
| | | "id=" + id + |
| | | ", uid=" + uid + |
| | | ", lifeHabit=" + lifeHabit + |
| | | ", treatment=" + treatment + |
| | | ", familyDisease=" + familyDisease + |
| | | ", nowDisease=" + nowDisease + |
| | | ", diseaseHappen=" + diseaseHappen + |
| | | ", diseaseDevelop=" + diseaseDevelop + |
| | | ", diseaseTreat=" + diseaseTreat + |
| | | ", diseaseOutcome=" + diseaseOutcome + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表的每一次检查的记录表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_year_info") |
| | | public class ZYearInfo implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 年度健康表id |
| | | */ |
| | | private Integer hid; |
| | | |
| | | /** |
| | | * 体检时间 |
| | | */ |
| | | private LocalDateTime checkTime; |
| | | |
| | | /** |
| | | * 看病:0、体检:1 |
| | | */ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 就诊医院 |
| | | */ |
| | | private String hospital; |
| | | |
| | | /** |
| | | * 题名 |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * 注意事项 |
| | | */ |
| | | private String notice; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getHid() { |
| | | return hid; |
| | | } |
| | | |
| | | public void setHid(Integer hid) { |
| | | this.hid = hid; |
| | | } |
| | | |
| | | public LocalDateTime getCheckTime() { |
| | | return checkTime; |
| | | } |
| | | |
| | | public void setCheckTime(LocalDateTime checkTime) { |
| | | this.checkTime = checkTime; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getHospital() { |
| | | return hospital; |
| | | } |
| | | |
| | | public void setHospital(String hospital) { |
| | | this.hospital = hospital; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getNotice() { |
| | | return notice; |
| | | } |
| | | |
| | | public void setNotice(String notice) { |
| | | this.notice = notice; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZYearInfo{" + |
| | | "id=" + id + |
| | | ", hid=" + hid + |
| | | ", checkTime=" + checkTime + |
| | | ", type=" + type + |
| | | ", hospital=" + hospital + |
| | | ", title=" + title + |
| | | ", notice=" + notice + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 保洁收纳表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_clean") |
| | | public class ZfClean implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 0:保洁,1:收纳 |
| | | */ |
| | | private Integer kind; |
| | | |
| | | /** |
| | | * 适用人 |
| | | */ |
| | | private String suitable; |
| | | |
| | | /** |
| | | * 类别 |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * 保洁方法 |
| | | */ |
| | | private String method; |
| | | |
| | | /** |
| | | * 材料存放地 |
| | | */ |
| | | private String place; |
| | | |
| | | /** |
| | | * 放置地点 |
| | | */ |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getKind() { |
| | | return kind; |
| | | } |
| | | |
| | | public void setKind(Integer kind) { |
| | | this.kind = kind; |
| | | } |
| | | |
| | | public String getSuitable() { |
| | | return suitable; |
| | | } |
| | | |
| | | public void setSuitable(String suitable) { |
| | | this.suitable = suitable; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getMethod() { |
| | | return method; |
| | | } |
| | | |
| | | public void setMethod(String method) { |
| | | this.method = method; |
| | | } |
| | | |
| | | public String getPlace() { |
| | | return place; |
| | | } |
| | | |
| | | public void setPlace(String place) { |
| | | this.place = place; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfClean{" + |
| | | "id=" + id + |
| | | ", kind=" + kind + |
| | | ", suitable=" + suitable + |
| | | ", type=" + type + |
| | | ", method=" + method + |
| | | ", place=" + place + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_collection") |
| | | public class ZfCollection implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 获得时间 |
| | | */ |
| | | private LocalDateTime getTime; |
| | | |
| | | /** |
| | | * 类别 |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 来源 |
| | | */ |
| | | private String source; |
| | | |
| | | /** |
| | | * 拥有者 |
| | | */ |
| | | private String owner; |
| | | |
| | | /** |
| | | * 价值 |
| | | */ |
| | | private Double price; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public LocalDateTime getGetTime() { |
| | | return getTime; |
| | | } |
| | | |
| | | public void setGetTime(LocalDateTime getTime) { |
| | | this.getTime = getTime; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getSource() { |
| | | return source; |
| | | } |
| | | |
| | | public void setSource(String source) { |
| | | this.source = source; |
| | | } |
| | | |
| | | public String getOwner() { |
| | | return owner; |
| | | } |
| | | |
| | | public void setOwner(String owner) { |
| | | this.owner = owner; |
| | | } |
| | | |
| | | public Double getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(Double price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfCollection{" + |
| | | "id=" + id + |
| | | ", getTime=" + getTime + |
| | | ", type=" + type + |
| | | ", name=" + name + |
| | | ", source=" + source + |
| | | ", owner=" + owner + |
| | | ", price=" + price + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_contact") |
| | | public class ZfContact implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 成员姓名 |
| | | */ |
| | | private String myName; |
| | | |
| | | /** |
| | | * 称呼 |
| | | */ |
| | | private String nickName; |
| | | |
| | | /** |
| | | * 称呼者姓名 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 工作单位 |
| | | */ |
| | | private String work; |
| | | |
| | | /** |
| | | * 手机号码 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 微信号 |
| | | */ |
| | | private String wx; |
| | | |
| | | /** |
| | | * qq号 |
| | | */ |
| | | private String qq; |
| | | |
| | | /** |
| | | * 推特号 |
| | | */ |
| | | private String twitter; |
| | | |
| | | /** |
| | | * 是否常联系,0:否,1:是 |
| | | */ |
| | | private Integer isAlways; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getMyName() { |
| | | return myName; |
| | | } |
| | | |
| | | public void setMyName(String myName) { |
| | | this.myName = myName; |
| | | } |
| | | |
| | | public String getNickName() { |
| | | return nickName; |
| | | } |
| | | |
| | | public void setNickName(String nickName) { |
| | | this.nickName = nickName; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getWork() { |
| | | return work; |
| | | } |
| | | |
| | | public void setWork(String work) { |
| | | this.work = work; |
| | | } |
| | | |
| | | public String getPhone() { |
| | | return phone; |
| | | } |
| | | |
| | | public void setPhone(String phone) { |
| | | this.phone = phone; |
| | | } |
| | | |
| | | public String getWx() { |
| | | return wx; |
| | | } |
| | | |
| | | public void setWx(String wx) { |
| | | this.wx = wx; |
| | | } |
| | | |
| | | public String getQq() { |
| | | return qq; |
| | | } |
| | | |
| | | public void setQq(String qq) { |
| | | this.qq = qq; |
| | | } |
| | | |
| | | public String getTwitter() { |
| | | return twitter; |
| | | } |
| | | |
| | | public void setTwitter(String twitter) { |
| | | this.twitter = twitter; |
| | | } |
| | | |
| | | public Integer getIsAlways() { |
| | | return isAlways; |
| | | } |
| | | |
| | | public void setIsAlways(Integer isAlways) { |
| | | this.isAlways = isAlways; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfContact{" + |
| | | "id=" + id + |
| | | ", myName=" + myName + |
| | | ", nickName=" + nickName + |
| | | ", name=" + name + |
| | | ", work=" + work + |
| | | ", phone=" + phone + |
| | | ", wx=" + wx + |
| | | ", qq=" + qq + |
| | | ", twitter=" + twitter + |
| | | ", isAlways=" + isAlways + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_doctor") |
| | | public class ZfDoctor implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 病的类型 |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * 症状 |
| | | */ |
| | | private String symptom; |
| | | |
| | | /** |
| | | * 持续时间 |
| | | */ |
| | | private String duration; |
| | | |
| | | /** |
| | | * 中医 |
| | | */ |
| | | private String cMedical; |
| | | |
| | | /** |
| | | * 西医 |
| | | */ |
| | | private String wMedical; |
| | | |
| | | /** |
| | | * 功效 |
| | | */ |
| | | private String effect; |
| | | |
| | | /** |
| | | * 适用人 |
| | | */ |
| | | private String suitable; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getSymptom() { |
| | | return symptom; |
| | | } |
| | | |
| | | public void setSymptom(String symptom) { |
| | | this.symptom = symptom; |
| | | } |
| | | |
| | | public String getDuration() { |
| | | return duration; |
| | | } |
| | | |
| | | public void setDuration(String duration) { |
| | | this.duration = duration; |
| | | } |
| | | |
| | | public String getcMedical() { |
| | | return cMedical; |
| | | } |
| | | |
| | | public void setcMedical(String cMedical) { |
| | | this.cMedical = cMedical; |
| | | } |
| | | |
| | | public String getwMedical() { |
| | | return wMedical; |
| | | } |
| | | |
| | | public void setwMedical(String wMedical) { |
| | | this.wMedical = wMedical; |
| | | } |
| | | |
| | | public String getEffect() { |
| | | return effect; |
| | | } |
| | | |
| | | public void setEffect(String effect) { |
| | | this.effect = effect; |
| | | } |
| | | |
| | | public String getSuitable() { |
| | | return suitable; |
| | | } |
| | | |
| | | public void setSuitable(String suitable) { |
| | | this.suitable = suitable; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfDoctor{" + |
| | | "id=" + id + |
| | | ", type=" + type + |
| | | ", symptom=" + symptom + |
| | | ", duration=" + duration + |
| | | ", cMedical=" + cMedical + |
| | | ", wMedical=" + wMedical + |
| | | ", effect=" + effect + |
| | | ", suitable=" + suitable + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭收支台账 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_economy") |
| | | public class ZfEconomy implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 0:基金、1:台账 |
| | | */ |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 时间 |
| | | */ |
| | | private LocalDate createTime; |
| | | |
| | | /** |
| | | * 收入/支出 |
| | | */ |
| | | private Double price; |
| | | |
| | | /** |
| | | * 用途 |
| | | */ |
| | | private String use; |
| | | |
| | | /** |
| | | * 使用人 |
| | | */ |
| | | private String user; |
| | | |
| | | /** |
| | | * 0:现金,1:自动划扣 |
| | | */ |
| | | private Integer kind; |
| | | |
| | | /** |
| | | * 余额 |
| | | */ |
| | | private Double balance; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public LocalDate getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(LocalDate createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Double getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(Double price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public String getUse() { |
| | | return use; |
| | | } |
| | | |
| | | public void setUse(String use) { |
| | | this.use = use; |
| | | } |
| | | |
| | | public String getUser() { |
| | | return user; |
| | | } |
| | | |
| | | public void setUser(String user) { |
| | | this.user = user; |
| | | } |
| | | |
| | | public Integer getKind() { |
| | | return kind; |
| | | } |
| | | |
| | | public void setKind(Integer kind) { |
| | | this.kind = kind; |
| | | } |
| | | |
| | | public Double getBalance() { |
| | | return balance; |
| | | } |
| | | |
| | | public void setBalance(Double balance) { |
| | | this.balance = balance; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfEconomy{" + |
| | | "id=" + id + |
| | | ", type=" + type + |
| | | ", createTime=" + createTime + |
| | | ", price=" + price + |
| | | ", use=" + use + |
| | | ", user=" + user + |
| | | ", kind=" + kind + |
| | | ", balance=" + balance + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_equipment") |
| | | public class ZfEquipment implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 设备名称 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 记录时间 |
| | | */ |
| | | private LocalDateTime createDate; |
| | | |
| | | /** |
| | | * 购买人 |
| | | */ |
| | | private String buyer; |
| | | |
| | | /** |
| | | * 事项内容 |
| | | */ |
| | | private String content; |
| | | |
| | | /** |
| | | * 存放地点 |
| | | */ |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public LocalDateTime getCreateDate() { |
| | | return createDate; |
| | | } |
| | | |
| | | public void setCreateDate(LocalDateTime createDate) { |
| | | this.createDate = createDate; |
| | | } |
| | | |
| | | public String getBuyer() { |
| | | return buyer; |
| | | } |
| | | |
| | | public void setBuyer(String buyer) { |
| | | this.buyer = buyer; |
| | | } |
| | | |
| | | public String getContent() { |
| | | return content; |
| | | } |
| | | |
| | | public void setContent(String content) { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfEquipment{" + |
| | | "id=" + id + |
| | | ", name=" + name + |
| | | ", createDate=" + createDate + |
| | | ", buyer=" + buyer + |
| | | ", content=" + content + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭大事件表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Data |
| | | @ToString |
| | | @TableName("zf_event") |
| | | public class ZfEvent implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 参与本次大事的人物名字 |
| | | */ |
| | | @Excel(name="参与本次大事的人物名字") |
| | | private String people; |
| | | |
| | | /** |
| | | * 地点 |
| | | */ |
| | | @Excel(name="地点") |
| | | private String address; |
| | | |
| | | /** |
| | | * 本次大事件的标题 |
| | | */ |
| | | @Excel(name="本次大事件的标题") |
| | | private String title; |
| | | |
| | | /** |
| | | * 备注信息 |
| | | */ |
| | | @Excel(name="备注信息") |
| | | private String remark; |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠主人表 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_master") |
| | | public class ZfMaster implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 宠物表id |
| | | */ |
| | | private Integer petId; |
| | | |
| | | /** |
| | | * 养犬人姓名 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 证件类型 |
| | | */ |
| | | private String certificateType; |
| | | |
| | | /** |
| | | * 证件号码 |
| | | */ |
| | | private String certificateNo; |
| | | |
| | | /** |
| | | * 固定电话 |
| | | */ |
| | | private String fixedNo; |
| | | |
| | | /** |
| | | * 移动电话 |
| | | */ |
| | | private String phoneNo; |
| | | |
| | | /** |
| | | * 拥有犬只数量 |
| | | */ |
| | | private Integer many; |
| | | |
| | | /** |
| | | * 住所详细地址 |
| | | */ |
| | | private String address; |
| | | |
| | | /** |
| | | * 住所性质 |
| | | */ |
| | | private String property; |
| | | |
| | | /** |
| | | * 电子邮件 |
| | | */ |
| | | private String email; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getPetId() { |
| | | return petId; |
| | | } |
| | | |
| | | public void setPetId(Integer petId) { |
| | | this.petId = petId; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getCertificateType() { |
| | | return certificateType; |
| | | } |
| | | |
| | | public void setCertificateType(String certificateType) { |
| | | this.certificateType = certificateType; |
| | | } |
| | | |
| | | public String getCertificateNo() { |
| | | return certificateNo; |
| | | } |
| | | |
| | | public void setCertificateNo(String certificateNo) { |
| | | this.certificateNo = certificateNo; |
| | | } |
| | | |
| | | public String getFixedNo() { |
| | | return fixedNo; |
| | | } |
| | | |
| | | public void setFixedNo(String fixedNo) { |
| | | this.fixedNo = fixedNo; |
| | | } |
| | | |
| | | public String getPhoneNo() { |
| | | return phoneNo; |
| | | } |
| | | |
| | | public void setPhoneNo(String phoneNo) { |
| | | this.phoneNo = phoneNo; |
| | | } |
| | | |
| | | public Integer getMany() { |
| | | return many; |
| | | } |
| | | |
| | | public void setMany(Integer many) { |
| | | this.many = many; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public String getProperty() { |
| | | return property; |
| | | } |
| | | |
| | | public void setProperty(String property) { |
| | | this.property = property; |
| | | } |
| | | |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | | this.email = email; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfMaster{" + |
| | | "id=" + id + |
| | | ", petId=" + petId + |
| | | ", name=" + name + |
| | | ", certificateType=" + certificateType + |
| | | ", certificateNo=" + certificateNo + |
| | | ", fixedNo=" + fixedNo + |
| | | ", phoneNo=" + phoneNo + |
| | | ", many=" + many + |
| | | ", address=" + address + |
| | | ", property=" + property + |
| | | ", email=" + email + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDate; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠基本信息 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_pet") |
| | | public class ZfPet implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 犬证号码 |
| | | */ |
| | | private String idNum; |
| | | |
| | | /** |
| | | * 防伪码 |
| | | */ |
| | | private String securityCode; |
| | | |
| | | /** |
| | | * 犬种 |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * 犬名 |
| | | */ |
| | | private String name; |
| | | |
| | | /** |
| | | * 出生日期 |
| | | */ |
| | | private LocalDate birth; |
| | | |
| | | /** |
| | | * 性别,0:雌,1:雄 |
| | | */ |
| | | private Integer sex; |
| | | |
| | | /** |
| | | * 犬只颜色 |
| | | */ |
| | | private String color; |
| | | |
| | | /** |
| | | * 犬只性质 |
| | | */ |
| | | private String properties; |
| | | |
| | | /** |
| | | * 饮食习惯 |
| | | */ |
| | | private String eatHabit; |
| | | |
| | | /** |
| | | * 生活习惯 |
| | | */ |
| | | private String lifeHabit; |
| | | |
| | | /** |
| | | * 犬居住地址 |
| | | */ |
| | | private String address; |
| | | |
| | | /** |
| | | * 能听懂的方言 |
| | | */ |
| | | private String dialect; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getIdNum() { |
| | | return idNum; |
| | | } |
| | | |
| | | public void setIdNum(String idNum) { |
| | | this.idNum = idNum; |
| | | } |
| | | |
| | | public String getSecurityCode() { |
| | | return securityCode; |
| | | } |
| | | |
| | | public void setSecurityCode(String securityCode) { |
| | | this.securityCode = securityCode; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public LocalDate getBirth() { |
| | | return birth; |
| | | } |
| | | |
| | | public void setBirth(LocalDate birth) { |
| | | this.birth = birth; |
| | | } |
| | | |
| | | public Integer getSex() { |
| | | return sex; |
| | | } |
| | | |
| | | public void setSex(Integer sex) { |
| | | this.sex = sex; |
| | | } |
| | | |
| | | public String getColor() { |
| | | return color; |
| | | } |
| | | |
| | | public void setColor(String color) { |
| | | this.color = color; |
| | | } |
| | | |
| | | public String getProperties() { |
| | | return properties; |
| | | } |
| | | |
| | | public void setProperties(String properties) { |
| | | this.properties = properties; |
| | | } |
| | | |
| | | public String getEatHabit() { |
| | | return eatHabit; |
| | | } |
| | | |
| | | public void setEatHabit(String eatHabit) { |
| | | this.eatHabit = eatHabit; |
| | | } |
| | | |
| | | public String getLifeHabit() { |
| | | return lifeHabit; |
| | | } |
| | | |
| | | public void setLifeHabit(String lifeHabit) { |
| | | this.lifeHabit = lifeHabit; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public String getDialect() { |
| | | return dialect; |
| | | } |
| | | |
| | | public void setDialect(String dialect) { |
| | | this.dialect = dialect; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfPet{" + |
| | | "id=" + id + |
| | | ", idNum=" + idNum + |
| | | ", securityCode=" + securityCode + |
| | | ", type=" + type + |
| | | ", name=" + name + |
| | | ", birth=" + birth + |
| | | ", sex=" + sex + |
| | | ", color=" + color + |
| | | ", properties=" + properties + |
| | | ", eatHabit=" + eatHabit + |
| | | ", lifeHabit=" + lifeHabit + |
| | | ", address=" + address + |
| | | ", dialect=" + dialect + |
| | | "}"; |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠备忘录 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @TableName("zf_pet_note") |
| | | public class ZfPetNote implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 宠物表id |
| | | */ |
| | | private Integer pid; |
| | | |
| | | /** |
| | | * 记录时间 |
| | | */ |
| | | private LocalDateTime createTime; |
| | | |
| | | /** |
| | | * 题名 |
| | | */ |
| | | private String title; |
| | | |
| | | /** |
| | | * 提醒时间 |
| | | */ |
| | | private LocalDateTime remindTime; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | private String remark; |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Integer pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public LocalDateTime getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(LocalDateTime createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public LocalDateTime getRemindTime() { |
| | | return remindTime; |
| | | } |
| | | |
| | | public void setRemindTime(LocalDateTime remindTime) { |
| | | this.remindTime = remindTime; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZfPetNote{" + |
| | | "id=" + id + |
| | | ", pid=" + pid + |
| | | ", createTime=" + createTime + |
| | | ", title=" + title + |
| | | ", remindTime=" + remindTime + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |
| | |
| | | @Excel(name="备注") |
| | | private String remark; |
| | | |
| | | // @Excel(name="创建时间") |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime createTime; |
| | | |
| | | @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | private String url; |
| | | |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZAbroad; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 出国(境)情况 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZAbroadMapper extends BaseMapper<ZAbroad> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZAutobiography; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZAutobiographyMapper extends BaseMapper<ZAutobiography> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZCertificate; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 持有出入境证件情况 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZCertificateMapper extends BaseMapper<ZCertificate> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZChild; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZChildMapper extends BaseMapper<ZChild> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZExperience; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZExperienceMapper extends BaseMapper<ZExperience> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZHealthBase; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表基础信息 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZHealthBaseMapper extends BaseMapper<ZHealthBase> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZHealthHabit; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表的生活情况 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZHealthHabitMapper extends BaseMapper<ZHealthHabit> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZHealthInfo; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 身体状况疾病表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZHealthInfoMapper extends BaseMapper<ZHealthInfo> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZHonor; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 证件、荣誉、资质表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZHonorMapper extends BaseMapper<ZHonor> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZIdea; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZIdeaMapper extends BaseMapper<ZIdea> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZLoginUser; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 存放登录信息的用户表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZLoginUserMapper extends BaseMapper<ZLoginUser> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZMarry; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZMarryMapper extends BaseMapper<ZMarry> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZProperty; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 个人财产表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZPropertyMapper extends BaseMapper<ZProperty> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZSecret; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 秘密记录表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZSecretMapper extends BaseMapper<ZSecret> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZSelfNote; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZSelfNoteMapper extends BaseMapper<ZSelfNote> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZStayOut; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZStayOutMapper extends BaseMapper<ZStayOut> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZTravelBase; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 旅行记录基本信息表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZTravelBaseMapper extends BaseMapper<ZTravelBase> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZTravelPrice; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZTravelPriceMapper extends BaseMapper<ZTravelPrice> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZYearHealth; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表第一次需要录入的信息 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZYearHealthMapper extends BaseMapper<ZYearHealth> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZYearInfo; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表的每一次检查的记录表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Mapper |
| | | public interface ZYearInfoMapper extends BaseMapper<ZYearInfo> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfClean; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 保洁收纳表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfCleanMapper extends BaseMapper<ZfClean> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfCollection; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfCollectionMapper extends BaseMapper<ZfCollection> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfContact; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfContactMapper extends BaseMapper<ZfContact> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfDoctor; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfDoctorMapper extends BaseMapper<ZfDoctor> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfEconomy; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭收支台账 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfEconomyMapper extends BaseMapper<ZfEconomy> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfEquipment; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfEquipmentMapper extends BaseMapper<ZfEquipment> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭大事件表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfEventMapper extends BaseMapper<ZfEvent> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfMaster; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠主人表 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfMasterMapper extends BaseMapper<ZfMaster> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfPet; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠基本信息 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfPetMapper extends BaseMapper<ZfPet> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.domain.ZfPetNote; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠备忘录 Mapper 接口 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Mapper |
| | | public interface ZfPetNoteMapper extends BaseMapper<ZfPetNote> { |
| | | |
| | | } |
| | |
| | | |
| | | List<ZfProperty> selectByCondition(ZfProperty zfProperty); |
| | | |
| | | AjaxResult selectUserList(ZfProperty zfProperty,Integer pageNum,Integer pageSize); |
| | | AjaxResult selectPropertyList(ZfProperty zfProperty,Integer pageNum,Integer pageSize); |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZAbroad; |
| | | |
| | | /** |
| | | * <p> |
| | | * 出国(境)情况 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZAbroadService extends IService<ZAbroad> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZAutobiography; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZAutobiographyService extends IService<ZAutobiography> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZCertificate; |
| | | |
| | | /** |
| | | * <p> |
| | | * 持有出入境证件情况 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZCertificateService extends IService<ZCertificate> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZChild; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZChildService extends IService<ZChild> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZExperience; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZExperienceService extends IService<ZExperience> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZHealthBase; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表基础信息 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZHealthBaseService extends IService<ZHealthBase> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZHealthHabit; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表的生活情况 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZHealthHabitService extends IService<ZHealthHabit> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZHealthInfo; |
| | | |
| | | /** |
| | | * <p> |
| | | * 身体状况疾病表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZHealthInfoService extends IService<ZHealthInfo> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZHonor; |
| | | |
| | | /** |
| | | * <p> |
| | | * 证件、荣誉、资质表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZHonorService extends IService<ZHonor> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZIdea; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZIdeaService extends IService<ZIdea> { |
| | | |
| | | } |
| | |
| | | package com.ruoyi.service; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.domain.ZInfoUser; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface ZInfoUserService extends IService<ZInfoUser> { |
| | | |
| | | AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); |
| | | |
| | | List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZLoginUser; |
| | | |
| | | /** |
| | | * <p> |
| | | * 存放登录信息的用户表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZLoginUserService extends IService<ZLoginUser> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZMarry; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZMarryService extends IService<ZMarry> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZProperty; |
| | | |
| | | /** |
| | | * <p> |
| | | * 个人财产表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZPropertyService extends IService<ZProperty> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZSecret; |
| | | |
| | | /** |
| | | * <p> |
| | | * 秘密记录表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZSecretService extends IService<ZSecret> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZSelfNote; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZSelfNoteService extends IService<ZSelfNote> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZStayOut; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZStayOutService extends IService<ZStayOut> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZTravelBase; |
| | | |
| | | /** |
| | | * <p> |
| | | * 旅行记录基本信息表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZTravelBaseService extends IService<ZTravelBase> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZTravelPrice; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZTravelPriceService extends IService<ZTravelPrice> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZYearHealth; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表第一次需要录入的信息 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZYearHealthService extends IService<ZYearHealth> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZYearInfo; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表的每一次检查的记录表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | public interface ZYearInfoService extends IService<ZYearInfo> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfClean; |
| | | |
| | | /** |
| | | * <p> |
| | | * 保洁收纳表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfCleanService extends IService<ZfClean> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfCollection; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfCollectionService extends IService<ZfCollection> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfContact; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfContactService extends IService<ZfContact> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfDoctor; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfDoctorService extends IService<ZfDoctor> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfEconomy; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭收支台账 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfEconomyService extends IService<ZfEconomy> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfEquipment; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfEquipmentService extends IService<ZfEquipment> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭大事件表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfEventService extends IService<ZfEvent> { |
| | | |
| | | AjaxResult selectEventList(ZfEvent zfEvent, Integer pageNum, Integer pageSize); |
| | | |
| | | List<ZfEvent> selectByCondition(ZfEvent zfEvent); |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfMaster; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠主人表 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfMasterService extends IService<ZfMaster> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfPetNote; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠备忘录 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfPetNoteService extends IService<ZfPetNote> { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.domain.ZfPet; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠基本信息 服务类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | public interface ZfPetService extends IService<ZfPet> { |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.utils.MapUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.domain.ZfProperty; |
| | | import com.ruoyi.mapper.ZfPropertyMapper; |
| | | import com.ruoyi.service.IZfPropertyService; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult selectUserList(ZfProperty zfProperty,Integer pageNum,Integer pageSize) { |
| | | public AjaxResult selectPropertyList(ZfProperty zfProperty,Integer pageNum,Integer pageSize) { |
| | | |
| | | LambdaQueryWrapper<ZfProperty> lqw = buildCondition(zfProperty); |
| | | |
| | | Page<ZfProperty> zfPropertyPage = new Page<>(pageNum,pageSize); |
| | | Page<ZfProperty> pageResult = page(zfPropertyPage, lqw); |
| | | |
| | | |
| | | HashMap<String, Object> data = new HashMap<>(); |
| | | |
| | | data.put("data",pageResult.getRecords()); |
| | | data.put("total",pageResult.getTotal()); |
| | | data.put("pageNum",pageResult.getCurrent()); |
| | | data.put("pageSize",pageResult.getSize()); |
| | | |
| | | |
| | | HashMap<String, Object> data = MapUtils.getResult(pageResult); |
| | | return AjaxResult.success(data); |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZAbroad; |
| | | import com.ruoyi.mapper.ZAbroadMapper; |
| | | import com.ruoyi.service.ZAbroadService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 出国(境)情况 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZAbroadServiceImpl extends ServiceImpl<ZAbroadMapper, ZAbroad> implements ZAbroadService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZAutobiography; |
| | | import com.ruoyi.mapper.ZAutobiographyMapper; |
| | | import com.ruoyi.service.ZAutobiographyService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZAutobiographyServiceImpl extends ServiceImpl<ZAutobiographyMapper, ZAutobiography> implements ZAutobiographyService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZCertificate; |
| | | import com.ruoyi.mapper.ZCertificateMapper; |
| | | import com.ruoyi.service.ZCertificateService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 持有出入境证件情况 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZCertificateServiceImpl extends ServiceImpl<ZCertificateMapper, ZCertificate> implements ZCertificateService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZChild; |
| | | import com.ruoyi.mapper.ZChildMapper; |
| | | import com.ruoyi.service.ZChildService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZChildServiceImpl extends ServiceImpl<ZChildMapper, ZChild> implements ZChildService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZExperience; |
| | | import com.ruoyi.mapper.ZExperienceMapper; |
| | | import com.ruoyi.service.ZExperienceService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZExperienceServiceImpl extends ServiceImpl<ZExperienceMapper, ZExperience> implements ZExperienceService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZHealthBase; |
| | | import com.ruoyi.mapper.ZHealthBaseMapper; |
| | | import com.ruoyi.service.ZHealthBaseService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表基础信息 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZHealthBaseServiceImpl extends ServiceImpl<ZHealthBaseMapper, ZHealthBase> implements ZHealthBaseService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZHealthHabit; |
| | | import com.ruoyi.mapper.ZHealthHabitMapper; |
| | | import com.ruoyi.service.ZHealthHabitService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 健康表的生活情况 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZHealthHabitServiceImpl extends ServiceImpl<ZHealthHabitMapper, ZHealthHabit> implements ZHealthHabitService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZHealthInfo; |
| | | import com.ruoyi.mapper.ZHealthInfoMapper; |
| | | import com.ruoyi.service.ZHealthInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 身体状况疾病表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZHealthInfoServiceImpl extends ServiceImpl<ZHealthInfoMapper, ZHealthInfo> implements ZHealthInfoService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZHonor; |
| | | import com.ruoyi.mapper.ZHonorMapper; |
| | | import com.ruoyi.service.ZHonorService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 证件、荣誉、资质表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZHonorServiceImpl extends ServiceImpl<ZHonorMapper, ZHonor> implements ZHonorService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZIdea; |
| | | import com.ruoyi.mapper.ZIdeaMapper; |
| | | import com.ruoyi.service.ZIdeaService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZIdeaServiceImpl extends ServiceImpl<ZIdeaMapper, ZIdea> implements ZIdeaService { |
| | | |
| | | } |
| | |
| | | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.utils.MapUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.domain.ZInfoUser; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.mapper.ZInfoUserMapper; |
| | | import com.ruoyi.service.ZInfoUserService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | @Slf4j |
| | | public class ZInfoUserServiceImpl extends ServiceImpl<ZInfoUserMapper, ZInfoUser> implements ZInfoUserService { |
| | | |
| | | @Override |
| | | public AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize) { |
| | | |
| | | LambdaQueryWrapper<ZInfoUser> lqw = buildCondition(zInfoUser); |
| | | |
| | | Page<ZInfoUser> zInfoUserPage = new Page<>(pageNum,pageSize); |
| | | Page<ZInfoUser> pageResult = page(zInfoUserPage, lqw); |
| | | |
| | | HashMap<String, Object> data = MapUtils.getResult(pageResult); |
| | | return AjaxResult.success(data); |
| | | |
| | | } |
| | | |
| | | private LambdaQueryWrapper<ZInfoUser> buildCondition(ZInfoUser zInfoUser) { |
| | | |
| | | LambdaQueryWrapper<ZInfoUser> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.eq(zInfoUser.getUserId()!=null,ZInfoUser::getUserId,zInfoUser.getUserId()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getAlwaysAddress()),ZInfoUser::getAlwaysAddress,zInfoUser.getAlwaysAddress()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getAlwaysPolice()),ZInfoUser::getAlwaysPolice,zInfoUser.getAlwaysPolice()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getIdNum()),ZInfoUser::getIdNum,zInfoUser.getIdNum()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getLocationAddress()),ZInfoUser::getLocationAddress,zInfoUser.getLocationAddress()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getLocationPolice()),ZInfoUser::getLocationPolice,zInfoUser.getLocationPolice()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getNation()),ZInfoUser::getNation,zInfoUser.getNation()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getNationality()),ZInfoUser::getNationality,zInfoUser.getNationality()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getNickName()),ZInfoUser::getNickName,zInfoUser.getNickName()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getOldName()),ZInfoUser::getOldName,zInfoUser.getOldName()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getPhoneNumber()),ZInfoUser::getPhoneNumber,zInfoUser.getPhoneNumber()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getPoliticalOutlook()),ZInfoUser::getPoliticalOutlook,zInfoUser.getPoliticalOutlook()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getPosition()),ZInfoUser::getPosition,zInfoUser.getPosition()); |
| | | lqw.like(StringUtils.isNotEmpty(zInfoUser.getUnit()),ZInfoUser::getUnit,zInfoUser.getUnit()); |
| | | lqw.like(zInfoUser.getSex()!=null,ZInfoUser::getSex,zInfoUser.getSex()); |
| | | lqw.like(zInfoUser.getMaritalStatus()!=null,ZInfoUser::getMaritalStatus,zInfoUser.getMaritalStatus()); |
| | | lqw.like(zInfoUser.getBirth()!=null,ZInfoUser::getBirth,zInfoUser.getBirth()); |
| | | return lqw; |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser) { |
| | | LambdaQueryWrapper<ZInfoUser> lambdaQueryWrapper = buildCondition(zInfoUser); |
| | | List<ZInfoUser> list = list(lambdaQueryWrapper); |
| | | log.info("返回的数据为:{}",list); |
| | | return list; |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZLoginUser; |
| | | import com.ruoyi.mapper.ZLoginUserMapper; |
| | | import com.ruoyi.service.ZLoginUserService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 存放登录信息的用户表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZLoginUserServiceImpl extends ServiceImpl<ZLoginUserMapper, ZLoginUser> implements ZLoginUserService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZMarry; |
| | | import com.ruoyi.mapper.ZMarryMapper; |
| | | import com.ruoyi.service.ZMarryService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZMarryServiceImpl extends ServiceImpl<ZMarryMapper, ZMarry> implements ZMarryService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZProperty; |
| | | import com.ruoyi.mapper.ZPropertyMapper; |
| | | import com.ruoyi.service.ZPropertyService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 个人财产表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZPropertyServiceImpl extends ServiceImpl<ZPropertyMapper, ZProperty> implements ZPropertyService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZSecret; |
| | | import com.ruoyi.mapper.ZSecretMapper; |
| | | import com.ruoyi.service.ZSecretService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 秘密记录表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZSecretServiceImpl extends ServiceImpl<ZSecretMapper, ZSecret> implements ZSecretService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZSelfNote; |
| | | import com.ruoyi.mapper.ZSelfNoteMapper; |
| | | import com.ruoyi.service.ZSelfNoteService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZSelfNoteServiceImpl extends ServiceImpl<ZSelfNoteMapper, ZSelfNote> implements ZSelfNoteService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZStayOut; |
| | | import com.ruoyi.mapper.ZStayOutMapper; |
| | | import com.ruoyi.service.ZStayOutService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZStayOutServiceImpl extends ServiceImpl<ZStayOutMapper, ZStayOut> implements ZStayOutService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZTravelBase; |
| | | import com.ruoyi.mapper.ZTravelBaseMapper; |
| | | import com.ruoyi.service.ZTravelBaseService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 旅行记录基本信息表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZTravelBaseServiceImpl extends ServiceImpl<ZTravelBaseMapper, ZTravelBase> implements ZTravelBaseService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZTravelPrice; |
| | | import com.ruoyi.mapper.ZTravelPriceMapper; |
| | | import com.ruoyi.service.ZTravelPriceService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZTravelPriceServiceImpl extends ServiceImpl<ZTravelPriceMapper, ZTravelPrice> implements ZTravelPriceService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZYearHealth; |
| | | import com.ruoyi.mapper.ZYearHealthMapper; |
| | | import com.ruoyi.service.ZYearHealthService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表第一次需要录入的信息 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZYearHealthServiceImpl extends ServiceImpl<ZYearHealthMapper, ZYearHealth> implements ZYearHealthService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZYearInfo; |
| | | import com.ruoyi.mapper.ZYearInfoMapper; |
| | | import com.ruoyi.service.ZYearInfoService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 年度健康表的每一次检查的记录表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Service |
| | | public class ZYearInfoServiceImpl extends ServiceImpl<ZYearInfoMapper, ZYearInfo> implements ZYearInfoService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfClean; |
| | | import com.ruoyi.mapper.ZfCleanMapper; |
| | | import com.ruoyi.service.ZfCleanService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 保洁收纳表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfCleanServiceImpl extends ServiceImpl<ZfCleanMapper, ZfClean> implements ZfCleanService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfCollection; |
| | | import com.ruoyi.mapper.ZfCollectionMapper; |
| | | import com.ruoyi.service.ZfCollectionService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfCollectionServiceImpl extends ServiceImpl<ZfCollectionMapper, ZfCollection> implements ZfCollectionService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfContact; |
| | | import com.ruoyi.mapper.ZfContactMapper; |
| | | import com.ruoyi.service.ZfContactService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfContactServiceImpl extends ServiceImpl<ZfContactMapper, ZfContact> implements ZfContactService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfDoctor; |
| | | import com.ruoyi.mapper.ZfDoctorMapper; |
| | | import com.ruoyi.service.ZfDoctorService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfDoctorServiceImpl extends ServiceImpl<ZfDoctorMapper, ZfDoctor> implements ZfDoctorService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfEconomy; |
| | | import com.ruoyi.mapper.ZfEconomyMapper; |
| | | import com.ruoyi.service.ZfEconomyService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭收支台账 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfEconomyServiceImpl extends ServiceImpl<ZfEconomyMapper, ZfEconomy> implements ZfEconomyService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfEquipment; |
| | | import com.ruoyi.mapper.ZfEquipmentMapper; |
| | | import com.ruoyi.service.ZfEquipmentService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfEquipmentServiceImpl extends ServiceImpl<ZfEquipmentMapper, ZfEquipment> implements ZfEquipmentService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.utils.MapUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.mapper.ZfEventMapper; |
| | | import com.ruoyi.service.ZfEventService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.jetbrains.annotations.NotNull; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * 家庭大事件表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ZfEventServiceImpl extends ServiceImpl<ZfEventMapper, ZfEvent> implements ZfEventService { |
| | | |
| | | @Override |
| | | public AjaxResult selectEventList(ZfEvent zfEvent, Integer pageNum, Integer pageSize) { |
| | | LambdaQueryWrapper<ZfEvent> lqw = buildCondition(zfEvent); |
| | | |
| | | Page<ZfEvent> ZfEventPage = new Page<>(pageNum,pageSize); |
| | | Page<ZfEvent> pageResult = page(ZfEventPage, lqw); |
| | | |
| | | HashMap<String, Object> data = MapUtils.getResult(pageResult); |
| | | return AjaxResult.success(data); |
| | | } |
| | | |
| | | @Override |
| | | public List<ZfEvent> selectByCondition(ZfEvent zfEvent) { |
| | | LambdaQueryWrapper<ZfEvent> lambdaQueryWrapper = buildCondition(zfEvent); |
| | | List<ZfEvent> list = list(lambdaQueryWrapper); |
| | | log.info("返回的数据为:{}",list); |
| | | return list; |
| | | } |
| | | |
| | | private LambdaQueryWrapper<ZfEvent> buildCondition(ZfEvent zfEvent) { |
| | | LambdaQueryWrapper<ZfEvent> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.like(!StringUtils.isEmpty(zfEvent.getAddress()),ZfEvent::getAddress,zfEvent.getAddress()); |
| | | lqw.like(!StringUtils.isEmpty(zfEvent.getPeople()),ZfEvent::getPeople,zfEvent.getPeople()); |
| | | lqw.like(!StringUtils.isEmpty(zfEvent.getTitle()),ZfEvent::getTitle,zfEvent.getTitle()); |
| | | lqw.like(!StringUtils.isEmpty(zfEvent.getRemark()),ZfEvent::getRemark,zfEvent.getRemark()); |
| | | lqw.like(zfEvent.getCreateTime()!=null,ZfEvent::getCreateTime,zfEvent.getCreateTime()); |
| | | return lqw; |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfMaster; |
| | | import com.ruoyi.mapper.ZfMasterMapper; |
| | | import com.ruoyi.service.ZfMasterService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠主人表 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfMasterServiceImpl extends ServiceImpl<ZfMasterMapper, ZfMaster> implements ZfMasterService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfPetNote; |
| | | import com.ruoyi.mapper.ZfPetNoteMapper; |
| | | import com.ruoyi.service.ZfPetNoteService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠备忘录 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfPetNoteServiceImpl extends ServiceImpl<ZfPetNoteMapper, ZfPetNote> implements ZfPetNoteService { |
| | | |
| | | } |
New file |
| | |
| | | package com.ruoyi.service.impl; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.domain.ZfPet; |
| | | import com.ruoyi.mapper.ZfPetMapper; |
| | | import com.ruoyi.service.ZfPetService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * <p> |
| | | * 魅宠基本信息 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author ojq |
| | | * @since 2023-03-12 |
| | | */ |
| | | @Service |
| | | public class ZfPetServiceImpl extends ServiceImpl<ZfPetMapper, ZfPet> implements ZfPetService { |
| | | |
| | | } |