数据库中有为空的字段

根据参数查询时如果where 后面的条件在数据库中为空 

where columnname='" + columnname+ "' and (Prop_RateType=@Prop_RateType or Prop_RateType is null)

111111
原文地址:https://www.cnblogs.com/whl4835349/p/5728268.html