|
@@ -54,7 +54,7 @@
|
|
and usertype = #{userType}
|
|
and usertype = #{userType}
|
|
</if>
|
|
</if>
|
|
<if test="displayName != null and displayName != ''">
|
|
<if test="displayName != null and displayName != ''">
|
|
- and displayname like '%${displayName}%'
|
|
|
|
|
|
+ and displayname like concat('%',#{displayName},'%')
|
|
</if>
|
|
</if>
|
|
<if test="departmentId != null and departmentId != ''">
|
|
<if test="departmentId != null and departmentId != ''">
|
|
and departmentid = #{departmentId}
|
|
and departmentid = #{departmentId}
|
|
@@ -67,7 +67,7 @@
|
|
<if test="isLocked != null">
|
|
<if test="isLocked != null">
|
|
islocked = #{isLocked},
|
|
islocked = #{isLocked},
|
|
</if>
|
|
</if>
|
|
- unlockdate = current_timestamp
|
|
|
|
|
|
+ unlockdate = current_timestamp,
|
|
modifieddate = current_timestamp
|
|
modifieddate = current_timestamp
|
|
where
|
|
where
|
|
id = #{id}
|
|
id = #{id}
|