|
|
@@ -77,7 +77,7 @@ func (s *SelectService) GetUp( supplierCertTableName string, pageIndex, itemsPer
|
|
|
|
|
|
var sql string
|
|
|
sql = ` select (select FullName from Base_Organize where Id = a.CommitComId) FullName,max(a.CommitComId) CommitComId,a.SupplierTypeName,`
|
|
|
- sql +=` count(a.Status=6 or null ) HeGe,count(a.Status=-5 or null ) BuHeGe,count(a.Status=-5 or null ) + count(a.Status=6 or null ) ZongShu `
|
|
|
+ sql +=` count(a.Status>=6 or null ) HeGe,count(a.Status=-5 or null ) BuHeGe,count(a.Status=-5 or null ) + count(a.Status>=6 or null ) ZongShu `
|
|
|
sql += ` from ` + supplierCertTableName + ` a `
|
|
|
sql += ` where a.CommitComId is not null and a.CommitComId!="" and a.CommitComId!=0 ` + where
|
|
|
sql += ` group by FullName,SupplierTypeName `
|