From 576c52d8d8e6fb1e738380cc5fc101a6a2b0b3a8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 04 九月 2021 16:00:57 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
service-job/src/main/java/com/java110/job/adapt/hcIot/community/AddCommunityToIotAdapt.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/service-job/src/main/java/com/java110/job/adapt/hcIot/community/AddCommunityToIotAdapt.java b/service-job/src/main/java/com/java110/job/adapt/hcIot/community/AddCommunityToIotAdapt.java
old mode 100644
new mode 100755
index 98e809a..94f02a4
--- a/service-job/src/main/java/com/java110/job/adapt/hcIot/community/AddCommunityToIotAdapt.java
+++ b/service-job/src/main/java/com/java110/job/adapt/hcIot/community/AddCommunityToIotAdapt.java
@@ -54,7 +54,7 @@
* @param businesses 鎵�鏈変笟鍔′俊鎭�
*/
@Override
- public void execute(Business business, List<Business> businesses) {
+ public void execute(Business business, List<Business> businesses) throws Exception{
JSONObject data = business.getData();
if (data.containsKey(CommunityPo.class.getSimpleName())) {
Object bObj = data.get(CommunityPo.class.getSimpleName());
@@ -80,7 +80,7 @@
* @param business
* @param businessCommunity
*/
- private void doAddCommunity(Business business, JSONObject businessCommunity) {
+ private void doAddCommunity(Business business, JSONObject businessCommunity) throws Exception{
CommunityPo communityPo = BeanConvertUtil.covertBean(businessCommunity, CommunityPo.class);
JSONObject postParameters = new JSONObject();
postParameters.put("name", communityPo.getName());
--
Gitblit v1.8.0