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