Browse Source

在线商户数据错误修复

沈静伟 3 years ago
parent
commit
7c97c1e3bc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/dsb/com/cnd3b/restcontroller/enterprise/data/analysis.java

+ 3 - 0
src/dsb/com/cnd3b/restcontroller/enterprise/data/analysis.java

@@ -51,6 +51,9 @@ public class analysis extends Controller {
         SQLFactory sqlFactory = new SQLFactory(this, "ÔÚÏßÉÌ»§ÊµÊ±", pageSize, pageNumber, "t1.tagentsid");
         sqlFactory.addParameter_in("tenterprise_userid", userList);
         Rows rows = dbConnect.runSqlQuery(sqlFactory.getSQL());
+        for (Row row : rows) {
+            row.put("saleprodclass", JSONObject.parseObject(row.getString("saleprodclass")));
+        }
         return getSucReturnObject().setDataByPaging(rows).preloading(1).toString();
     }