bug--同步之前修改的获取用户报错和用户中心搜索报错

This commit is contained in:
taozi
2020-06-28 10:39:53 +08:00
parent 023811347f
commit 2734473c56
3 changed files with 19 additions and 10 deletions

View File

@ -81,7 +81,7 @@ public interface UserBillMapper extends CoreMapper<YxUserBill> {
"from yx_user_bill b left join yx_user u on u.uid=b.uid where 1=1 " +
"<if test =\"category !=''\">and b.category=#{category}</if> " +
"<if test =\"type !=''\">and b.type=#{type}</if> " +
"<if test =\"nickname !=''\">and u.nickname= LIKE CONCAT('%',#{nickname},'%')</if> </script> ")
"<if test =\"nickname !=''\">and u.nickname LIKE CONCAT('%',#{nickname},'%')</if> </script> ")
List<YxUserBillDto> findAllByQueryCriteria(@Param("category") String category, @Param("type") String type,
@Param("nickname") String nickname);
}