xie.kaifeng 8 kuukautta sitten
vanhempi
commit
684d5bcc09
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      mtp3-century/src/main/resources/mapper/UseraccountMapper.xml

+ 3 - 3
mtp3-century/src/main/resources/mapper/UseraccountMapper.xml

@@ -810,9 +810,9 @@
         <if test="vo.userid!=null  and vo.userid!=''">
             AND o.subarealevelpath LIKE '%,'||#{vo.userid}||',%'
         </if>
-        <if test="vo.accountname != null and vo.accountname !=''">
-            and (o.accountname like '%'||#{vo.accountname,jdbcType=VARCHAR}||'%'
-            or o.userid like '%'||#{vo.accountname,jdbcType=VARCHAR}||'%')
+        <if test="vo.searchcode != null and vo.searchcode !=''">
+            and (o.accountname like '%'||#{vo.searchcode}||'%'
+            or o.userid like '%'||#{vo.searchcode}||'%')
         </if>
 
         and rownum &lt;= 10