.net QueryExp.Equal 条件查询
我想当saleProfit.ProfitRMB=="1"的时候 sql语句: profits>0
结果:( PermissionCode LIKE '01%' OR PermissionCode='012804041202012' OR CreatorKey='a49f1c92-d88e-498c-a274-e215a7e9256a' ) AND DeleteFlg=0
AND profits>0 AND OrderDate>='2020-09-09' AND OrderDate<'2020/9/15'
要怎么写啊?
回答
用拼接sql+=' 条件'
以上是 .net QueryExp.Equal 条件查询 的全部内容, 来源链接: utcz.com/a/43567.html