New file |
| | |
| | | package com.panzhihua.applets.api; |
| | | |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActAnnouncementVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表控制层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:55 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = {"通知公告"}) |
| | | @RestController |
| | | @RequestMapping("comActAnnouncement") |
| | | public class ComActAnnouncementApi extends BaseController { |
| | | /** |
| | | * 服务对象 |
| | | */ |
| | | @Resource |
| | | private CommunityService communityService; |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @ApiOperation(value = "分页查询所有数据",response = ComActAnnouncementVO.class) |
| | | @PostMapping("queryAll") |
| | | public R selectAll(@RequestBody CommonPage commonPage) { |
| | | commonPage.setCommunityId(this.getCommunityId()); |
| | | return this.communityService.comActAnnouncementSelectAll(commonPage); |
| | | } |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @ApiOperation("通过主键查询单条数据") |
| | | @GetMapping("{id}") |
| | | public R selectOne(@PathVariable("id") Long id) { |
| | | return this.communityService.comActAnnouncementSelectOne(id); |
| | | } |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @ApiOperation("新增数据") |
| | | @PostMapping |
| | | public R insert(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | comActAnnouncementVO.setCreateTime(new Date()); |
| | | comActAnnouncementVO.setCommunityId(this.getCommunityId()); |
| | | return this.communityService.comActAnnouncementInsert(comActAnnouncementVO); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @ApiOperation("修改数据") |
| | | @PostMapping("/update") |
| | | public R update(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | return this.communityService.comActAnnouncementUpdate(comActAnnouncementVO); |
| | | } |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @ApiOperation("删除数据") |
| | | @GetMapping("del") |
| | | public R delete(@RequestParam("id") Long id) { |
| | | return this.communityService.comActAnnouncementDelete(id); |
| | | } |
| | | } |
| | |
| | | required = true) @RequestParam(value = "provinceAdcode") Integer provinceAdcode) { |
| | | return communityService.getCityTreeByProvinceCode(provinceAdcode); |
| | | } |
| | | @ApiOperation(value = "社区详情", response = ComActVO.class) |
| | | @GetMapping("community") |
| | | public R detailCommunity() { |
| | | return communityService.detailCommunity(this.getCommunityId()); |
| | | } |
| | | } |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.BannerVO; |
| | | import org.springframework.util.ObjectUtils; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | return R.ok(Constants.IS_SHOP_OPEN); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取最新活动和用户最新收益", response = ComActEasyPhotoRewardVO.class) |
| | | @ApiOperation(value = "获取最新活动和用户最新收益", response = BannerVO.class) |
| | | @GetMapping("getUserReward") |
| | | public R getUserReward(@RequestParam("communityId") Long communityId) { |
| | | Long userId = 0L; |
| | |
| | | loginReturnVO.setToken(token); |
| | | loginReturnVO.setRefreshToken(refeshToken); |
| | | loginReturnVO.setUserId(loginUser.getUserId()); |
| | | loginReturnVO.setCommunityId(loginUser.getCommunityId()); |
| | | return loginReturnVO; |
| | | } |
| | | |
| | |
| | | @ApiModelProperty(value = "预约登记id") |
| | | private Long reserveId; |
| | | |
| | | @ApiModelProperty(value = "关键字") |
| | | private String keyword; |
| | | |
| | | @ApiModelProperty(value = "来攀/离攀开始时间") |
| | | private String beginTime; |
| | | |
| | | @ApiModelProperty(value = "来攀/离攀结束时间") |
| | | private String stopTime; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author zzj |
| | | */ |
| | | @Data |
| | | @ApiModel |
| | | public class ComActAnnouncementVO { |
| | | private Long id; |
| | | |
| | | /** |
| | | * 内容 |
| | | */ |
| | | @ApiModelProperty(value = "内容") |
| | | private String content; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 发布人id |
| | | */ |
| | | @ApiModelProperty(value = "发布人id") |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 通知类型id |
| | | */ |
| | | @ApiModelProperty(value = "通知类型id") |
| | | private Long columnId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty(value = "社区id") |
| | | private Long communityId; |
| | | |
| | | /** |
| | | * 发布人 |
| | | */ |
| | | @ApiModelProperty("发布人") |
| | | private String username; |
| | | |
| | | @ApiModelProperty("分类名称") |
| | | private String columnName; |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author zzj |
| | | */ |
| | | @Data |
| | | @ApiModel |
| | | public class ComActColumnVO { |
| | | private Long id; |
| | | |
| | | /** |
| | | * 分类名称 |
| | | */ |
| | | @ApiModelProperty(value = "分类名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 修改人 |
| | | */ |
| | | @ApiModelProperty(value = "修改人") |
| | | private String updateBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty(value = "修改时间") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 状态 0禁用 1启用 |
| | | */ |
| | | @ApiModelProperty(value = "状态 0禁用 1启用") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 分类类型 1服务类型分类 2技能分类 3通知公告 |
| | | */ |
| | | @ApiModelProperty(value = "分类类型 1服务类型分类 2技能分类 3通知公告") |
| | | private Integer type; |
| | | |
| | | private Long communityId; |
| | | |
| | | } |
| | |
| | | |
| | | @ApiModelProperty(value = "查询筛选:0-本小区 1-全部") |
| | | private Integer choice; |
| | | |
| | | @ApiModelProperty(value = "社区动态跳转链接") |
| | | private String jumpUrl; |
| | | |
| | | @ApiModelProperty("跳转状态") |
| | | private Integer jumpType; |
| | | } |
| | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.BannerVO; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @ApiModelProperty("应用预约/登记列表") |
| | | private List<ComActReserveIndexVo> comActReserveIndexApplicationVos; |
| | | |
| | | @ApiModelProperty("动态banner") |
| | | private List<BannerVO> bannerVOS; |
| | | |
| | | } |
| | |
| | | private Date time; |
| | | @ApiModelProperty("用户昵称") |
| | | private String nickName; |
| | | @ApiModelProperty("选项类型(0 单选 1 多选 2 输入框 3 手机号 4 身份证 5 文字描述 6 日期选择 7 时间选择 8 可换行的输入框 9姓名输入框 10图片选择 11文件上传)") |
| | | @ApiModelProperty("选项类型(0 单选 1 多选 2 输入框 3 手机号 4 身份证 5 文字描述 6 日期选择 7 时间选择 8 可换行的输入框 9姓名输入框 10图片选择 11文件上传 12签名)") |
| | | private Integer optionType; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.common.model.vos.community.easyPhoto; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author zzj |
| | | */ |
| | | @Data |
| | | @ApiModel |
| | | public class BannerVO { |
| | | private Long id; |
| | | @ApiModelProperty("1社区动态、2居民活动、志愿者活动、3党员活动、4问卷调查、5党建动态、6预约登记、7随手拍活动") |
| | | private Integer type; |
| | | @ApiModelProperty("发布时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date showTime; |
| | | @ApiModelProperty("图片路径") |
| | | private String cover; |
| | | @ApiModelProperty("跳转地址") |
| | | private String jumpUrl; |
| | | } |
| | |
| | | |
| | | @ApiModelProperty("社区名称") |
| | | private String communityName; |
| | | |
| | | @ApiModelProperty("跳转链接") |
| | | private String jumpUrl; |
| | | |
| | | @ApiModelProperty("跳转状态") |
| | | private Integer jumpType; |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/population/house/status/task") |
| | | R timedTaskHouseJobHandler(); |
| | | |
| | | /** |
| | | * 导出特殊群体 |
| | | * |
| | | * @param pageInputUserDTO 请求参数 |
| | | * @return 特殊群体列表 |
| | | */ |
| | | @PostMapping("common/data/special/export") |
| | | R specialInputUserExport(@RequestBody PageInputUserDTO pageInputUserDTO); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("/comActAnnouncement/queryAll") |
| | | R comActAnnouncementSelectAll(@RequestBody CommonPage commonPage); |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @GetMapping("/comActAnnouncement/{id}") |
| | | R comActAnnouncementSelectOne(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/comActAnnouncement") |
| | | R comActAnnouncementInsert(@RequestBody ComActAnnouncementVO comActAnnouncementVO); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/comActAnnouncement/update") |
| | | R comActAnnouncementUpdate(@RequestBody ComActAnnouncementVO comActAnnouncementVO); |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/comActAnnouncement/del") |
| | | R comActAnnouncementDelete(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("/comActColumn/queryAll") |
| | | R comActColumnSelectAll(@RequestBody CommonPage commonPage); |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @GetMapping("/comActColumn/{id}") |
| | | R comActColumnSelectOne(@PathVariable("id") Long id); |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActColumn 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping("/comActColumn") |
| | | R comActColumnInsert(@RequestBody ComActColumnVO comActColumn); |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActColumn 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/comActColumn/update") |
| | | R comActColumnUpdate(@RequestBody ComActColumnVO comActColumn); |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("/comActColumn/del") |
| | | R comActColumnDelete(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 高龄认证添加 |
| | | * |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/elders/authRecord/add") |
| | | R addAuthRecord(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); |
| | | |
| | | /** |
| | | * 养老认证添加 |
| | | * |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/elders/pensionAuthRecord/add") |
| | | R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO); |
| | | } |
| | |
| | | |
| | | import com.panzhihua.common.model.vos.community.ComActQuestnaireAnswerContentVO; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.io.FileUtils; |
| | | |
| | | import javax.imageio.ImageIO; |
| | | import javax.xml.bind.DatatypeConverter; |
| | | import java.awt.image.BufferedImage; |
| | | import java.io.*; |
| | | import java.net.URL; |
| | | import java.nio.file.Files; |
| | | import java.util.ArrayList; |
| | | import java.util.Base64; |
| | | import java.util.List; |
| | | import java.util.UUID; |
| | | |
| | | /** |
| | | * @author lyq |
| | |
| | | } |
| | | continue; |
| | | } |
| | | //判断当前组件类型是否签名 |
| | | if(userAnswers.getOptionType().equals(12)){ |
| | | reserveSubId = userAnswers.getReserveSubId(); |
| | | try { |
| | | userData.add(DatatypeConverter.parseBase64Binary(userAnswers.getAnswerContent().substring(userAnswers.getAnswerContent().indexOf(",") + 1))); |
| | | }catch (Exception e){ |
| | | userData.add(" "); |
| | | log.error("导出转换图片失败!"); |
| | | } |
| | | continue; |
| | | } |
| | | |
| | | if(userAnswers.getOptionType().equals(1)){ |
| | | isOldDuo = true; |
| | |
| | | } |
| | | continue; |
| | | } |
| | | //判断当前组件类型是否签名 |
| | | if(userAnswers.getOptionType().equals(12)){ |
| | | reserveSubId = userAnswers.getReserveSubId(); |
| | | try { |
| | | //userData.add(new URL("http://image.panzhihua.nhys.cdnhxx.com//idcard/967dbdef3ef3465a9169fbea204f9aa7.jpg")); |
| | | userData.add(DatatypeConverter.parseBase64Binary(userAnswers.getAnswerContent().substring(userAnswers.getAnswerContent().indexOf(",") + 1))); |
| | | }catch (Exception e){ |
| | | userData.add(" "); |
| | | log.error("导出转换图片失败!"); |
| | | } |
| | | continue; |
| | | } |
| | | if(userAnswers.getOptionType().equals(1)){ |
| | | isOldDuo = true; |
| | | sb.append(userAnswers.getAnswerContent()==null?"无":userAnswers.getAnswerContent() + ","); |
| | |
| | | } |
| | | return resultList; |
| | | } |
| | | |
| | | public static File createTmpFile(InputStream inputStream, String name, String ext, File tmpDirFile) throws IOException { |
| | | File resultFile = File.createTempFile(name, '.' + ext, tmpDirFile); |
| | | resultFile.deleteOnExit(); |
| | | FileUtils.copyToFile(inputStream, resultFile); |
| | | return resultFile; |
| | | } |
| | | |
| | | public static File bytesToFile(byte[] bytes, String fileType) throws IOException { |
| | | return createTmpFile(new ByteArrayInputStream(bytes), |
| | | UUID.randomUUID().toString(), |
| | | fileType, |
| | | Files.createTempDirectory("tempFile").toFile()); |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.community_backstage.api; |
| | | |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActAnnouncementVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表控制层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:55 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = {"通知公告"}) |
| | | @RestController |
| | | @RequestMapping("comActAnnouncement") |
| | | public class ComActAnnouncementApi extends BaseController { |
| | | /** |
| | | * 服务对象 |
| | | */ |
| | | @Resource |
| | | private CommunityService communityService; |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @ApiOperation(value = "分页查询所有数据",response = ComActAnnouncementVO.class) |
| | | @PostMapping("queryAll") |
| | | public R selectAll(@RequestBody CommonPage commonPage) { |
| | | commonPage.setCommunityId(this.getCommunityId()); |
| | | return this.communityService.comActAnnouncementSelectAll(commonPage); |
| | | } |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @ApiOperation("通过主键查询单条数据") |
| | | @GetMapping("{id}") |
| | | public R selectOne(@PathVariable("id") Long id) { |
| | | return this.communityService.comActAnnouncementSelectOne(id); |
| | | } |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @ApiOperation("新增数据") |
| | | @PostMapping |
| | | public R insert(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | comActAnnouncementVO.setCreateTime(new Date()); |
| | | comActAnnouncementVO.setCommunityId(this.getCommunityId()); |
| | | comActAnnouncementVO.setUserId(this.getUserId()); |
| | | return this.communityService.comActAnnouncementInsert(comActAnnouncementVO); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @ApiOperation("修改数据") |
| | | @PostMapping("/update") |
| | | public R update(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | return this.communityService.comActAnnouncementUpdate(comActAnnouncementVO); |
| | | } |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @ApiOperation("删除数据") |
| | | @GetMapping("del") |
| | | public R delete(@RequestParam("id") Long id) { |
| | | return this.communityService.comActAnnouncementDelete(id); |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.community_backstage.api; |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActColumnVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 分类列表(ComActColumn)表控制层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-10-20 17:28:14 |
| | | */ |
| | | @Slf4j |
| | | @Api(tags = {"分类管理"}) |
| | | @RestController |
| | | @RequestMapping("comActColumn") |
| | | public class ComActColumnApi extends BaseController { |
| | | /** |
| | | * 服务对象 |
| | | */ |
| | | @Resource |
| | | private CommunityService communityService; |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @ApiOperation(value = "分页查询所有数据",response = ComActColumnVO.class) |
| | | @PostMapping("queryAll") |
| | | public R selectAll(@RequestBody CommonPage commonPage) { |
| | | commonPage.setCommunityId(this.getCommunityId()); |
| | | return this.communityService.comActColumnSelectAll(commonPage); |
| | | } |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @ApiOperation("通过主键查询单条数据") |
| | | @GetMapping("{id}") |
| | | public R selectOne(@PathVariable("id") Long id) { |
| | | return this.communityService.comActColumnSelectOne(id); |
| | | } |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActColumnVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @ApiOperation("新增数据") |
| | | @PostMapping |
| | | public R insert(@RequestBody ComActColumnVO comActColumnVO) { |
| | | comActColumnVO.setCommunityId(this.getCommunityId()); |
| | | comActColumnVO.setStatus(1); |
| | | comActColumnVO.setCreateTime(new Date()); |
| | | if(StringUtils.isNotEmpty(this.getLoginUserInfo().getName())){ |
| | | comActColumnVO.setCreateBy(this.getLoginUserInfo().getName()); |
| | | } |
| | | return communityService.comActColumnInsert(comActColumnVO); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActColumnVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @ApiOperation("修改数据") |
| | | @PostMapping("/update") |
| | | public R update(@RequestBody ComActColumnVO comActColumnVO) { |
| | | comActColumnVO.setUpdateTime(new Date()); |
| | | if(StringUtils.isNotEmpty(this.getLoginUserInfo().getName())){ |
| | | comActColumnVO.setUpdateBy(this.getLoginUserInfo().getName()); |
| | | } |
| | | return this.communityService.comActColumnUpdate(comActColumnVO); |
| | | } |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @ApiOperation("删除数据") |
| | | @GetMapping("del") |
| | | public R delete(@RequestParam("id") Long id) { |
| | | return this.communityService.comActColumnDelete(id); |
| | | } |
| | | } |
| | | |
| | |
| | | @ApiOperation(value = "分页查询预约登记列表", response = ComActReserveListAdminVO.class) |
| | | @PostMapping("/page") |
| | | public R page(@RequestBody PageReserveAdminDTO pageReserveDTO) { |
| | | if(pageReserveDTO.getCommunityId()==null){ |
| | | Long communityId = this.getCommunityId(); |
| | | pageReserveDTO.setCommunityId(communityId); |
| | | } |
| | | return communityService.pageReserveAdmin(pageReserveDTO); |
| | | } |
| | | |
| | |
| | | HorizontalCellStyleStrategy horizontalCellStyleStrategy = |
| | | new HorizontalCellStyleStrategy(headWriteCellStyle, contentWriteCellStyle); |
| | | |
| | | excelWriter = EasyExcel.write(fileName, ComMngPopulationExcelVo.class) |
| | | |
| | | excelWriter = EasyExcel.write(fileName) |
| | | .registerWriteHandler(horizontalCellStyleStrategy).registerWriteHandler(new Custemhandler()) |
| | | .registerWriteHandler(new CustomSheetWriteHandler()).build(); |
| | | WriteSheet writeSheet = EasyExcel.writerSheet("登记明细导出数据").head(headList).build(); |
| | |
| | | |
| | | @ApiOperation(value = "特殊群体-数据导出") |
| | | @PostMapping("/special/export") |
| | | public R dataExportSpecilPopulation() { |
| | | public R dataExportSpecilPopulation(@RequestBody PageInputUserDTO pageInputUserDTO) { |
| | | // 获取登陆用户 |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); |
| | | // 获取登陆用户绑定社区id |
| | | Long communityId = loginUserInfo.getCommunityId(); |
| | | pageInputUserDTO.setCommunityId(communityId); |
| | | // 生成动态模板excel通过ftp工具上传到主节点,然后返回模板下载地址 |
| | | String ftpUrl = "/mnt/data/web/excel/"; |
| | | String name = "特殊群体导出数据.xlsx"; |
| | |
| | | ExcelWriter excelWriter = null; |
| | | InputStream inputStream = null; |
| | | try { |
| | | List<ComMngPopulationVO> populList = JSON.parseArray( |
| | | JSON.toJSONString(communityService.getPopulationListByCommunityId(communityId).getData()), |
| | | ComMngPopulationVO.class); |
| | | List<InputUserInfoVO> populList = JSON.parseArray( |
| | | JSON.toJSONString(communityService.specialInputUserExport(pageInputUserDTO).getData()), |
| | | InputUserInfoVO.class); |
| | | List<ComMngPopulationExcelVo> populationExcelVoList = new ArrayList<>(); |
| | | if (populList != null && populList.size() > 0) { |
| | | for (ComMngPopulationVO popul : populList) { |
| | | if (popul.getLabel() == null) { |
| | | for (InputUserInfoVO popul : populList) { |
| | | if (popul.getTags() == null) { |
| | | continue; |
| | | } |
| | | ComMngPopulationExcelVo populationExcelVo = new ComMngPopulationExcelVo(); |
| | |
| | | loginUserInfoVO.setCommunityId(this.getCommunityId()); |
| | | return userService.pageUserFace(loginUserInfoVO); |
| | | } |
| | | /** |
| | | * 社区详情 |
| | | * |
| | | * 社区id |
| | | * @return 社区详情 |
| | | */ |
| | | @ApiOperation("查询社区详情") |
| | | @PostMapping("detailcommunity") |
| | | public R detailCommunity() { |
| | | return communityService.detailCommunity(this.getCommunityId()); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑人脸采集数据通过、驳回、删除") |
| | | @PutMapping("putuserface") |
| | |
| | | return communityService.signPensionAuthRecords(comPensionAuthRecordVO); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 高龄认证添加 |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "高龄认证添加") |
| | | @PostMapping("/authRecord/add") |
| | | R addAuthRecord(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO){ |
| | | return communityService.addAuthRecord(comElderAuthRecordVO); |
| | | } |
| | | /** |
| | | * 养老认证添加 |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "养老认证添加") |
| | | @PostMapping("/pensionAuthRecord/add") |
| | | R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO){ |
| | | return communityService.addPensionAuthRecordVO(comElderAuthRecordVO); |
| | | } |
| | | |
| | | /** |
| | | * 养老认证导出 exportPensionAuthRecords 养老认证导出 |
| | | * @param ids 养老认证记录id集合 |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.community.ComActAnnouncementVO; |
| | | import com.panzhihua.service_community.entity.ComActAnnouncement; |
| | | import com.panzhihua.service_community.service.ComActAnnouncementService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表控制层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:55 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("comActAnnouncement") |
| | | public class ComActAnnouncementApi { |
| | | /** |
| | | * 服务对象 |
| | | */ |
| | | @Resource |
| | | private ComActAnnouncementService comActAnnouncementService; |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("queryAll") |
| | | public R selectAll(@RequestBody CommonPage commonPage) { |
| | | return this.comActAnnouncementService.pageList(commonPage); |
| | | } |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @GetMapping("{id}") |
| | | public R selectOne(@PathVariable("id") Long id) { |
| | | return R.ok(this.comActAnnouncementService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping |
| | | public R insert(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | ComActAnnouncement comActAnnouncement=new ComActAnnouncement(); |
| | | BeanUtils.copyProperties(comActAnnouncementVO,comActAnnouncement); |
| | | return R.ok(this.comActAnnouncementService.save(comActAnnouncement)); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActAnnouncementVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/update") |
| | | public R update(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | ComActAnnouncement comActAnnouncement=new ComActAnnouncement(); |
| | | BeanUtils.copyProperties(comActAnnouncementVO,comActAnnouncement); |
| | | return R.ok(this.comActAnnouncementService.updateById(comActAnnouncement)); |
| | | } |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("del") |
| | | public R delete(@RequestParam("id") Long id) { |
| | | return R.ok(this.comActAnnouncementService.removeById(id)); |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.api; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.api.ApiController; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.vos.community.ComActColumnVO; |
| | | import com.panzhihua.service_community.entity.ComActColumn; |
| | | import com.panzhihua.service_community.service.ComActColumnService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 分类列表(ComActColumn)表控制层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 14:38:26 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("comActColumn") |
| | | public class ComActColumnApi { |
| | | /** |
| | | * 服务对象 |
| | | */ |
| | | @Resource |
| | | private ComActColumnService comActColumnService; |
| | | |
| | | /** |
| | | * 分页查询所有数据 |
| | | * |
| | | * @param commonPage 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("queryAll") |
| | | public R selectAll(@RequestBody CommonPage commonPage) { |
| | | return this.comActColumnService.pageList(commonPage); |
| | | } |
| | | |
| | | /** |
| | | * 通过主键查询单条数据 |
| | | * |
| | | * @param id 主键 |
| | | * @return 单条数据 |
| | | */ |
| | | @GetMapping("{id}") |
| | | public R selectOne(@PathVariable("id") Serializable id) { |
| | | return R.ok(this.comActColumnService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param comActColumnVO 实体对象 |
| | | * @return 新增结果 |
| | | */ |
| | | @PostMapping |
| | | public R insert(@RequestBody ComActColumnVO comActColumnVO) { |
| | | ComActColumn comActColumn=new ComActColumn(); |
| | | BeanUtils.copyProperties(comActColumnVO,comActColumn); |
| | | return R.ok(this.comActColumnService.save(comActColumn)); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param comActColumnVO 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping("/update") |
| | | public R update(@RequestBody ComActColumnVO comActColumnVO) { |
| | | ComActColumn comActColumn=new ComActColumn(); |
| | | BeanUtils.copyProperties(comActColumnVO,comActColumn); |
| | | return R.ok(this.comActColumnService.updateById(comActColumn)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param id 主键结合 |
| | | * @return 删除结果 |
| | | */ |
| | | @GetMapping("del") |
| | | public R delete(@RequestParam("id") Long id) { |
| | | return R.ok(this.comActColumnService.removeById(id)); |
| | | } |
| | | } |
| | |
| | | public R specialInputUser(@RequestBody PageInputUserDTO pageInputUserDTO) { |
| | | return comMngPopulationService.specialInputUser(pageInputUserDTO); |
| | | } |
| | | /** |
| | | * 导出特殊群体 |
| | | * |
| | | * @param pageInputUserDTO |
| | | * 请求参数 |
| | | * @return 特殊群体列表 |
| | | */ |
| | | @PostMapping("/special/export") |
| | | public R specialInputUserExport(@RequestBody PageInputUserDTO pageInputUserDTO) { |
| | | return comMngPopulationService.specialInputUserExport(pageInputUserDTO); |
| | | } |
| | | |
| | | /** |
| | | * 删除特殊群体人员 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 高龄认证添加 |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/authRecord/add") |
| | | R addAuthRecord(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO){ |
| | | return comElderAuthRecordsService.add(comElderAuthRecordVO); |
| | | } |
| | | /** |
| | | * 养老认证添加 |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/pensionAuthRecord/add") |
| | | R addPensionAuthRecordVO(@RequestBody ComElderAuthRecordVO comElderAuthRecordVO){ |
| | | return comPensionAuthRecordService.add(comElderAuthRecordVO); |
| | | } |
| | | |
| | | /** |
| | | * 导出养老认证记录 exportPensionAuthRecordsStatistic 导出养老认证记录 |
| | | * @param pageElderAuthRecordsDTO 查询参数 |
| | | * @return R 查询结果 |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.community.ComActAnnouncementVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.panzhihua.service_community.entity.ComActAnnouncement; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表数据库访问层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:54 |
| | | */ |
| | | @Mapper |
| | | public interface ComActAnnouncementDao extends BaseMapper<ComActAnnouncement> { |
| | | /** |
| | | * 分页查询通知公告 |
| | | * @param page |
| | | * @param commonPage |
| | | * @return |
| | | */ |
| | | IPage<ComActAnnouncementVO> pageList(Page page,@Param("commonPage") CommonPage commonPage); |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.dao; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.panzhihua.service_community.entity.ComActColumn; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | /** |
| | | * 分类列表(ComActColumn)表数据库访问层 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 14:38:25 |
| | | */ |
| | | @Mapper |
| | | public interface ComActColumnDao extends BaseMapper<ComActColumn> { |
| | | /** |
| | | *多条件分页查询 |
| | | * @param page |
| | | * @param commonPage |
| | | * @return |
| | | */ |
| | | IPage<ComActColumn> pageList(Page page, @Param("commonPage") CommonPage commonPage); |
| | | |
| | | } |
| | |
| | | @Mapper |
| | | public interface ComActDynDAO extends BaseMapper<ComActDynDO> { |
| | | @Select("<script> " + "SELECT " + "d.id, " + "d.title, " + "COUNT(u.id)readNum, " + "d.`status`, " |
| | | + "d.`content`, " + "d.`cover`, " + "d.`type`, " + "d.`cover_mode`, " + "d.is_topping, " + "d.publish_at, " |
| | | + "d.`content`, " + "d.`cover`, " + "d.`type`, " + "d.`cover_mode`, d.jump_url,d.jump_type, " + "d.is_topping, " + "d.publish_at, " |
| | | + "d.create_at, " + "cadt.`name` as typeName, " + "cadt.color as typeColor, " + "ca.name as communityName " |
| | | + "FROM " + "com_act_dyn d " + "LEFT JOIN com_act_dyn_user u ON d.id = u.dyn_id " |
| | | + "LEFT JOIN com_act_dyn_type as cadt ON cadt.id = d.type " |
| | |
| | | import com.panzhihua.common.model.dtos.community.easyPhoto.ExportEasyPhotoDTO; |
| | | import com.panzhihua.common.model.vos.community.ComActEasyPhotoVO; |
| | | import com.panzhihua.common.model.vos.community.TodoEventsVO; |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.BannerVO; |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoCountVO; |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoStatisticsVO; |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.ExportEasyPhotoVO; |
| | |
| | | * @return 社区待处理随手拍id集合 |
| | | */ |
| | | List<Long> easyPhotoNoHandleIds(@Param("communityId")Long communityId); |
| | | |
| | | /** |
| | | * 查询banner |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | List<BannerVO> banner(@Param("communityId") Long communityId); |
| | | } |
| | |
| | | */ |
| | | IPage<InputUserInfoVO> specialInputUser(Page page, @Param("pageInputUserDTO") PageInputUserDTO pageInputUserDTO); |
| | | |
| | | /** |
| | | * |
| | | * @param pageInputUserDTO |
| | | * @return |
| | | */ |
| | | List<InputUserInfoVO> specialInputUserExport(@Param("pageInputUserDTO") PageInputUserDTO pageInputUserDTO); |
| | | |
| | | @Select("<script> " |
| | | + "select id,tag_name,community_id,create_at,sys_flag from com_mng_user_tag <where> " |
| | | + "<if test='comMngUserTagDTO.tagName != null and comMngUserTagDTO.tagName != ""'>" |
New file |
| | |
| | | package com.panzhihua.service_community.entity; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表实体类 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:54 |
| | | */ |
| | | @Data |
| | | @Builder |
| | | @AllArgsConstructor |
| | | @NoArgsConstructor |
| | | @ApiModel("") |
| | | public class ComActAnnouncement implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -26741210716448548L; |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 内容 |
| | | */ |
| | | @ApiModelProperty(value = "内容") |
| | | private String content; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 发布人id |
| | | */ |
| | | @ApiModelProperty(value = "发布人id") |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 通知类型id |
| | | */ |
| | | @ApiModelProperty(value = "通知类型id") |
| | | private Long columnId; |
| | | |
| | | /** |
| | | * 社区id |
| | | */ |
| | | @ApiModelProperty(value = "社区id") |
| | | private Long communityId; |
| | | |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.entity; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | |
| | | /** |
| | | * 分类列表(ComActColumn)表实体类 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 14:38:25 |
| | | */ |
| | | @Data |
| | | @Builder |
| | | @AllArgsConstructor |
| | | @NoArgsConstructor |
| | | @ApiModel("分类列表") |
| | | public class ComActColumn implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 935049089365383863L; |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 分类名称 |
| | | */ |
| | | @ApiModelProperty(value = "分类名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 创建人 |
| | | */ |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @ApiModelProperty(value = "创建时间") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 修改人 |
| | | */ |
| | | @ApiModelProperty(value = "修改人") |
| | | private String updateBy; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty(value = "修改时间") |
| | | private Date updateTime; |
| | | |
| | | /** |
| | | * 状态 0禁用 1启用 |
| | | */ |
| | | @ApiModelProperty(value = "状态 0禁用 1启用") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 分类类型 1服务类型分类 2技能分类3公告分类 |
| | | */ |
| | | @ApiModelProperty(value = "分类类型 1服务类型分类 2技能分类3公告分类") |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @ApiModelProperty(value = "描述") |
| | | private String description; |
| | | |
| | | |
| | | private Long communityId; |
| | | |
| | | } |
| | |
| | | * 封面模式:1-小图展示 2-大图展示 |
| | | */ |
| | | private Integer coverMode; |
| | | |
| | | /** |
| | | * 跳转链接 |
| | | */ |
| | | private String jumpUrl; |
| | | |
| | | /** |
| | | * 跳转状态 |
| | | */ |
| | | private Integer jumpType; |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.entity.ComActAnnouncement; |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表服务接口 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:55 |
| | | */ |
| | | public interface ComActAnnouncementService extends IService<ComActAnnouncement> { |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param commonPage |
| | | * @return |
| | | */ |
| | | R pageList(CommonPage commonPage); |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.panzhihua.service_community.entity.ComActColumn; |
| | | |
| | | /** |
| | | * 分类列表(ComActColumn)表服务接口 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 14:38:25 |
| | | */ |
| | | public interface ComActColumnService extends IService<ComActColumn> { |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param commonPage |
| | | * @return |
| | | */ |
| | | R pageList(CommonPage commonPage); |
| | | } |
| | |
| | | * @return 认证记录详情 |
| | | */ |
| | | R retrieveElderAuthDetail(Long identityAuthId); |
| | | |
| | | /** |
| | | * 高龄认证添加 |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | R add(ComElderAuthRecordVO comElderAuthRecordVO); |
| | | } |
| | |
| | | R relationVillage(String name); |
| | | |
| | | R getVillagePopulationAdmin(PageComMngVillagePopulationDTO villagePopulationDTO); |
| | | |
| | | /** |
| | | * 导出特殊人群 |
| | | * @param PageInputUserDTO |
| | | * @return |
| | | */ |
| | | R specialInputUserExport(PageInputUserDTO PageInputUserDTO); |
| | | } |
| | |
| | | import com.panzhihua.common.model.dtos.community.PageElderAuthRecordsDTO; |
| | | import com.panzhihua.common.model.dtos.community.PageIdentityAuthRecordDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComElderAuthRecordVO; |
| | | import com.panzhihua.common.model.vos.community.ComPensionAuthRecordImportExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComPensionAuthRecordVO; |
| | | import com.panzhihua.service_community.model.dos.ComPensionAuthRecordDO; |
| | |
| | | * @return 认证记录详情 |
| | | */ |
| | | R retrievePensionAuthDetail(Long identityAuthId); |
| | | |
| | | /** |
| | | * 新增认证 |
| | | * @param comElderAuthRecordVO |
| | | * @return |
| | | */ |
| | | R add(ComElderAuthRecordVO comElderAuthRecordVO); |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.entity.ComActAnnouncement; |
| | | import com.panzhihua.service_community.dao.ComActAnnouncementDao; |
| | | import com.panzhihua.service_community.service.ComActAnnouncementService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * (ComActAnnouncement)表服务实现类 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 13:45:55 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComActAnnouncementServiceImpl extends ServiceImpl<ComActAnnouncementDao, ComActAnnouncement> implements ComActAnnouncementService { |
| | | @Resource |
| | | private ComActAnnouncementDao comActAnnouncementDao; |
| | | @Override |
| | | public R pageList(CommonPage commonPage) { |
| | | return R.ok(comActAnnouncementDao.pageList(new Page(commonPage.getPage(),commonPage.getSize()),commonPage)); |
| | | } |
| | | } |
New file |
| | |
| | | package com.panzhihua.service_community.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.property.CommonPage; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.service_community.entity.ComActColumn; |
| | | import com.panzhihua.service_community.dao.ComActColumnDao; |
| | | import com.panzhihua.service_community.service.ComActColumnService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * 分类列表(ComActColumn)表服务实现类 |
| | | * |
| | | * @author makejava |
| | | * @since 2021-11-01 14:38:25 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class ComActColumnServiceImpl extends ServiceImpl<ComActColumnDao, ComActColumn> implements ComActColumnService { |
| | | @Resource |
| | | private ComActColumnDao comActColumnDao; |
| | | @Override |
| | | public R pageList(CommonPage commonPage) { |
| | | return R.ok(this.comActColumnDao.pageList(new Page(commonPage.getPage(),commonPage.getSize()),commonPage)); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.vos.community.easyPhoto.BannerVO; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | |
| | | if(!comActReserveIndexApplicationVos.isEmpty()){ |
| | | easyPhotoRewardVO.setComActReserveIndexApplicationVos(comActReserveIndexApplicationVos); |
| | | } |
| | | //查询banner |
| | | List<BannerVO> bannerVOS=this.comActEasyPhotoDAO.banner(communityId); |
| | | if(!bannerVOS.isEmpty()){ |
| | | easyPhotoRewardVO.setBannerVOS(bannerVOS); |
| | | } |
| | | return R.ok(easyPhotoRewardVO); |
| | | } |
| | | |
| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.io.BufferedOutputStream; |
| | | import java.io.File; |
| | | import java.io.FileOutputStream; |
| | | import java.io.IOException; |
| | | import java.math.BigDecimal; |
| | | import java.math.RoundingMode; |
| | | import java.util.ArrayList; |
| | |
| | | public R reserveListApplets(Long communityId){ |
| | | return R.ok(this.baseMapper.getReserveIndexList(communityId)); |
| | | } |
| | | |
| | | |
| | | public static void getFileByBytes(byte[] bytes, String filePath, String fileName) { |
| | | BufferedOutputStream bos = null; |
| | | FileOutputStream fos = null; |
| | | File file = null; |
| | | try { |
| | | File dir = new File(filePath); |
| | | if (!dir.exists()) {// 判断文件目录是否存在 |
| | | dir.mkdirs(); |
| | | } |
| | | file = new File(filePath + fileName); |
| | | fos = new FileOutputStream(file); |
| | | bos = new BufferedOutputStream(fos); |
| | | bos.write(bytes); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } finally { |
| | | if (bos != null) { |
| | | try { |
| | | bos.close(); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | if (fos != null) { |
| | | try { |
| | | fos.close(); |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | public R retrieveElderAuthDetail(Long identityAuthId) { |
| | | return R.ok(comElderAuthRecordsDAO.findById(identityAuthId)); |
| | | } |
| | | |
| | | @Override |
| | | public R add(ComElderAuthRecordVO comElderAuthRecordVO) { |
| | | if(!comElderAuthRecordVO.getIdCard().isEmpty()){ |
| | | List<ComMngPopulationDO> comMngPopulationDOS=comMngPopulationDAO.selectList(new QueryWrapper<ComMngPopulationDO>().lambda().eq(ComMngPopulationDO::getCardNoStr,comElderAuthRecordVO.getIdCard()).orderByDesc(ComMngPopulationDO::getCreateAt)); |
| | | if(!comMngPopulationDOS.isEmpty()){ |
| | | ComMngPopulationDO comMngPopulationDO=comMngPopulationDOS.get(0); |
| | | ComElderAuthElderliesDO comElderAuthElderliesDO=comElderAuthElderliesDAO.selectOne(new QueryWrapper<ComElderAuthElderliesDO>().lambda().eq(ComElderAuthElderliesDO::getPopulationId,comMngPopulationDO.getId())); |
| | | if(comElderAuthElderliesDO!=null){ |
| | | Integer count=comElderAuthRecordsDAO.selectCount(new QueryWrapper<ComElderAuthRecordsDO>().lambda().eq(ComElderAuthRecordsDO::getElderliesId,comElderAuthElderliesDO.getId()).eq(ComElderAuthRecordsDO::getAuthPeriod,comElderAuthRecordVO.getAuthPeriod())); |
| | | if(count==0){ |
| | | ComElderAuthRecordsDO comElderAuthRecordsDO=new ComElderAuthRecordsDO(); |
| | | BeanUtils.copyProperties(comElderAuthRecordVO,comElderAuthRecordsDO); |
| | | comElderAuthRecordsDO.setApprovalStatus(PASS_THROUGH.getStatus()); |
| | | comElderAuthRecordsDO.setApprovalDate(new Date()); |
| | | comElderAuthRecordsDO.setAuthStatus(CERTIFIED.getStatus()); |
| | | comElderAuthRecordsDO.setAuthMethod(ComPensionAuthRecordDO.authMethod.xxrz); |
| | | if (this.baseMapper.insert(comElderAuthRecordsDO) < 0) { |
| | | return R.fail("认证失败,请重新尝试"); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | return R.fail("当前期数已认证,请勿重复认证"); |
| | | } |
| | | return R.fail("无养老认证数据"); |
| | | } |
| | | return R.fail("该身份证无实有人口信息"); |
| | | } |
| | | return R.fail("身份证不能为空"); |
| | | } |
| | | } |
| | |
| | | new Page(villagePopulationDTO.getPageNum(), villagePopulationDTO.getPageSize()), villagePopulationDTO)); |
| | | } |
| | | |
| | | @Override |
| | | public R specialInputUserExport(PageInputUserDTO PageInputUserDTO) { |
| | | return R.ok(this.comMngPopulationDAO.specialInputUserExport(PageInputUserDTO)); |
| | | } |
| | | |
| | | private void setMistake(ComMngPopulationMistakeExcelVO mvo, ComMngPopulationServeExcelVO vo) { |
| | | mvo.setPoliticalOutlook(PopulPoliticalOutlookEnum.getCnDescByName(vo.getPoliticalOutlook())); |
| | | mvo.setIsRent(PopulHouseUseEnum.getCnDescByName(vo.getIsRent())); |
| | |
| | | public R retrievePensionAuthDetail(Long identityAuthId) { |
| | | return R.ok(comPensionAuthRecordDAO.findById(identityAuthId)); |
| | | } |
| | | |
| | | @Override |
| | | public R add(ComElderAuthRecordVO comElderAuthRecordVO) { |
| | | if(!comElderAuthRecordVO.getIdCard().isEmpty()){ |
| | | List<ComMngPopulationDO> comMngPopulationDOS=comMngPopulationDAO.selectList(new QueryWrapper<ComMngPopulationDO>().lambda().eq(ComMngPopulationDO::getCardNoStr,comElderAuthRecordVO.getIdCard()).orderByDesc(ComMngPopulationDO::getCreateAt)); |
| | | if(!comMngPopulationDOS.isEmpty()){ |
| | | ComMngPopulationDO comMngPopulationDO=comMngPopulationDOS.get(0); |
| | | ComPensionAuthPensionerDO comPensionAuthPensionerDO=comPensionAuthPensionerDAO.selectOne(new QueryWrapper<ComPensionAuthPensionerDO>().lambda().eq(ComPensionAuthPensionerDO::getPopulationId,comMngPopulationDO.getId())); |
| | | if(comPensionAuthPensionerDO!=null){ |
| | | Integer count=comPensionAuthRecordDAO.selectCount(new QueryWrapper<ComPensionAuthRecordDO>().lambda().eq(ComPensionAuthRecordDO::getPensionerId,comPensionAuthPensionerDO.getId()).eq(ComPensionAuthRecordDO::getAuthPeriod,comElderAuthRecordVO.getAuthPeriod())); |
| | | if(count==0){ |
| | | ComPensionAuthRecordDO comPensionAuthRecordDO=new ComPensionAuthRecordDO(); |
| | | BeanUtils.copyProperties(comElderAuthRecordVO,comPensionAuthRecordDO); |
| | | comPensionAuthRecordDO.setApprovalStatus(PASS_THROUGH.getStatus()); |
| | | comPensionAuthRecordDO.setApprovalDate(new Date()); |
| | | comPensionAuthRecordDO.setAuthStatus(CERTIFIED.getStatus()); |
| | | comPensionAuthRecordDO.setAuthMethod(ComPensionAuthRecordDO.authMethod.xxrz); |
| | | if (this.baseMapper.insert(comPensionAuthRecordDO) < 0) { |
| | | return R.fail("认证失败,请重新尝试"); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | return R.fail("当前期数也认证,请勿重复认证"); |
| | | } |
| | | return R.fail("无养老认证数据"); |
| | | } |
| | | return R.fail("该身份证无实有人口信息"); |
| | | } |
| | | return R.fail("身份证不能为空"); |
| | | } |
| | | } |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComActAnnouncementDao"> |
| | | |
| | | <resultMap type="com.panzhihua.service_community.entity.ComActAnnouncement" id="ComActAnnouncementBaseResultMap"> |
| | | <result property="id" column="id"/> |
| | | <result property="content" column="content"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="userId" column="user_id"/> |
| | | <result property="columnId" column="column_id"/> |
| | | <result property="communityId" column="community_id"/> |
| | | </resultMap> |
| | | |
| | | <select id="pageList" resultType="com.panzhihua.common.model.vos.community.ComActAnnouncementVO"> |
| | | select t.*,t1.name as username,t2.name as columnName from com_act_announcement t left join sys_user t1 on t.user_id = t1.user_id left join com_act_column t2 on t.column_id = t2.id |
| | | <where> |
| | | 1=1 |
| | | <if test="commonPage.communityId!=null"> |
| | | and t.community_id=#{commonPage.communityId} |
| | | </if> |
| | | <if test="commonPage.paramId!=null"> |
| | | and t.column_id =#{commonPage.paramId} |
| | | </if> |
| | | <if test="commonPage.keyword!=null"> |
| | | and t.content =#{commonPage.keyword} |
| | | </if> |
| | | </where> |
| | | order by t.create_time desc |
| | | </select> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComActColumnDao"> |
| | | |
| | | <resultMap type="com.panzhihua.service_community.entity.ComActColumn" id="ComActColumnBaseResultMap"> |
| | | <result property="id" column="id"/> |
| | | <result property="name" column="name"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="status" column="status"/> |
| | | <result property="type" column="type"/> |
| | | <result property="description" column="description"/> |
| | | </resultMap> |
| | | <select id="pageList" resultMap="ComActColumnBaseResultMap"> |
| | | select * from com_act_column |
| | | <where> |
| | | 1=1 |
| | | <if test="commonPage.type!=null"> |
| | | and type = #{commonPage.type} |
| | | </if> |
| | | <if test="commonPage.communityId!=null"> |
| | | and community_id = #{commonPage.communityId} |
| | | </if> |
| | | <if test="commonPage.status!=null"> |
| | | and status =#{commonPage.status} |
| | | </if> |
| | | <if test="commonPage.keyword!=null and commonPage.keyword!=''"> |
| | | and name like concat('%',#{commonPage.keyword},'%') |
| | | </if> |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | select id from com_act_easy_photo where `status` = 1 and community_id = #{communityId} and del_tag = 0 |
| | | </select> |
| | | |
| | | <select id="banner" resultType="com.panzhihua.common.model.vos.community.easyPhoto.BannerVO"> |
| | | select id,cover,publish_at as show_time,1 as type,jump_url from com_act_dyn where status =1 and cover is not null and community_id =#{communityId} |
| | | UNION ALL |
| | | select id,cover,publish_at as show_time,2 as type,"" as jump_url from com_act_activity where status =3 and cover is not null and community_id =#{communityId} |
| | | UNION ALL |
| | | select id,cover,release_time as show_time,3 as type,"" as jump_url from com_pb_activity where status =3 and cover is not null and community_id =#{communityId} |
| | | UNION ALL |
| | | select id,"" as cover,publish_time as show_time,4 as type,"" as jump_url from com_act_questnaire where state =2 and community_id =#{communityId} |
| | | UNION ALL |
| | | select id,cover,publish_at as show_time,5 as type,jump_url from com_pb_dyn where status =2 and cover is not null and community_id =#{communityId} |
| | | UNION ALL |
| | | select id,img_url,publish_time as show_time,6 as type,"" as jump_url from com_act_reserve where status =2 and community_id =#{communityId} |
| | | UNION ALL |
| | | select id,photo_path_list,examine_at as show_time,7 as type,"" as jump_url from com_act_easy_photo where status =2 and community_id =#{communityId} |
| | | order by show_time desc limit 30 |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | FROM |
| | | com_act_reserve_record AS carr |
| | | LEFT JOIN sys_user AS su ON su.user_id = carr.user_id |
| | | left join com_act_reserve_answer_content carac on carr.id=carac.reserve_record_id |
| | | WHERE |
| | | reserve_id = #{detailedAdminDTO.reserveId} |
| | | <if test='detailedAdminDTO.startTime != null and detailedAdminDTO.startTime != ""'> |
| | |
| | | <if test='detailedAdminDTO.endTime != null and detailedAdminDTO.endTime != ""'> |
| | | AND carr.create_at <![CDATA[ <= ]]> #{detailedAdminDTO.endTime} |
| | | </if> |
| | | <if test='detailedAdminDTO.beginTime != null and detailedAdminDTO.beginTime != ""'> |
| | | AND STR_TO_DATE(carac.answer_content,'%Y-%m-%d %H:%i:%s') <![CDATA[ >= ]]> #{detailedAdminDTO.beginTime} |
| | | </if> |
| | | <if test='detailedAdminDTO.stopTime != null and detailedAdminDTO.stopTime != ""'> |
| | | AND STR_TO_DATE(carac.answer_content,'%Y-%m-%d %H:%i:%s') <![CDATA[ <= ]]> #{detailedAdminDTO.stopTime} |
| | | </if> |
| | | <if test="detailedAdminDTO.keyword!=null and detailedAdminDTO.keyword != """> |
| | | AND carac.answer_content like concat ('%',${detailedAdminDTO.keyword},'%') |
| | | </if> |
| | | group by carr.id |
| | | </select> |
| | | |
| | | <select id="getRegisterDetailedAnswerList" resultType="com.panzhihua.common.model.vos.community.reserve.ComActReserveRegisterDetailedAnswerVO"> |
| | |
| | | com_act_reserve |
| | | <where> |
| | | and is_del = 2 |
| | | <if test="pageReserveDTO.communityId != null"> |
| | | <if test="pageReserveDTO.communityId != null and pageReserveDTO.communityId !=0"> |
| | | and community_id = #{pageReserveDTO.communityId} |
| | | </if> |
| | | <if test="pageReserveDTO.type != null and pageReserveDTO.type.size > 0"> |
| | |
| | | // " </where>" + |
| | | // "</script>") |
| | | |
| | | @Select("<script> " + "SELECT\n" + "d.id,\n" + "d.title,\n" + "COUNT( u.id ) readingVolume,\n" + "d.`status`,\n" |
| | | @Select("<script> " + "SELECT\n" + "d.id,\n" + "d.title, d.jump_url, d.jump_type,\n" + "COUNT( u.id ) readingVolume,\n" + "d.`status`,\n" |
| | | + "d.publish_at,\n" + "d.content,\n" + "d.cover,\n" + "d.cover_mode,\n" + "d.dyn_type,\n" + "d.create_at \n" |
| | | + "FROM\n" + "com_pb_dyn d\n" + "LEFT JOIN com_pb_dyn_user u ON d.id = u.dyn_id \n" |
| | | + "where d.type=#{partyBuildingComPbDynVO.type} \n" |
| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | * 封面模式:1-小图展示 2-大图展示 |
| | | */ |
| | | private Integer coverMode; |
| | | |
| | | /** |
| | | * 跳转链接 |
| | | */ |
| | | private String jumpUrl; |
| | | /** |
| | | * 跳转状态 |
| | | */ |
| | | |
| | | private Integer jumpType; |
| | | } |