Commit 442cba987d7976839ad2c59e6cd474fdba747fd0
Merge remote-tracking branch 'origin/develop' into develop
Showing
3 changed files
with
11 additions
and
0 deletions
pom.xml
... | ... | @@ -372,6 +372,11 @@ |
372 | 372 | <version>${lombok.version}</version> |
373 | 373 | <scope>provided</scope> |
374 | 374 | </dependency> |
375 | + <dependency> | |
376 | + <groupId>com.baomidou</groupId> | |
377 | + <artifactId>mybatis-plus-annotation</artifactId> | |
378 | + <version>3.1.2</version> | |
379 | + </dependency> | |
375 | 380 | </dependencies> |
376 | 381 | |
377 | 382 | <build> |
... | ... |
src/main/resources/mybatis/system/UserMapper.xml
... | ... | @@ -49,6 +49,9 @@ |
49 | 49 | <if test="loginName != null and loginName != ''"> |
50 | 50 | AND u.loginName like concat('%', #{loginName}, '%') |
51 | 51 | </if> |
52 | + <if test="userName != null and userName != ''"> | |
53 | + AND u.userName like concat('%', #{userName}, '%') | |
54 | + </if> | |
52 | 55 | <if test="enable != null"> |
53 | 56 | AND u.enable = #{enable} |
54 | 57 | </if> |
... | ... |
src/main/resources/templates/system/user/user.html