Commit 65c2f157 authored by Leon's avatar Leon

upload.

parent c6dfc7ae
......@@ -46,7 +46,11 @@ try {
}
print("query result: ", JSON.stringify(erp_data));
_.mapValues(erp_data, function(v){
erp_data = _.mapValues(erp_data, function(v, k){
print('-----', k, v, _.isString(v));
if (_.isString(v)) {
print('+++++', v.replace(/\\u0000/g, ''));
}
return _.isString(v) ? v.replace(/\\u0000/g, '') : v;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment