|
@@ -65,6 +65,7 @@ public class GhDetailServiceImpl implements GhDetailService {
|
|
|
if (updateGhDetail == null) {
|
|
|
continue;
|
|
|
}
|
|
|
+ System.out.println("getGhDetail = " + ghDetail);
|
|
|
log.info("getGhDetail = {}", ghDetail);
|
|
|
ghDetailMapper.updateByPrimaryKeySelective(updateGhDetail);
|
|
|
}
|
|
@@ -81,6 +82,7 @@ public class GhDetailServiceImpl implements GhDetailService {
|
|
|
JSONArray jsonArray = JSONArray.parseArray(block);
|
|
|
if (jsonArray != null && !jsonArray.isEmpty()) {
|
|
|
JSONObject jsonObject = jsonArray.getJSONObject(0);
|
|
|
+ System.out.println("jsonObject = " + jsonObject);
|
|
|
log.info("jsonObject = {}", jsonObject);
|
|
|
ghDetail.setGhName(jsonObject.getString("name"));
|
|
|
}
|