|
|
@@ -333,7 +333,10 @@ public class AuditServiceImpl implements AuditService {
|
|
|
String sql = "select data_ from "+LOG_TABLE+" where id_ ='"+logId+"'";
|
|
|
Map<String,Object> map = commonDao.queryOne(sql);
|
|
|
if (BeanUtils.isNotEmpty(map) && BeanUtils.isNotEmpty(map.get("data_"))){
|
|
|
- JSONArray jsonArray = JSONUtil.parseArray(map.get("data_").toString());
|
|
|
+ String replaceSql = map.get("data_").toString().replaceAll("\\\\", "").
|
|
|
+ replaceAll("\"\\[","[").replaceAll("]\"","]");
|
|
|
+ JSONArray jsonArray = JSONUtil.parseArray(replaceSql);
|
|
|
+ //JSONArray jsonArray = JSONUtil.parseArray(map.get("data_").toString());
|
|
|
StringBuilder sqlBuilder = new StringBuilder();
|
|
|
for (int i = 0; i < jsonArray.size(); i++) {
|
|
|
JSONObject jsonObject = jsonArray.getJSONObject(i);
|