|
|
@@ -45,8 +45,9 @@ func (this *SupplierfileController) AllFileList() {
|
|
|
where = where + " and SupplierId = '" + SupplierId + "'"
|
|
|
}
|
|
|
SupplierTypeCode := this.GetString("SupplierTypeCode")
|
|
|
+ AppendId := this.GetString("AppendId")
|
|
|
if SupplierTypeCode != "" {
|
|
|
- where = where + " and SupplierTypeCode in ( '000', '" + SupplierTypeCode + "')"
|
|
|
+ where = where + " and SupplierCertSubId= "+ AppendId +" and SupplierTypeCode in ( '000', '" + SupplierTypeCode + "')"
|
|
|
}
|
|
|
total := svc.GetPagingEntitiesWithoutAccCode(page.CurrentPage, page.Size, orderby, asc, &list, where)
|
|
|
var datainfo DataInfo
|
|
|
@@ -80,8 +81,9 @@ func (this *SupplierfileController) FileListAppend() {
|
|
|
where = where + " and SupplierId = '" + SupplierId + "'"
|
|
|
}
|
|
|
SupplierTypeCode := this.GetString("SupplierTypeCode")
|
|
|
+ AppendId := this.GetString("AppendId")
|
|
|
if SupplierTypeCode != "" {
|
|
|
- where = where + " and SupplierTypeCode in ( '000', '" + SupplierTypeCode + "')"
|
|
|
+ where = where + " and SupplierCertSubId= "+ AppendId +" and SupplierTypeCode in ( '000', '" + SupplierTypeCode + "')"
|
|
|
}
|
|
|
where = where + " and SupType != 1"
|
|
|
total := svc.GetPagingEntitiesWithoutAccCode(page.CurrentPage, page.Size, orderby, asc, &list, where)
|