update
This commit is contained in:
+1
-1
@@ -322,7 +322,7 @@ class DistrictInfoExportBatch extends BaseBatch{
|
||||
def s = str.toString();
|
||||
index++;
|
||||
if(s && s!="null"){
|
||||
s = s.replace('"','\"')
|
||||
s = s.replace('"','\\"')
|
||||
// if(s.toString().contains(",")){
|
||||
// s = csvHandlerStr(s.toString())
|
||||
//
|
||||
|
||||
+1
-1
@@ -115,7 +115,7 @@ class HouseExportBatch extends BaseBatch{
|
||||
// }
|
||||
// }
|
||||
def str = StringUtils.join(row.toArray(), "@|@")
|
||||
str = str.replace('"','\"')
|
||||
str = str.replace('"','\\"')
|
||||
sb.append(str)
|
||||
|
||||
sb.append(System.getProperty("line.separator"));
|
||||
|
||||
Reference in New Issue
Block a user