Просмотр исходного кода

활동회원 간편가입 유형 추가

jsshin 4 лет назад
Родитель
Сommit
8da9d5acf9

+ 3 - 0
src/main/java/com/style24/admin/biz/web/TsaCustomerController.java

@@ -321,6 +321,9 @@ public class TsaCustomerController extends TsaBaseController {
 		// 관리대상
 		mav.addObject("managedRsnList", rendererService.getCommonCodeList("G103", "Y"));
 
+		// 간편가입유형
+		mav.addObject("snsTypeList", rendererService.getCommonCodeList("G105","Y"));
+
 		mav.setViewName("customer/CustomerActiveListForm");
 
 		return mav;

+ 1 - 0
src/main/java/com/style24/persistence/domain/CustomerSearch.java

@@ -37,6 +37,7 @@ public class CustomerSearch extends TscBaseDomain {
 	private String email;
 	private String custId;
 	private Integer custNo;
+	private String snsType;
 
 	// 쿠폰발행팝업
 	private String cpnPubPopYn;		// 쿠폰발행팝업

+ 6 - 0
src/main/java/com/style24/persistence/mybatis/shop/TsaCustomer.xml

@@ -56,6 +56,9 @@
 		<if test="appAgreeYn != null and appAgreeYn != ''">
 		AND   APP_AGREE_YN = #{appAgreeYn}
 		</if>
+		<if test="snsType != null and snsType != ''">
+		AND   SNS_TYPE = #{snsType}
+		</if>
 		<if test="stDate != null and edDate != '' and stDate != null and edDate != ''">
 		     <if test="searchDateGb == 'joinDt'">
 		AND   JOIN_DT >= DATE_FORMAT(#{stDate}, '%Y-%m-%d %H:%i:%S')
@@ -190,6 +193,9 @@
 		<if test="mkAgreeYn != null and mkAgreeYn != ''">
 		AND   MK_AGREE_YN = #{mkAgreeYn}
 		</if>
+		<if test="snsType != null and snsType != ''">
+		AND  SNS_TYPE = #{snsType}
+		</if>
 		<if test="stDate != null and edDate != '' and stDate != null and edDate != ''">
 		     <if test="searchDateGb == 'joinDt'">
 		AND   JOIN_DT >= DATE_FORMAT(#{stDate}, '%Y-%m-%d %H:%i:%S')

+ 9 - 1
src/main/webapp/WEB-INF/views/customer/CustomerActiveListForm.html

@@ -97,9 +97,17 @@
 					</tr>
 					<tr>
 						<th class="dashR">휴대폰번호</th>
-						<td class="dashR" colspan="5">
+						<td class="dashR">
 							<input type="text" class="w200" name="cellPhnno" id="cellPhnno"/>
 						</td>
+
+						<th class="dashR">간편가입유형</th>
+						<td class="dashR">
+							<select name="snsType">
+								<option value="">전체</option>
+								<option th:if="${snsTypeList}" th:each="oneData, status : ${snsTypeList}" th:value="${oneData.cd}" th:text="|[${oneData.cd}] ${oneData.cdNm}|"></option>
+							</select>
+						</td>
 					</tr>
 					<tr>
 						<th class="dashR">조회일자</th>