Closed xuanhuangkeji closed 5 years ago
比如在批量删除场景下,我们需要多条件删除,如果传参对象在QueryParams均未匹配到,那么将会直接把整个表给清空
_testService.Delete(new{xxid=1});
如果xxid没有在QueryParams中匹配到,test表里面的数据将全部被删除
https://github.com/Smart-Kit/SmartSql/commit/15121ee32e988726a6810386da1c045bfc1b95a4
比如在批量删除场景下,我们需要多条件删除,如果传参对象在QueryParams均未匹配到,那么将会直接把整个表给清空
_testService.Delete(new{xxid=1});
如果xxid没有在QueryParams中匹配到,test表里面的数据将全部被删除