|
|
|
@ -46,7 +46,8 @@ public interface UserInfoMapper { |
|
|
|
|
" <if test='provinceId!=null and provinceId !=\"\" '>and s.provinceId = #{provinceId} </if>", |
|
|
|
|
" <if test='schoolId!=null and schoolId !=\"\"'>and u.schoolId = #{schoolId} </if>", |
|
|
|
|
" <if test='cityId!=null and cityId !=\"\" '>and s.cityId = #{cityId} </if>", |
|
|
|
|
" <if test='roleId!=null and roleId !=\"\" '>and u.roleId LIKE CONCAT('%',#{roleId},'%')</if>", |
|
|
|
|
/*" <if test='roleId!=null and roleId !=\"\" '>and u.roleId LIKE CONCAT('%',#{roleId},'%')</if>",*/ |
|
|
|
|
" <if test='roleId!=null and roleId !=\"\" '>and FIND_IN_SET(#{roleId},u.roleId)</if>", |
|
|
|
|
" <if test='searchContent!=null and searchContent !=\"\" '> AND CONCAT(u.userName, s.schoolName) LIKE CONCAT('%',#{searchContent},'%')</if>", |
|
|
|
|
" <if test='month==3'>and u.creationTime>DATE_SUB(CURDATE(), INTERVAL 3 MONTH)</if>", |
|
|
|
|
" <if test='month==6'>and u.creationTime>DATE_SUB(CURDATE(), INTERVAL 6 MONTH)</if>", |
|
|
|
|