Compare commits

..

2 Commits

Author SHA1 Message Date
guyuliang c53a32c1ba Merge remote-tracking branch 'origin/develop' into develop 2024-08-26 16:40:21 +08:00
guyuliang 72f332b379 查询待办工单 2024-08-26 16:38:32 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ public class IndexServiceImpl implements IndexService {
String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class);
log.info("result");
JSONArray dataArray = JSONArray.parseArray(result);
return new GeneralResult(true, dataArray,"查询成功");
JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class);
return new GeneralResult(true, jsonObject,"查询成功");
} catch (Exception e) {
log.info("查询失败",e);
return new GeneralResult(false, "查询失败");