|
|
@@ -51,6 +51,7 @@ public class customer extends CrmBase {
|
|
|
String fprovince = jsonObject.getString("fprovince");
|
|
|
String fcity = jsonObject.getString("fcity");
|
|
|
String fcounty = jsonObject.getString("fcounty");
|
|
|
+ boolean fisonline_join = jsonObject.getBooleanValue("fisonline_join");
|
|
|
|
|
|
if (agentRowsMap.containsKey(fagent_num_created)) {
|
|
|
if (dbConnect.runSqlQuery("select * from sa_customers where sa_customersid=" + cid).isEmpty()) {
|
|
|
@@ -84,6 +85,7 @@ public class customer extends CrmBase {
|
|
|
}
|
|
|
insertSQL.setValue("address", fcommunity);
|
|
|
insertSQL.setValue("custnum", fcustom_num);
|
|
|
+ insertSQL.setValue("isonline_join", fisonline_join);
|
|
|
insertSQL.insert();
|
|
|
} else {
|
|
|
UpdateSQL updateSQL = SQLFactory.createUpdateSQL(dbConnect, "sa_customers");
|