wuxw лет назад: 2
Родитель
Сommit
58314d995c

+ 1 - 0
service-community/src/main/java/com/java110/community/cmd/room/QueryRoomsByAppCmd.java

@@ -44,6 +44,7 @@ public class QueryRoomsByAppCmd extends Cmd {
     @Override
     public void doCmd(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException, ParseException {
         RoomDto roomDto = BeanConvertUtil.covertBean(reqJson, RoomDto.class);
+        roomDto.setUserId("");
 
         //查询总记录数
         int total = roomV1InnerServiceSMOImpl.queryRoomsCount(roomDto);

+ 1 - 1
service-fee/src/main/java/com/java110/fee/bmo/impl/QueryOweFeeImpl.java

@@ -94,7 +94,7 @@ public class QueryOweFeeImpl implements IQueryOweFee {
             try {
                 //todo 有目标结束时间,并且不是一次性费用
                 if (!StringUtil.isEmpty(feeDto.getTargetEndTime())
-                        && !FeeDto.FEE_FLAG_ONCE.equals(feeDtos.get(0).getFeeFlag())
+                        && !FeeDto.FEE_FLAG_ONCE.equals(tmpFeeDto.getFeeFlag())
                 ) {
                     computeFeeSMOImpl.computeEveryOweFeeByTargetEndTime(tmpFeeDto, feeDto.getTargetEndTime());//计算欠费金额
                 } else {

+ 3 - 3
service-user/src/main/java/com/java110/user/cmd/owner/OwnerRegisterCmd.java

@@ -167,16 +167,16 @@ public class OwnerRegisterCmd extends Cmd {
         for (OwnerDto tmpOwnerDto : ownerDtos) {
             CommunityDto communityDto = new CommunityDto();
             communityDto.setState("1100");
-            communityDto.setCommunityId(ownerDto.getCommunityId());
+            communityDto.setCommunityId(tmpOwnerDto.getCommunityId());
             communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto);
-            if (communityDtos == null || communityDtos.size() < 1) {
+            if (ListUtil.isNull(communityDtos)) {
                 continue;
             }
             communityDto = communityDtos.get(0);
             ownerAppUserPo = new OwnerAppUserPo();
             ownerAppUserPo.setAppUserId(GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_appUserId));
             ownerAppUserPo.setMemberId(tmpOwnerDto.getMemberId());
-            ownerAppUserPo.setCommunityId(communityDto.getCommunityId());
+            ownerAppUserPo.setCommunityId(tmpOwnerDto.getCommunityId());
             ownerAppUserPo.setCommunityName(communityDto.getName());
             ownerAppUserPo.setAppUserName(tmpOwnerDto.getName());
             ownerAppUserPo.setIdCard(tmpOwnerDto.getIdCard());