lyhzzz 2 hari lalu
induk
melakukan
d5ef57d98e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/main/resources/mapper/manage_jp/UserMapper.xml

+ 2 - 2
src/main/resources/mapper/manage_jp/UserMapper.xml

@@ -24,10 +24,10 @@
             and u.create_time <=#{param.endTime}
         </if>
         <if test="param.companyName != null and param.companyName!=''">
-            and c.company_name =#{param.companyName}
+            and c.company_name like concat ('%',#{param.companyName},'%')
         </if>
         <if test="param.phoneNum != null and param.phoneNum!=''">
-            and u.user_name =#{param.phoneNum}
+            and u.user_name like concat ('%',#{param.phoneNum},'%')
         </if>
         order by u.id desc,u.create_time desc
     </sql>