lyhzzz před 2 roky
rodič
revize
875e6b52a5

+ 1 - 1
src/main/resources/mapper/agent/UserIncrementMapper.xml

@@ -8,7 +8,7 @@
         left join  t_increment_type it on ui.increment_type_id = it.id
         where ui.rec_status = 'A' and ui.agent_id = #{param.agentId}
         <if test="param.userName != null and param.userName != ''">
-            and u.user_name = #{param.userName}
+            and u.user_name like concat ('%',#{param.userName},'%')
         </if>
         <if test="param.id != null ">
             and ui.id = #{param.id}