Kaynağa Gözat

供需发布新增发布位置

吴志根 3 yıl önce
ebeveyn
işleme
349a2ae69b

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/SQL/供需列表查询.sql

@@ -14,6 +14,7 @@ t2.faddress,
 t2.fphonenumber,
 t1.freadtimes,
 t1.tenterprise_userid,
+t1.tposition,
 t1.tagentsid,
 (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes
 from tsupplyanddemand t1

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/SQL/供需列表查询_对接中.sql

@@ -14,6 +14,7 @@ select
     t2.fphonenumber,
     t1.freadtimes,
     t1.tenterprise_userid,
+    t1.tposition,
     t1.tagentsid,
     (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes
 from tsupplyanddemand t1

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/SQL/供需详情查询.sql

@@ -3,6 +3,7 @@ select t1.tsupplyanddemandid, t1.ftitle,t1.fissupply,
        t1.fenddate,t1.tcooperationagentsid,t2.fagentname,t3.fname,t3.fphonenumber,
        t1.fcontent,t1.tenterprise_userid,
        t1.freadtimes,
+       t1.tposition,
        t2.tagentsid,
        (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes
 from tsupplyanddemand t1

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/SQL/我的供需列表查询.sql

@@ -14,6 +14,7 @@ t1.freadtimes,
 t1.tenterprise_userid,
 (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes,
 t1.tcooperationagentsid,
+t1.tposition,
 t3.fagentname as fcooperationagentname
 from tsupplyanddemand t1
 inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/SQL/我的供需详情查询.sql

@@ -4,6 +4,7 @@ select t1.tsupplyanddemandid, t1.ftitle,t1.fissupply,
        t1.fcontent,t4.fagentname as fcooperationagentname,
        t1.tenterprise_userid,
        t1.freadtimes,
+       t1.tposition,
        t2.tagentsid,
        (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes
 from tsupplyanddemand t1

+ 2 - 0
src/dsb/com/cnd3b/restcontroller/customer/supplyanddemand/supplyanddemand.java

@@ -293,6 +293,7 @@ public class supplyanddemand extends Controller {
         String ftitle = content.getString("ftitle", "tsupplyanddemand.ftitle", "需求标题");
         String fcontent = content.getString("fcontent", "tsupplyanddemand.fcontent", "需求内容");
         String fenddate = content.getString("fenddate");
+        String tposition = content.getString("tposition");
         boolean fissupply = content.getBoolean("fissupply");
 
         PaoSetRemote tsupplyanddemandSet = getP2ServerSystemPaoSet("tsupplyanddemand", "siteid='" + siteid + "' and tagentsid='" + tagentsid + "' and tsupplyanddemandid='" + tsupplyanddemandid + "'");
@@ -313,6 +314,7 @@ public class supplyanddemand extends Controller {
         tsupplyanddemand.setValue("ftitle", ftitle, 11L);//需求标题
         tsupplyanddemand.setValue("fcontent", fcontent, 11L);//需求内容
         tsupplyanddemand.setValue("fenddate", fenddate, 11L);//到期时间
+        tsupplyanddemand.setValue("tposition", tposition, 11L);//供需发布时的位置
 
         tsupplyanddemand.setValue("changeby", username, 11L);//修改人
         tsupplyanddemand.setValue("changedate", sysdate, 11L);//修改时间

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/enterprise/supplyanddemand/SQL/供需列表查询.sql

@@ -10,6 +10,7 @@ t1.checkby,
 t1.checkdate,
 t1.fenddate,
 t1.tcooperationagentsid,
+t1.tposition,
 t2.fagentname,
 t3.fname,
 t3.fphonenumber,

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/supplyanddemand/SQL/供需详情查询.sql

@@ -1,5 +1,5 @@
 select t1.tsupplyanddemandid, t1.ftitle,t1.fissupply,
-       t1.ftype, t1.fstatus, t1.checkby, t1.checkdate,
+       t1.ftype, t1.fstatus, t1.checkby, t1.checkdate, t1.tposition,
        t1.fenddate,t1.tcooperationagentsid,t2.fagentname,t3.fname,t3.fphonenumber,
        t4.fagentname as fcooperationagentname, (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes,t1.fcontent,t1.tenterprise_userid
 from tsupplyanddemand t1

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/publicmethod/homepage/SQL/供需列表查询.sql

@@ -13,6 +13,7 @@ t2.fagentname,
 t1.tagentsid,
 t1.tenterprise_userid,
 t1.freadtimes,
+t1.tposition,
 (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes
 from tsupplyanddemand t1
 inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/publicmethod/homepage/SQL/供需详情查询.sql

@@ -4,6 +4,7 @@ select t1.tsupplyanddemandid, t1.ftitle,t1.fissupply,
        t1.fcontent,
        t1.freadtimes,
        t1.tenterprise_userid,
+       t1.tposition,
         (select count(0) from timdialog where siteid=t1.siteid and ownertable='tsupplyanddemand' and ownerid=t1.tsupplyanddemandid) as fcommunicationtimes
 from tsupplyanddemand t1
 inner join tagents t2 on t1.siteid=t2.siteid and t1.tagentsid=t2.tagentsid

+ 1 - 0
src/dsb/com/cnd3b/restcontroller/publicmethod/homepage/SQL/搜索_供需.sql

@@ -11,6 +11,7 @@ SELECT t1.tsupplyanddemandid,
        t2.fagentname,
        t1.tagentsid,
        t1.tenterprise_userid,
+       t1.tposition,
        t1.freadtimes,
        (select count(0)
         from timdialog