springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java
@@ -113,7 +113,7 @@ @ApiOperation(value = "动态/政策文件详情", response = PartyBuildingComPbDynVO.class) @GetMapping("infodynamic") public R infoYnamic(@RequestParam("id") Long id) { R r = partyBuildingService.infoYnamic(id); R r = partyBuildingWestService.infoYnamic(id); if (R.isOk(r)) { if (ObjectUtils.isEmpty(id) || 0 == id) { return R.fail("主键id不能为空"); @@ -131,7 +131,7 @@ comPbDynUserVO.setCreateAt(new Date()); comPbDynUserVO.setDynId(id); comPbDynUserVO.setUserId(userId); R r1 = partyBuildingService.addDynUser(comPbDynUserVO); R r1 = partyBuildingWestService.addDynUser(comPbDynUserVO); if (R.isOk(r1)) { partyBuildingComPbDynVO.setIsAdd(1); } else { springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/java/com/panzhihua/applets_backstage/api/UserApi.java
@@ -79,7 +79,7 @@ @ApiOperation("重置密码") @GetMapping("/unlock") public R unlock(@RequestParam("type")Integer type,@RequestParam("isReset")Integer isReset,@RequestParam("account")String account){ stringRedisTemplate.delete("LOGIN_FAIL_"+account+"_"+type); stringRedisTemplate.delete("LOGIN_FAIL_"+account+"_"+type+"_"+this.getAppId()); if(isReset==1){ userService.resetPasswordAccount(type,account); } springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java
@@ -33,6 +33,7 @@ public class LoginUserInfoVO { @ApiModelProperty("user_id") @JsonSerialize(using = ToStringSerializer.class) private Long userId; @ApiModelProperty("微信会话密钥") @@ -123,6 +124,7 @@ private String tags; @ApiModelProperty("家庭id") @JsonSerialize(using = ToStringSerializer.class) private Long familyId; @ApiModelProperty(value = "分页每页数量", example = "10") @@ -144,6 +146,7 @@ private List<ComMngStructHouseVO> comMngStructHouseVOS; @ApiModelProperty("用户小区id") @JsonSerialize(using = ToStringSerializer.class) // @Min(value = 1,groups = {PutGroup.class},message = "用户小区id不能为空") // @NotNull(groups = {PutGroup.class},message = "用户小区id不能为空") private Long areaId; @@ -212,12 +215,14 @@ @ApiModelProperty("areaCode") private String areaCode; @ApiModelProperty("街道id") @JsonSerialize(using = ToStringSerializer.class) private Long streetId; @ApiModelProperty("账号类型 1街道 2社区 3社会组织") private Integer userType; @ApiModelProperty("社会组织Id") @JsonSerialize(using = ToStringSerializer.class) private Long orgId; @ApiModelProperty("是否是防疫工作人员 1.是 2.否") @@ -233,6 +238,7 @@ private Integer isCheckUnitAdmin; @ApiModelProperty("报道单位id") @JsonSerialize(using = ToStringSerializer.class) private Long checkUnitId; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActColumnVO.java
@@ -60,12 +60,15 @@ @ApiModelProperty(value = "分类类型 1服务类型分类 2技能分类 3通知公告 4项目分类") private Integer type; @JsonSerialize(using = ToStringSerializer.class) private Long communityId; @ApiModelProperty(value = "父类id") @JsonSerialize(using = ToStringSerializer.class) private Long parentId; @ApiModelProperty("街道id") @JsonSerialize(using = ToStringSerializer.class) private Long streetId; private String description; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActQuestnaireAppVO.java
@@ -1,5 +1,7 @@ package com.panzhihua.common.model.vos.community; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -9,6 +11,7 @@ public class ComActQuestnaireAppVO { @ApiModelProperty("调查问卷id") @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("组件唯一key") private String projectKey; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActReserveIndexVo.java
@@ -1,5 +1,7 @@ package com.panzhihua.common.model.vos.community; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -7,7 +9,7 @@ @Data @ApiModel("预约/登记返回参数") public class ComActReserveIndexVo { @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("标题") private String title; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngStructAreaCityVO.java
@@ -2,6 +2,8 @@ import java.util.List; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -17,7 +19,8 @@ public class ComMngStructAreaCityVO { @ApiModelProperty("自增 id") private Integer id; @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("城市名称") private String cityName; @@ -29,7 +32,7 @@ private Integer provinceAdcode; @ApiModelProperty("省份 id") private Integer provinceId; private Long provinceId; @ApiModelProperty("下属区县") private List<ComMngStructAreaDistrictVO> comMngStructAreaDistrictVOS; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngStructAreaDistrictVO.java
@@ -1,5 +1,7 @@ package com.panzhihua.common.model.vos.community; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -14,7 +16,8 @@ @ApiModel("区县") public class ComMngStructAreaDistrictVO { @ApiModelProperty("自增 id") private Integer id; @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("区县名称") private String districtName; @@ -26,11 +29,11 @@ private Integer cityAdcode; @ApiModelProperty("城市 id") private Integer cityId; private Long cityId; @ApiModelProperty("省份行政区划代码") private Integer provinceAdcode; @ApiModelProperty("省份 id") private Integer provinceId; private Long provinceId; } springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngStructAreaProvinceVO.java
@@ -2,6 +2,8 @@ import java.util.List; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -17,7 +19,8 @@ public class ComMngStructAreaProvinceVO { @ApiModelProperty("自增 id") private Integer id; @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("省份名称") private String provinceName; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComMngStructOtherBuildVO.java
@@ -25,6 +25,7 @@ private String name; @ApiModelProperty("建筑类型id") @JsonSerialize(using = ToStringSerializer.class) private Long typeId; @ApiModelProperty("面积") @@ -52,5 +53,6 @@ private String buileTypeName; @ApiModelProperty("社区id") @JsonSerialize(using = ToStringSerializer.class) private Long communityId; } springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/acid/ComActAcidDangerMemberVO.java
@@ -41,6 +41,7 @@ * 填报记录id */ @ApiModelProperty(value = "填报记录id") @JsonSerialize(using = ToStringSerializer.class) private Long recordId; /** springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/acid/ComActAcidRecordVO.java
@@ -139,6 +139,7 @@ * 用户id */ @ApiModelProperty(value = "用户id") @JsonSerialize(using = ToStringSerializer.class) private Long userId; @ApiModelProperty("定位地址") @@ -173,9 +174,11 @@ private String transportInfo; @ApiModelProperty("上一条id") @JsonSerialize(using = ToStringSerializer.class) private Long lastId; @ApiModelProperty("下一条id") @JsonSerialize(using = ToStringSerializer.class) private Long nextId; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/acid/ComAreaCounty.java
@@ -1,5 +1,7 @@ package com.panzhihua.common.model.vos.community.acid; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import lombok.Data; import java.util.List; @@ -10,6 +12,7 @@ @Data public class ComAreaCounty { private String value; @JsonSerialize(using = ToStringSerializer.class) private Long communityId; private List<ComAreaCounty> children; } springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/cluster/admin/PageClusterMemberAdminVo.java
@@ -1,5 +1,7 @@ package com.panzhihua.common.model.vos.community.cluster.admin; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -13,6 +15,7 @@ public class PageClusterMemberAdminVo { @ApiModelProperty("主键id") @JsonSerialize(using = ToStringSerializer.class) private Long id; @ApiModelProperty("群团组织成员名称") @@ -34,6 +37,7 @@ private String idCard; @ApiModelProperty("所属群团组织id") @JsonSerialize(using = ToStringSerializer.class) private Long clusterId; @ApiModelProperty("所属群团组织名称") springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/easyPhoto/ComActEasyPhotoMemberVO.java
@@ -1,6 +1,8 @@ package com.panzhihua.common.model.vos.community.easyPhoto; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; @@ -26,12 +28,14 @@ private static final long serialVersionUID = 309168056104824588L; @JsonSerialize(using = ToStringSerializer.class) private Long id; /** * 社区id */ @ApiModelProperty(value = "社区id") @JsonSerialize(using = ToStringSerializer.class) private Long communityId; /** springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/AdministratorsUserVO.java
@@ -6,6 +6,8 @@ import javax.validation.constraints.Pattern; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.panzhihua.common.validated.AddGroup; import io.swagger.annotations.ApiModel; @@ -36,6 +38,7 @@ private String name; @ApiModelProperty("角色") @JsonSerialize(using = ToStringSerializer.class) @Min(value = 1, groups = {AddGroup.class}, message = "角色不能为空") private Long roleId; @@ -57,6 +60,7 @@ private Long communityId; @ApiModelProperty(value = "用户主键") @JsonSerialize(using = ToStringSerializer.class) private Long userId; @ApiModelProperty(value = "当前页数") @@ -94,12 +98,14 @@ private String areaCode; @ApiModelProperty(value = "街道id") @JsonSerialize(using = ToStringSerializer.class) private Long streetId; @ApiModelProperty(value = "三社账户类型 1街道 2社会组织 3社会组织成员") private Integer socialType; @ApiModelProperty("社会组织id") @JsonSerialize(using = ToStringSerializer.class) private Long orgId; @ApiModelProperty("绑定单位") springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/StreetVO.java
@@ -12,7 +12,7 @@ public class StreetVO implements Serializable { @ApiModelProperty("街道id") private Integer id; private Long id; @ApiModelProperty("街道名") private String name; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/StreetVOS.java
@@ -10,7 +10,7 @@ @ApiModel public class StreetVOS { @ApiModelProperty("街道id") private Integer id; private Long id; @ApiModelProperty("街道名") private String name; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/SysUserVO.java
@@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -19,6 +21,7 @@ public class SysUserVO { @ApiModelProperty("主键") @JsonSerialize(using = ToStringSerializer.class) private Long userId; @ApiModelProperty("手机号") springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -3,8 +3,6 @@ import java.util.List; import com.panzhihua.common.model.dtos.PageBaseDTO; import com.panzhihua.common.model.dtos.civil.*; import com.panzhihua.common.model.dtos.common.*; import com.panzhihua.common.model.dtos.community.acid.*; import com.panzhihua.common.model.dtos.community.dpc.AddDpcDTO; import com.panzhihua.common.model.dtos.community.dpc.EditDpcDTO; @@ -13,10 +11,7 @@ import com.panzhihua.common.model.dtos.community.reserve.*; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; import com.panzhihua.common.model.dtos.community.*; import com.panzhihua.common.model.dtos.community.building.admin.*; import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; import com.panzhihua.common.model.dtos.community.cluster.admin.*; import com.panzhihua.common.model.dtos.property.CommonPage; import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO; import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO; @@ -27,10 +22,7 @@ import com.panzhihua.common.model.dtos.neighbor.*; import com.panzhihua.common.model.dtos.property.PagePropertyWorkerDTO; import com.panzhihua.common.model.dtos.property.PropertyWorkerDTO; import com.panzhihua.common.model.vos.*; import com.panzhihua.common.model.vos.civil.ComActSocialWorkerDetailsVO; import com.panzhihua.common.model.vos.civil.ComActSocialWorkerVO; import com.panzhihua.common.model.vos.community.*; import com.panzhihua.common.model.vos.community.acid.ComActAcidCheckRecordVO; import com.panzhihua.common.model.vos.community.acid.ComActAcidMemberVO; import com.panzhihua.common.model.vos.community.acid.ComActAcidRecordVO; @@ -39,12 +31,6 @@ import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; import com.panzhihua.common.model.vos.community.reserve.ComActReserveDangerAreaVO; import com.panzhihua.common.model.vos.community.social.*; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import com.panzhihua.common.model.vos.community.*; import org.springframework.beans.BeanUtils; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.scheduling.annotation.Async; import org.springframework.web.bind.annotation.DeleteMapping; @@ -56,7 +42,6 @@ import org.springframework.web.bind.annotation.RequestParam; import com.panzhihua.common.model.dtos.AppletesBackstageConfigDTO; import com.panzhihua.common.model.dtos.PageBaseDTO; import com.panzhihua.common.model.dtos.PageDTO; import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO; import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO; @@ -124,7 +109,6 @@ import com.panzhihua.common.model.dtos.community.ExportComMngCarExcelDTO; import com.panzhihua.common.model.dtos.community.ExportRealAssetsExcelDTO; import com.panzhihua.common.model.dtos.community.ExportRealCompanyExcelDTO; import com.panzhihua.common.model.dtos.community.GetIdentityEidTokenDTO; import com.panzhihua.common.model.dtos.community.GrantRewardDTO; import com.panzhihua.common.model.dtos.community.KeyPersonInfoDTO; import com.panzhihua.common.model.dtos.community.OperationDetailDTO; @@ -172,7 +156,6 @@ import com.panzhihua.common.model.dtos.community.building.admin.EditBuildingUnitDto; import com.panzhihua.common.model.dtos.community.building.admin.PageBuildingListDto; import com.panzhihua.common.model.dtos.community.building.admin.PageBuildingUnitHouseListDto; import com.panzhihua.common.model.dtos.community.cluster.PageClusterMemberDto; import com.panzhihua.common.model.dtos.community.cluster.admin.AddClusterAdminDto; import com.panzhihua.common.model.dtos.community.cluster.admin.AddClusterMemberAdminDto; import com.panzhihua.common.model.dtos.community.cluster.admin.EditClusterAdminDto; @@ -195,18 +178,12 @@ import com.panzhihua.common.model.dtos.community.convenient.PagePopularMerchantDTO; import com.panzhihua.common.model.dtos.community.convenient.PageSearchDTO; import com.panzhihua.common.model.dtos.community.convenient.ResetPasswordConvenientMerchantDTO; import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussDetailDTO; import com.panzhihua.common.model.dtos.community.discuss.ComActDiscussPublishResultDTO; import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoActivityDTO; import com.panzhihua.common.model.dtos.community.easyPhoto.AddEasyPhotoClassifyDTO; import com.panzhihua.common.model.dtos.community.easyPhoto.EditEasyPhotoActivityDTO; import com.panzhihua.common.model.dtos.community.easyPhoto.ExportEasyPhotoDTO; import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityDTO; import com.panzhihua.common.model.dtos.community.easyPhoto.PageEasyPhotoActivityUserDTO; import com.panzhihua.common.model.dtos.community.elder.ElderAuthStatisticHeaderDTO; import com.panzhihua.common.model.dtos.community.elder.PageElderAuthStatisticDTO; import com.panzhihua.common.model.dtos.community.elder.PagePensionAuthStatisticDTO; import com.panzhihua.common.model.dtos.community.elder.SignElderAuthStatisticDTO; import com.panzhihua.common.model.dtos.community.fms.AddFmsClassroomAdminDTO; import com.panzhihua.common.model.dtos.community.fms.AddFmsServiceAdminDTO; import com.panzhihua.common.model.dtos.community.fms.AddTeamDTO; @@ -283,7 +260,6 @@ import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletAdminDTO; import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeAdminDTO; import com.panzhihua.common.model.dtos.community.wallet.PageComActWalletTradeDTO; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseApplyDTO; import com.panzhihua.common.model.dtos.community.warehouse.ComActWarehouseDonatesDTO; import com.panzhihua.common.model.dtos.community.warehouse.ExportDonatesDTO; import com.panzhihua.common.model.dtos.community.warehouse.PageDonatesDTO; @@ -319,7 +295,6 @@ import com.panzhihua.common.model.dtos.neighbor.DeleteNeighborCircleAppDTO; import com.panzhihua.common.model.dtos.neighbor.DetailNeighborAllCommentByAdminDTO; import com.panzhihua.common.model.dtos.neighbor.DetailNeighborCommentReplyByAdminDTO; import com.panzhihua.common.model.dtos.property.CommonPage; import com.panzhihua.common.model.dtos.shop.ComShopAddressDTO; import com.panzhihua.common.model.dtos.shop.ComShopCartDTO; import com.panzhihua.common.model.dtos.shop.ComShopEditNubCartDTO; @@ -353,7 +328,6 @@ import com.panzhihua.common.model.vos.DictionaryVO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.SystemmanagementConfigVO; import com.panzhihua.common.model.vos.civil.ComActSocialWorkerVO; import com.panzhihua.common.model.vos.community.ActivitySignVO; import com.panzhihua.common.model.vos.community.BatchhouseVO; import com.panzhihua.common.model.vos.community.ComActActEvaluateVO; @@ -420,7 +394,6 @@ import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyActivity; import com.panzhihua.common.model.vos.community.bigscreen.BigScreenStatisticPartyBuild; import com.panzhihua.common.model.vos.community.bigscreen.PartyBuildingMemberVO; import com.panzhihua.common.model.vos.community.cluster.admin.ComClusterMemberExcelVO; import com.panzhihua.common.model.vos.community.convenient.ConvenientMerchantVO; import com.panzhihua.common.model.vos.community.fms.ComFmsServiceImportExcelVO; import com.panzhihua.common.model.vos.community.fms.ComFmsTeamMemberImportExcelVO; @@ -429,8 +402,6 @@ import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo; import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO; import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleRecordVO; import com.panzhihua.common.model.vos.community.raffle.ComActRaffleVO; import com.panzhihua.common.model.vos.community.rentHouse.RentingHourseOrderVO; import com.panzhihua.common.model.vos.community.rentHouse.RentingHoursePreOrderVO; import com.panzhihua.common.model.vos.community.rentHouse.WxPayNotifyOrderVO; @@ -9941,7 +9912,7 @@ @RequestParam(value = "page",required = false) Integer page, @RequestParam(value = "size",required = false) Integer size, @RequestParam(value = "belongTo",required = false) String belongTo, @RequestParam(value = "unitId",required = false) Long unitId); @RequestParam(value = "unitId",required = false) Long unitId,@RequestParam(value = "loginAccount",required = false) String loginAccount); /** * 批量删除活动 * @param ids springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/BigScreenStatisticsApi.java
@@ -547,7 +547,7 @@ @ApiOperation(value = "查询所有社区", response = StreetAllAppletsVO.class) @GetMapping("/list/act") public R list() { return communityService.communitySwitchList(this.getAreaCode()); return communityService.communitySwitchList(this.getAppId()); } @ApiOperation(value = "清网治格-根据事件分类获取近1月的社区事件数据", response = EventGridIncidentStatisticsVO.class) springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/LoginApi.java
@@ -41,7 +41,7 @@ if (empty || empty1) { return R.fail("账户密码不能为空"); } R r = tokenService.loginGridApp(account, password); R r = tokenService.loginGridApp(account, password,this.getAppId()); if (R.isOk(r)) { LoginReturnsVO returnsVO = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), LoginReturnsVO.class); springcloud_k8s_panzhihuazhihuishequ/grid_backstage/src/main/java/com/panzhihua/grid_backstage/api/LoginApi.java
@@ -40,7 +40,7 @@ if (empty || empty1) { return R.fail("账户密码不能为空"); } R r = tokenService.loginGridBackstage(account, password); R r = tokenService.loginGridBackstage(account, password,this.getAppId()); return r; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/CommonDataApi.java
@@ -319,7 +319,7 @@ * @return */ @GetMapping("/area/all") R getCityTreeByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode, public R getCityTreeByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode, @RequestParam(value = "areaCode", required = false) String areaCode) { return comMngProvinceService.getCityTreeByProvinceCode(provinceAdcode, areaCode); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActNeighborCircleWestDAO.java
@@ -41,7 +41,7 @@ @Select("<script> " + "select canc.id,su.nick_name as name,su.image_url as headUrl,canc.release_content " + ",canc.release_images,canc.comment_num,canc.fabulous_num,canc.forward_num,canc.views_num,canct.name as topicName,canc.refuse_reason " + ",canc.is_boutique,canc.create_at,canc.reply_at,su.community_id,canc.type from com_act_neighbor_circle as canc " + ",canc.is_boutique,canc.create_at,canc.reply_at,su.community_id,canc.type from com_act_neighbor_circle_west as canc " + " left join sys_user as su on su.user_id = canc.release_id " + " left join com_act_neighbor_circle_topic as canct on canct.id = canc.topic_id where canc.id = #{circleId} and canc.is_del = 2" + " </script>") @@ -55,7 +55,7 @@ @Select("<script> " + "select canc.id,canc.release_content,canc.release_images,canc.status,canc.create_at,canct.name as topicName" + ",canc.comment_num,canc.fabulous_num,canc.forward_num,canc.views_num,canc.refuse_reason,su.nick_name as name,su.image_url as headUrl " + " from com_act_neighbor_circle as canc " + " left join sys_user as su on su.user_id = canc.release_id " + " from com_act_neighbor_circle_west as canc " + " left join sys_user as su on su.user_id = canc.release_id " + " left join com_act_neighbor_circle_topic as canct on canct.id = canc.topic_id " + " where canc.release_id = #{userId} and canc.is_del = 2 and canc.status != 3 order by create_at desc" + " </script>") IPage<ComActNeighborCircleAppVO> neighborExamineByApp(Page page, @Param("userId") Long userId); @@ -68,19 +68,19 @@ + " where reply.comment_id = #{commentId} and reply.status = 1") IPage<ComActNeighborCommentReplyAppVO> neighborCommentReplyByApp(Page page, @Param("commentId") Long commentId); @Select("SELECT id,release_content as content FROM com_act_neighbor_circle WHERE community_id = ${communityId} and status = 2 ORDER BY create_at DESC limit #{pageSize}") @Select("SELECT id,release_content as content FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} and status = 2 ORDER BY create_at DESC limit #{pageSize}") List<CarouselInfoVO> screenNeighborCircle(@Param("communityId") Long communityId, @Param("pageSize") Integer pageSize); @Select(" SELECT COUNT(id) AS totalNum," + " (SELECT COUNT(id) FROM com_act_neighbor_circle WHERE community_id = ${communityId} AND status = 2 AND create_at LIKE CONCAT(#{nowDate},'%')) AS currentNum " + " FROM com_act_neighbor_circle WHERE community_id = ${communityId} AND status = 2") + " (SELECT COUNT(id) FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} AND status = 2 AND create_at LIKE CONCAT(#{nowDate},'%')) AS currentNum " + " FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} AND status = 2") Map<String, Long> countByCommunityId(@Param("communityId") Long communityId, @Param("nowDate") String nowDate); @Select("SELECT SUM(comment_num) as commentNum,SUM(fabulous_num) as fabulousNum,SUM(forward_num) as forwardNum FROM com_act_neighbor_circle WHERE community_id = ${communityId} and status = 2 ") @Select("SELECT SUM(comment_num) as commentNum,SUM(fabulous_num) as fabulousNum,SUM(forward_num) as forwardNum FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} and status = 2 ") Map<String, Object> sumScreenNum(@Param("communityId") Long communityId); @Select("SELECT release_images FROM com_act_neighbor_circle WHERE community_id = ${communityId} and status = 2 order by create_at desc limit #{pageSize}") @Select("SELECT release_images FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} and status = 2 order by create_at desc limit #{pageSize}") List<String> screenNeighborCircleImgs(@Param("communityId") Long communityId, @Param("pageSize") Integer pageSize); @Select("SELECT COUNT(id) as num,'随手拍' as name FROM com_act_easy_photo WHERE community_id = ${communityId} AND STATUS = 4 " @@ -89,7 +89,7 @@ + "UNION ALL " + "SELECT COUNT(id) as num,'一起议' as name FROM com_act_discuss WHERE community_id = ${communityId} " + "UNION ALL " + "SELECT COUNT(id) as num,'邻里圈' as name FROM com_act_neighbor_circle WHERE community_id = ${communityId} AND STATUS = 2 " + "SELECT COUNT(id) as num,'邻里圈' as name FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} AND STATUS = 2 " + "UNION ALL " + "SELECT COUNT( e.id ) AS num,'网格事件' AS name FROM `event` as e left join event_grid_data as egd on egd.id = e.grid_id WHERE egd.grid_community_id = ${communityId} AND e.event_process_status = 2 " + "UNION ALL " @@ -102,7 +102,7 @@ + "UNION ALL " + "SELECT COUNT(id) as num,'一起议' as name FROM com_act_discuss WHERE community_id = ${communityId} " + "UNION ALL " + "SELECT COUNT(id) as num,'邻里圈' as name FROM com_act_neighbor_circle WHERE community_id = ${communityId} AND STATUS = 1 " + "SELECT COUNT(id) as num,'邻里圈' as name FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} AND STATUS = 1 " + "UNION ALL " + "SELECT COUNT( e.id ) AS num,'网格事件' AS NAME FROM `event` as e left join event_grid_data as egd on egd.id = e.grid_id WHERE egd.grid_community_id = ${communityId} AND e.event_status = 2 and e.event_deal_status in (1,2,3) " + "UNION ALL " springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/ComActAcidMember.java
@@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; @@ -33,6 +35,7 @@ private static final long serialVersionUID = -88592294208705755L; @TableId(type = IdType.ASSIGN_ID) @JsonSerialize(using = ToStringSerializer.class) private Long id; /** springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/ComActEasyPhotoMember.java
@@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; @@ -33,6 +35,7 @@ private static final long serialVersionUID = 309168056104824588L; @TableId(type = IdType.ASSIGN_ID) @JsonSerialize(using = ToStringSerializer.class) private Long id; /** springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/message/AcidMessage.java
@@ -89,13 +89,13 @@ String town=comActAcidRecordVO.getLocalCity().split(",")[2]; String area=comActAcidRecordVO.getLocalCity().split(",")[1]; String country=comActAcidRecordVO.getLocalCity().split(",")[0]; List<ComActDO> comActDOS=comActDAO.selectList(new QueryWrapper<ComActDO>().lambda().eq(ComActDO::getName,town)); List<ComActDO> comActDOS=comActDAO.selectList(new QueryWrapper<ComActDO>().lambda().eq(ComActDO::getName,town).eq(ComActDO::getAppId,"wx118de8a734d269f0")); if(CollectionUtils.isNotEmpty(comActDOS)){ if(comActDOS.size()==1){ loginUserInfoVO.setCommunityId(comActDOS.get(0).getCommunityId()); } else { ComActDO comActDO=comActDAO.selectOne(new QueryWrapper<ComActDO>().lambda().eq(ComActDO::getName,town).and(comActDOLambdaQueryWrapper -> comActDOLambdaQueryWrapper.like(ComActDO::getAddress,town).or().like(ComActDO::getAddress,area).or().like(ComActDO::getAddress,country))); ComActDO comActDO=comActDAO.selectOne(new QueryWrapper<ComActDO>().lambda().eq(ComActDO::getAppId,"wx118de8a734d269f0").eq(ComActDO::getName,town).and(comActDOLambdaQueryWrapper -> comActDOLambdaQueryWrapper.like(ComActDO::getAddress,town).or().like(ComActDO::getAddress,area).or().like(ComActDO::getAddress,country))); if(comActDO!=null){ loginUserInfoVO.setCommunityId(comActDO.getCommunityId()); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActDO.java
@@ -115,4 +115,6 @@ */ private String plaintextPassword; private String appId; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngCityDO.java
@@ -11,7 +11,7 @@ public class ComMngCityDO { /** 自增 id */ @TableId(type = IdType.ASSIGN_ID) private Integer id; private Long id; /** 城市名称 */ private String cityName; @@ -23,5 +23,5 @@ private Integer provinceAdcode; /** 省份 id */ private Integer provinceId; private Long provinceId; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngDistrictDO.java
@@ -11,7 +11,7 @@ public class ComMngDistrictDO { /** 自增 id */ @TableId(type = IdType.ASSIGN_ID) private Integer id; private Long id; /** 区县名称 */ private String districtName; @@ -23,11 +23,11 @@ private Integer cityAdcode; /** 城市 id */ private Integer cityId; private Long cityId; /** 省份行政区划代码 */ private Integer provinceAdcode; /** 省份 id */ private Integer provinceId; private Long provinceId; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngProvinceDO.java
@@ -11,7 +11,7 @@ public class ComMngProvinceDO { /** 自增 id */ @TableId(type = IdType.ASSIGN_ID) private Integer id; private Long id; /** 省份名称 */ private String provinceName; springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngStructAreaDistrictDO.java
@@ -24,7 +24,7 @@ * 自增 id */ @TableId(type = IdType.ASSIGN_ID) private Integer id; private Long id; /** * 区县名称 @@ -44,7 +44,7 @@ /** * 城市 id */ private Integer cityId; private Long cityId; /** * 省份行政区划代码 @@ -54,5 +54,5 @@ /** * 省份 id */ private Integer provinceId; private Long provinceId; } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComMngVillageDO.java
@@ -47,11 +47,13 @@ /** * 社区id */ @JsonSerialize(using = ToStringSerializer.class) private Long communityId; /** * 街道id */ @JsonSerialize(using = ToStringSerializer.class) private Long streetId; /** springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java
@@ -1,9 +1,7 @@ package com.panzhihua.service_community.service.impl; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.stream.Collectors; import javax.annotation.Resource; springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngStructAreaDistrictServiceImpl.java
@@ -40,16 +40,16 @@ public R listAreaDistrict(Long cityAdcode) { List<ComMngStructAreaProvinceVO> comMngStructAreaProvinceVOS = new ArrayList<>(); ComMngStructAreaProvinceVO comMngStructAreaProvinceVO = new ComMngStructAreaProvinceVO(); comMngStructAreaProvinceVO.setId(23); comMngStructAreaProvinceVO.setId(23L); comMngStructAreaProvinceVO.setProvinceAdcode(510000); comMngStructAreaProvinceVO.setProvinceName("四川省"); List<ComMngStructAreaCityVO> comMngStructAreaCityVOS = new ArrayList<>(); ComMngStructAreaCityVO comMngStructAreaCityVO = new ComMngStructAreaCityVO(); comMngStructAreaCityVO.setCityAdcode(510400); comMngStructAreaCityVO.setCityName("攀枝花市"); comMngStructAreaCityVO.setId(256); comMngStructAreaCityVO.setId(256L); comMngStructAreaCityVO.setProvinceAdcode(510000); comMngStructAreaCityVO.setProvinceId(23); comMngStructAreaCityVO.setProvinceId(23L); List<ComMngStructAreaDistrictDO> comMngStructAreaDistrictDOS = comMngStructAreaDistrictDAO.selectList(new QueryWrapper<ComMngStructAreaDistrictDO>().lambda() .eq(ComMngStructAreaDistrictDO::getCityAdcode, cityAdcode)); springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActNeighborCircleWestDOMapper.xml
@@ -116,12 +116,12 @@ nc.`status` asc,nc.create_at desc </select> <select id="getAllImages" resultType="java.lang.String"> SELECT release_images FROM com_act_neighbor_circle SELECT release_images FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} AND `status` = 2 AND release_images IS NOT NULL AND release_images != '' ORDER BY create_at DESC limit #{pageSize} </select> <select id="getContents" resultType="java.lang.String"> SELECT release_content FROM com_act_neighbor_circle SELECT release_content FROM com_act_neighbor_circle_west WHERE community_id = ${communityId} AND `status` = 2 AND release_content IS NOT NULL AND release_content != '' ORDER BY create_at DESC limit #{pageSize} </select> springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComMngPopulationDOMapper.xml
@@ -291,7 +291,7 @@ cmpct.label, cmp.marriage, cmp.culture_level, cmp.profession, cmp.out_or_local, cmp.census_register, cmp.healthy, cmp.birthday, cmp.update_at, cmp.address, cmp.is_rent, cmp.person_type FROM com_mng_population_community_tags as cmpct LEFT JOIN com_mng_population AS cmp ON cmp.id = cmpct.population_id INNER JOIN com_mng_population AS cmp ON cmp.id = cmpct.population_id <where> <if test='comMngPopulationVO.name != null and comMngPopulationVO.name != ""'> AND cmp.`name` LIKE concat(#{comMngPopulationVO.name},'%') </if> springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/UserDao.java
@@ -360,7 +360,7 @@ /** * 获取街道下属村/社区 * */ List<CommunityVO> selectCommunityByStreetId(@Param("id") Integer streetId,@Param("type") Integer type); List<CommunityVO> selectCommunityByStreetId(@Param("id") Long streetId,@Param("type") Integer type); /** * 获取账户id springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/java/com/panzhihua/shop_backstage/api/ConvenientApi.java
@@ -115,7 +115,7 @@ JSONObject.parseObject(JSONObject.toJSONString(merchant.getData()), ConvenientMerchantVO.class); Boolean accountValid = merchantVO.getAccountStatus() == 1; if (accountValid) { R result = tokenService.loginMerchantBackStage(account, loginBody.getPassword()); R result = tokenService.loginMerchantBackStage(account, loginBody.getPassword(),this.getAppId()); return result; } else { return R.fail("账号被禁用"); springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/java/com/panzhihua/shop_backstage/api/LoginApi.java
@@ -63,7 +63,7 @@ JSONObject.parseObject(JSONObject.toJSONString(storeR.getData()), ShopStoreVO.class); Boolean accountValid = shopStoreVO.getStatus() == 1; if (accountValid) { R r = tokenService.loginShopBackStage(account, password); R r = tokenService.loginShopBackStage(account, password,this.getAppId()); return r; } else { return R.fail("账号被禁用"); springcloud_k8s_panzhihuazhihuishequ/shop_backstage/src/main/java/com/panzhihua/shop_backstage/api/MicroCommercialStreetApi.java
@@ -98,7 +98,7 @@ R r = userService.getMcsUserByOpenId(openid); if (R.isOk(r) && nonNull(r.getData())) { McsLoginUserInfoVO loginUserInfoVO = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), McsLoginUserInfoVO.class); return tokenService.loginMcsUser(loginUserInfoVO.getAccount(), loginUserInfoVO.getPlaintextPassword()); return tokenService.loginMcsUser(loginUserInfoVO.getAccount(), loginUserInfoVO.getPlaintextPassword(),this.getAppId()); } LoginReturnVO loginReturnVO = new LoginReturnVO(); loginReturnVO.setOpenId(openid); @@ -132,7 +132,7 @@ McsLoginUserInfoVO loginUserInfoVO = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), McsLoginUserInfoVO.class); isValid = loginUserInfoVO.getStatus() == 1; if (isValid) { R result = tokenService.loginMcsUser(loginUserInfoVO.getAccount(), loginUserInfoVO.getPlaintextPassword()); R result = tokenService.loginMcsUser(loginUserInfoVO.getAccount(), loginUserInfoVO.getPlaintextPassword(),this.getAppId()); return result; } else { return R.fail("账号被禁用"); @@ -167,7 +167,7 @@ throw new ServiceException("登录错误超过限制,请五分钟后重试"); } } R result = tokenService.loginMcsUser(account, password); R result = tokenService.loginMcsUser(account, password,this.getAppId()); return result; } else { return R.fail("账号被禁用"); @@ -200,7 +200,7 @@ McsLoginUserInfoVO loginUserInfoVO = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), McsLoginUserInfoVO.class); isValid = loginUserInfoVO.getStatus() == 1; if (isValid) { R result = tokenService.loginMcsUser(loginUserInfoVO.getAccount(), loginUserInfoVO.getPlaintextPassword()); R result = tokenService.loginMcsUser(loginUserInfoVO.getAccount(), loginUserInfoVO.getPlaintextPassword(),this.getAppId()); return result; } else { return R.fail("账号被禁用");