Просмотр исходного кода

合作商户列表及详情查询新增经营类目字段

沈静伟 4 лет назад
Родитель
Сommit
92dcfa2e54

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/customer/tagents/SQL/合作经销商列表查询.sql

@@ -1,3 +1,3 @@
-select t1.ftype,t1.createdate,t2.fagentname,t2.fbrand,t2.fcontact,t2.fphonenumber,t2.faddress,t1.tcooperationagentsid from tagents_cooperation t1
+select t1.ftype,t1.createdate,t2.fagentname,t2.fbrand,t2.fcontact,t2.fphonenumber,t2.faddress,t1.tcooperationagentsid,t2.saleprodclass from tagents_cooperation t1
 inner join tagents t2 on t1.siteid=t2.siteid and t1.tcooperationagentsid=t2.tagentsid
 where t1.siteid =$siteid$ and t1.tagentsid=$tagentsid$ and $where$

+ 2 - 0
src/dsb/com/cnd3b/restcontroller/customer/tagents/SQL/合作经销商详情查询.sql

@@ -0,0 +1,2 @@
+select fbrand,fcontact,faddress,siteid,fphonenumber,fdutyparagraph,saleprodclass from tagents
+where siteid=$siteid$ and tagentsid=$tagentsid$

+ 0 - 2
src/dsb/com/cnd3b/restcontroller/customer/tagents/SQL/经销商信息查询.sql

@@ -1,2 +0,0 @@
-select fbrand,fcontact,faddress,siteid,fphonenumber,fdutyparagraph from tagents
-where siteid=$siteid$ and tagentsid=$tagentsid$

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

@@ -233,7 +233,7 @@ public class tagents extends Controller {
      * @return
      */
     public String query_cooperationAgentsMain(){
-        SQLFactory sql = new SQLFactory(this, "经销商信息查询");
+        SQLFactory sql = new SQLFactory(this, "合作经销商详情查询");
         sql.addParameter("siteid", siteid);
         sql.addParameter("tagentsid", content.getString("tagentsid"));
         System.err.println(sql.getSQL());