Procházet zdrojové kódy

일대일 문의 상품문의 수정

jsshin před 4 roky
rodič
revize
85e1989b88

+ 8 - 8
src/main/java/com/style24/persistence/mybatis/shop/TsaCounsel.xml

@@ -67,10 +67,10 @@
 		             AND    B.CUST_ID LIKE #{condition}||'%'
 		                 </if>
 		                 <if test="custGb == 'custNm'">
-		             AND    B.CUST_NM LIKE #{condition}||'%'
+		             AND    B.CUST_NM LIKE FN_ENC_AES(#{condition})||'%'
 		                 </if>
 		                 <if test="custGb == 'email'">
-		             AND    A.EMAIL LIKE #{condition}||'%'
+		             AND    A.EMAIL LIKE FN_ENC_AES(#{condition})||'%'
 		                 </if>
 		             </if>
 		             <if test="termStdt != null and termStdt != ''">
@@ -113,10 +113,10 @@
 		AND    B.CUST_ID LIKE #{condition}||'%'
 		    </if>
 		    <if test="custGb == 'custNm'">
-		AND    B.CUST_NM LIKE #{condition}||'%'
+		AND    B.CUST_NM LIKE FN_ENC_AES(#{condition})||'%'
 		    </if>
 		    <if test="custGb == 'email'">
-		AND    A.EMAIL LIKE #{condition}||'%'
+		AND    A.EMAIL LIKE FN_ENC_AES(#{condition})||'%'
 		    </if>
 		</if>
 		<if test="termStdt != null and termStdt != ''">
@@ -249,10 +249,10 @@
 		              AND    B.CUST_ID LIKE #{condition}||'%'
 		                  </if>
 		                  <if test="custGb == 'custNm'">
-		              AND    B.CUST_NM LIKE #{condition}||'%'
+		              AND    B.CUST_NM LIKE FN_ENC_AES(#{condition})||'%'
 		                  </if>
 		                  <if test="custGb == 'email'">
-		              AND    A.EMAIL LIKE #{condition}||'%'
+		              AND    A.EMAIL LIKE FN_ENC_AES(#{condition})||'%'
 		                  </if>
 		              </if>
 		              <if test="termStdt != null and termStdt != '' and termEddt != null and termEddt != ''">
@@ -308,10 +308,10 @@
 		AND    B.CUST_ID LIKE #{condition}||'%'
 		    </if>
 		    <if test="custGb == 'custNm'">
-		AND    B.CUST_NM LIKE #{condition}||'%'
+		AND    B.CUST_NM LIKE FN_ENC_AES(#{condition})||'%'
 		    </if>
 		    <if test="custGb == 'email'">
-		AND    A.EMAIL LIKE #{condition}||'%'
+		AND    A.EMAIL LIKE FN_ENC_AES(#{condition})||'%'
 		    </if>
 		</if>
 		<if test="termStdt != null and termStdt != '' and termEddt != null and termEddt != ''">