|
@@ -20,6 +20,7 @@ import com.java110.utils.exception.CmdException;
|
|
|
import com.java110.utils.exception.ListenerExecuteException;
|
|
import com.java110.utils.exception.ListenerExecuteException;
|
|
|
import com.java110.utils.util.Assert;
|
|
import com.java110.utils.util.Assert;
|
|
|
import com.java110.utils.util.BeanConvertUtil;
|
|
import com.java110.utils.util.BeanConvertUtil;
|
|
|
|
|
+import com.java110.utils.util.StringUtil;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -71,6 +72,10 @@ public class ExitRoomCmd extends Cmd {
|
|
|
throw new ListenerExecuteException(ResponseConstant.RESULT_CODE_ERROR, "数据存在问题,业主和房屋对应关系不是一条");
|
|
throw new ListenerExecuteException(ResponseConstant.RESULT_CODE_ERROR, "数据存在问题,业主和房屋对应关系不是一条");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if(StringUtil.isEmpty(ownerRoomRelDtos.get(0).getRelId())){
|
|
|
|
|
+ throw new CmdException("未包含关系");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
JSONObject businessUnit = new JSONObject();
|
|
JSONObject businessUnit = new JSONObject();
|
|
|
//businessUnit.putAll(paramInJson);
|
|
//businessUnit.putAll(paramInJson);
|