Commit b85a14b9 authored by 刘帅's avatar 刘帅

1.优化

parent 61e2fabd
......@@ -245,6 +245,7 @@ public class WxPayRecordServiceImpl implements IWxPayRecordService {
private LambdaQueryWrapper<WxPayRecord> buildQueryWrapper(WxPayRecordBo bo) {
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<WxPayRecord> lqw = Wrappers.lambdaQuery();
lqw.eq(bo.getCommunityId() != null, WxPayRecord::getCommunityId, bo.getCommunityId());
lqw.eq(bo.getUserId() != null, WxPayRecord::getUserId, bo.getUserId());
lqw.like(StringUtils.isNotBlank(bo.getUserName()), WxPayRecord::getUserName, bo.getUserName());
lqw.like(bo.getCommunityName() != null, WxPayRecord::getCommunityName, bo.getCommunityName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment