|
|
@@ -284,9 +284,9 @@ public class salearea extends Controller {
|
|
|
double discountrate = 1;
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "营销区域添加业务员");
|
|
|
if (sa_salearea_hrid <= 0) {
|
|
|
- if (dbConnect.runSqlQuery("select * from sa_salearea_hr where siteid='" + siteid + "' and sa_saleareaid=" + sa_saleareaid).isNotEmpty()) {
|
|
|
- return getErrReturnObject().setErrMsg("区域存在业务员信息,不可新增").toString();
|
|
|
- }
|
|
|
+// if (dbConnect.runSqlQuery("select * from sa_salearea_hr where siteid='" + siteid + "' and sa_saleareaid=" + sa_saleareaid).isNotEmpty()) {
|
|
|
+// return getErrReturnObject().setErrMsg("区域存在业务员信息,不可新增").toString();
|
|
|
+// }
|
|
|
sa_salearea_hrid = createTableID("sa_salearea_hr");
|
|
|
} else {
|
|
|
sqlFactory = new SQLFactory(this, "营销区域更新业务员");
|