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

沈静伟:提报增加一事多报的形式
1:企业web端提报明细列表查询接口新增账号id查询字段。用于后期可能存在的根据经销商主账号查询其多次提报的明细列表。

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

+ 5 - 0
src/dsb/com/cnd3b/restcontroller/enterprise/webclient/submitedit/submitedit.java

@@ -159,6 +159,11 @@ public class submitedit extends Controller {
                 where.append("or t3.fagentname like'%").append(whereObject.getString("condition")).append("%' ");
                 where.append(")");
             }
+            if (whereObject.containsKey("tenterprise_userid") && !"".equals(whereObject.getString("tenterprise_userid"))) {
+                where.append(" and(");
+                where.append("t1.tenterprise_userid ='").append(whereObject.getString("tenterprise_userid")).append("' ");
+                where.append(")");
+            }
         }
         long tsubmiteditmodelid = content.getLongValue("tsubmiteditmodelid");//提报模板ID
         SQLFactory costhead = new SQLFactory(this, "提报明细列表查询", pageSize, pageNumber, sort);