Ver Fonte

信息上报通报

Signed-off-by: lijunqing <lijunqing@dashoo.cn>
lijunqing há 6 anos atrás
pai
commit
4d99aca1fd

+ 1 - 1
src/dashoo.cn/backend/api/business/oilsupplier/selectbusiness/selectservice.go

@@ -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 `