Bläddra i källkod

沈静伟:提报增加一事多报的形式
1:相关查询sql新增账号ID字段返回

沈静伟 3 år sedan
förälder
incheckning
fb3a150302

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/webclient/submitedit/SQL/分析_已提报业务员.sql

@@ -1,4 +1,4 @@
-select t1.tsubmiteditid, t2.fname, t2.fphonenumber,t1.fcontent,t1.submitdate
+select t1.tsubmiteditid, t2.fname, t2.fphonenumber,t1.fcontent,t1.submitdate, t1.tenterprise_userid
 from tsubmitedit t1
        inner join tenterprise_users t2 on t1.siteid = t2.siteid and t1.tenterprise_userid = t2.tenterprise_userid and t2.fusertype='ÆóÒµ'
 where t1.siteid = $siteid$

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/webclient/submitedit/SQL/分析_已提报经销商.sql

@@ -1,4 +1,4 @@
-select t1.tsubmiteditid,t4.fname fsaler, t2.fname, t3.fprovince, t3.fcity, t3.fcounty, t2.fphonenumber,t1.fcontent,t1.submitdate
+select t1.tsubmiteditid,t4.fname fsaler, t2.fname, t3.fprovince, t3.fcity, t3.fcounty, t2.fphonenumber,t1.fcontent,t1.submitdate, t1.tenterprise_userid
 from tsubmitedit t1
        inner join tenterprise_users t2 on t1.siteid = t2.siteid and t1.tenterprise_userid = t2.tenterprise_userid
        inner join tagents t3 on t2.siteid = t3.siteid and t2.tagentsid = t3.tagentsid

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/webclient/submitedit/SQL/分析_未提报业务员.sql

@@ -1,4 +1,4 @@
-select t2.fname,t2.fphonenumber
+select t2.fname,t2.fphonenumber, t1.tenterprise_userid
 from tsubmitedit t1
        inner join tenterprise_users t2 on t1.siteid = t2.siteid and t1.tenterprise_userid = t2.tenterprise_userid and t2.fusertype='ÆóÒµ'
 where t1.siteid = $siteid$

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/enterprise/webclient/submitedit/SQL/分析_未提报经销商.sql

@@ -1,4 +1,4 @@
-select t4.fname fsaler, t2.fname, t3.fprovince, t3.fcity, t3.fcounty, t2.fphonenumber
+select t4.fname fsaler, t2.fname, t3.fprovince, t3.fcity, t3.fcounty, t2.fphonenumber, t1.tenterprise_userid
 from tsubmitedit t1
        inner join tenterprise_users t2 on t1.siteid = t2.siteid and t1.tenterprise_userid = t2.tenterprise_userid
        inner join tagents t3 on t2.siteid = t3.siteid and t2.tagentsid = t3.tagentsid