Parcourir la source

商户删除错误修复

沈静伟 il y a 4 ans
Parent
commit
08d395405b

+ 0 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/tagents/SQL/商户档案删除.sql

@@ -12,7 +12,6 @@ delete from tliveapply where siteid=$siteid$ and tagentsid=$tagentsid$
 delete from tlive where siteid=$siteid$ and tagentsid=$tagentsid$
 delete from tactivity_agentmsg where siteid=$siteid$ and tagentsid=$tagentsid$
 delete from tactivity_agentproducts where siteid=$siteid$ and tagentsid=$tagentsid$
-delete from tagents_prodclass where siteid=$siteid$ and tagentsid=$tagentsid$
 delete from tagents_msgchangeapp where siteid=$siteid$ and tagentsid=$tagentsid$
 delete from tsupplyanddemand where siteid=$siteid$ and tagentsid=$tagentsid$
 delete from tnotice_userdata where siteid=$siteid$ and tagentsid=$tagentsid$

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/tagents/tagents.java

@@ -261,7 +261,7 @@ public class tagents extends Controller {
 
         SQLFactory sqlFactory = new SQLFactory(this, "ÉÌ»§µµ°¸É¾³ý");
         sqlFactory.addParameter("siteid", siteid);
-        sqlFactory.addParameter("tagentsid", content.getString("tagentsid"));
+        sqlFactory.addParameter("tagentsid", tagentsid);
         String result = dbConnect.runSqlUpdate(sqlFactory.getSQL());
         if ("true".equals(result)) {
             return getSucReturnObject().toString();