|
@@ -68,7 +68,7 @@ public class Customer extends Controller {
|
|
|
SQLDump sqldump = new SQLDump();
|
|
SQLDump sqldump = new SQLDump();
|
|
|
boolean iscreatefollowup = false;
|
|
boolean iscreatefollowup = false;
|
|
|
Rows sa_customersRows = SQLFactory.createQuerySQL(this, "sa_customers", "sa_customersid").setSiteid(siteid).setUniqueid(sa_customersid).query();
|
|
Rows sa_customersRows = SQLFactory.createQuerySQL(this, "sa_customers", "sa_customersid").setSiteid(siteid).setUniqueid(sa_customersid).query();
|
|
|
- if (sa_customersid <= 0 || sa_customersRows.isEmpty()) {
|
|
|
|
|
|
|
+ if (sa_customersid == 0 || sa_customersRows.isEmpty()) {
|
|
|
long sa_agentsid = userInfo.getAgentID();
|
|
long sa_agentsid = userInfo.getAgentID();
|
|
|
|
|
|
|
|
InsertSQL insertSQL = SQLFactory.createInsertSQL(this, "sa_customers");
|
|
InsertSQL insertSQL = SQLFactory.createInsertSQL(this, "sa_customers");
|