From fe75dcfc5bc313c940d6f8eda564ebc4509846ab Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Thu, 21 Apr 2022 15:26:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/epmet/dto/IcHouseDTO.java | 5 ----- .../java/com/epmet/entity/IcHouseEntity.java | 5 ----- .../java/com/epmet/model/HouseInfoModel.java | 3 --- .../epmet/model/ImportHouseInfoListener.java | 17 ----------------- .../V0.0.17__edit_building_and_house.sql | 1 - .../main/resources/excel/house_template.xlsx | Bin 9649 -> 9529 bytes 6 files changed, 31 deletions(-) diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java index b2ccb2c1d2..2bec463b9b 100644 --- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java +++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java @@ -73,11 +73,6 @@ public class IcHouseDTO implements Serializable { */ private String doorName; - /** - * 排序 - */ - private Integer sort; - /** * 房屋类型,这里存储字典value就可以 */ diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java index 96ddb46fc6..4861c69271 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java @@ -73,11 +73,6 @@ public class IcHouseEntity extends BaseEpmetEntity { */ private String doorName; - /** - * 排序 - */ - private Integer sort; - /** * 房屋类型,这里存储字典value就可以 */ diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/HouseInfoModel.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/HouseInfoModel.java index 332fc6b6bb..740892f4cd 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/HouseInfoModel.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/HouseInfoModel.java @@ -50,9 +50,6 @@ public class HouseInfoModel { @ExcelProperty(value = "房主身份证") private String ownerIdCard; - @ExcelProperty(value = "排序") - private Integer sort; - @ExcelIgnore private Integer num; diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/ImportHouseInfoListener.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/ImportHouseInfoListener.java index 515e8127bc..31471fb3ed 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/ImportHouseInfoListener.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/model/ImportHouseInfoListener.java @@ -154,11 +154,6 @@ public class ImportHouseInfoListener extends AnalysisEventListener0) { - Pattern pattern = Pattern.compile("[0-9]*"); - Matcher isNum = pattern.matcher(str); - if (!isNum.matches()) { - return false; - } - return true; - } - return false; - } - public void disposeErrorMsg(HouseInfoModel data,String msg){ HouseErrorInfoModel err = ConvertUtils.sourceToTarget(data, HouseErrorInfoModel.class); err.setErrorMsg(msg); diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/db/migration/V0.0.17__edit_building_and_house.sql b/epmet-module/gov-org/gov-org-server/src/main/resources/db/migration/V0.0.17__edit_building_and_house.sql index a737175597..1117c368b7 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/resources/db/migration/V0.0.17__edit_building_and_house.sql +++ b/epmet-module/gov-org/gov-org-server/src/main/resources/db/migration/V0.0.17__edit_building_and_house.sql @@ -1,3 +1,2 @@ alter table ic_building add COLUMN BUILDING_LEADER_NAME VARCHAR(11) comment '楼长姓名' AFTER TOTAL_HOUSE_NUM; alter table ic_building add COLUMN BUILDING_LEADER_MOBILE VARCHAR(11) comment '楼长电话' AFTER BUILDING_LEADER_NAME; -alter table ic_house add COLUMN SORT INT(11) comment '排序' DEFAULT 0 AFTER DOOR_NAME; \ No newline at end of file diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/excel/house_template.xlsx b/epmet-module/gov-org/gov-org-server/src/main/resources/excel/house_template.xlsx index 37c0cc1c02b9a740d5135585b1bff8f7ed773a72..31d9ea9120972eda2819859009fa0fdc195ddfac 100644 GIT binary patch delta 4845 zcmZ8lS5VW9vkkpVks4}90)#FgARvS)9U@JLpd!6XmjFNMRaywrI|xFMCcXEfDDX)~ zx=4{AQWfF)&D=Zp{_j5Q!_LmxhqJS@=hW%7>ei+ck)isu&P=gcL_C11UcV&sFd=-U zX!DDJd-E-|#jr8M8>Axf%_$x3g92hYjf)nC--A z<4&4X`YgfeHypgNXmPjerHvlQz&cBfEKGonn}S zku%9{`=IcrLaO2Q*CSl zyzA|QTYhqH9#!~Ta2aP%8n%)bCzFZl~fMETbS=%EFP-cn^7jPT8_??K01bhB)mHD}!e6@wS3 z%$TR(L0>LjhO-yd;~|%jdd~(*l6s;Wj2Egn5>gQ8H8lvt4#I}P!N8z7+LKe0IrQGT zN}^V*;B5Pzt8GV3w!FuZzht{Sk&SZ2)G`)$I*E@_`~%y0QsC*3kze&0Hicejd*1cOC)R^XyA-iQ>&8Z3Cgtlv1!v;revBA|jL-<0ON*mKwQ6 ze-#&6I4%8rG@01rvs=48S!9&F{kM@Euh_}h=Zz8_@`Xi)IrFfBC5CTT(Nygacp&V|9V8*0WeKw+mdPU3{HyiCGoYY z4`nIqObvE=-0!29+Vu+|x0hUi=-dMvlww6}E zIwXnKi&9|GOAyqrt@NSXH^=*6Jp@@b9GCp3Irqlp;>(u~?e@WzdX7~evo=(xK=iPq zo!Ehgo-|jn7eLVZdbYLuZI_<)(gOL24iSg;^p}F*a5oDyd)xyb)~UM+Wn8QV`>V4z zxpI31sWW%16N$a|*A+HT0&b)$uYDQ-o!FLX*2cn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QR000QHpc|$I0{kD7pdS^JT_Gw2 zWE}tilOZD(lc6CR0f>{lA(I7A`e%q!lT;#90SJ?+B0vXU1ONbdY%i0cBpi|n1d|XW z3IVW_8zVLX*B+C59vqWzBM=;%Y4e+Q0RRB`0ssIM000000000103ZMW0B0JL5gHbg zWF!z9`su$IstN!A)=&Td4FCWD000000RSKX005Gc+#@;yUkQ^KBsBqslTIW+0uLOM zkR&?+fRoH5Aser^!ZUpY005E;000;O0000000031AOHXWtdj^OD+ZJy00000cyLOe From 37fb4042fa67a534c522836369b507259d9dc7fc Mon Sep 17 00:00:00 2001 From: zhaoqifeng Date: Thu, 21 Apr 2022 16:09:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/epmet/dto/IcHouseDTO.java | 13 +++--- .../epmet/dto/result/HouseListResultDTO.java | 1 + .../service/impl/IcHouseServiceImpl.java | 40 ++++++++++++++++++- 3 files changed, 47 insertions(+), 7 deletions(-) diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java index 2bec463b9b..755d3ff086 100644 --- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java +++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcHouseDTO.java @@ -17,9 +17,10 @@ package com.epmet.dto; +import lombok.Data; + import java.io.Serializable; import java.util.Date; -import lombok.Data; /** @@ -57,12 +58,12 @@ public class IcHouseDTO implements Serializable { * 所属楼栋id */ private String buildingId; - + private String buildingName; /** * 所属单元id */ private String buildingUnitId; - + private String unitName; /** * 房屋名字后台插入时生成 */ @@ -77,17 +78,17 @@ public class IcHouseDTO implements Serializable { * 房屋类型,这里存储字典value就可以 */ private String houseType; - + private String houseTypeName; /** * 存储字典value */ private String purpose; - + private String purposeName; /** * 1出租;0未出租 */ private Integer rentFlag; - + private String rentName; /** * 房主姓名 */ diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/HouseListResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/HouseListResultDTO.java index a63f415e94..c3ae6f07e1 100644 --- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/HouseListResultDTO.java +++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/HouseListResultDTO.java @@ -18,6 +18,7 @@ public class HouseListResultDTO implements Serializable { private static final long serialVersionUID = 2063032844842070847L; private String houseId; private String houseName; + private String rentFlag; private List categoryList; @NoArgsConstructor diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcHouseServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcHouseServiceImpl.java index 102dbc168f..c2ca4fba8e 100644 --- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcHouseServiceImpl.java +++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcHouseServiceImpl.java @@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; import com.epmet.commons.tools.constant.FieldConstant; import com.epmet.commons.tools.constant.NumConstant; +import com.epmet.commons.tools.constant.StrConstant; import com.epmet.commons.tools.dto.result.OptionResultDTO; import com.epmet.commons.tools.exception.RenException; import com.epmet.commons.tools.page.PageData; @@ -18,11 +19,17 @@ import com.epmet.dto.IcResiCategoryStatsConfigDTO; import com.epmet.dto.IcResiUserDTO; import com.epmet.dto.ImportGeneralDTO; import com.epmet.dto.form.HouseFormDTO; +import com.epmet.dto.result.HouseInfoDTO; import com.epmet.dto.result.HouseListResultDTO; import com.epmet.dto.result.HousesNameResultDTO; import com.epmet.entity.IcHouseEntity; +import com.epmet.enums.HousePurposeEnums; +import com.epmet.enums.HouseRentFlagEnums; +import com.epmet.enums.HouseTypeEnums; +import com.epmet.feign.EpmetAdminOpenFeignClient; import com.epmet.feign.EpmetUserOpenFeignClient; import com.epmet.feign.OperCustomizeOpenFeignClient; +import com.epmet.redis.IcHouseRedis; import com.epmet.service.IcHouseService; import lombok.extern.slf4j.Slf4j; import org.apache.commons.collections4.CollectionUtils; @@ -47,6 +54,10 @@ public class IcHouseServiceImpl extends BaseServiceImpl categories = new ArrayList<>(); if (null != countMap && CollectionUtils.isNotEmpty(categoryList)) { for (IcResiCategoryStatsConfigDTO category : categoryList) {