请教老师,下面代码通过SQLGRUP....统计合同已签数量,但是显示出来是-1,如果再统计合同未签数量怎样写代码
b.Totals.AddExp("合同已签","合同已签*-1","合同已签数量",AggregateEnum.Sum)
b.Totals.AddExp("合同已签","合同已签*1","合同未签数量",AggregateEnum.Sum)