From e75b0d79535a6bcd147cca4a54632b70b42afdb9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 29 五月 2021 18:10:18 +0800
Subject: [PATCH] 特价完善

---
 fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/ForbiddenUserIdentifyCodeTypeEnumHandler.java |  106 ++++++++++++++++++++++++++--------------------------
 1 files changed, 53 insertions(+), 53 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/ForbiddenUserIdentifyCodeTypeEnumHandler.java b/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/ForbiddenUserIdentifyCodeTypeEnumHandler.java
index c2aa2c6..64e811d 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/ForbiddenUserIdentifyCodeTypeEnumHandler.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/ForbiddenUserIdentifyCodeTypeEnumHandler.java
@@ -1,53 +1,53 @@
-package com.yeshi.fanli.util.mybatishandler;
-
-import java.sql.CallableStatement;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-
-import org.apache.ibatis.type.BaseTypeHandler;
-import org.apache.ibatis.type.JdbcType;
-
-import com.yeshi.fanli.entity.bus.user.ForbiddenUserIdentifyCode.ForbiddenUserIdentifyCodeTypeEnum;
-
-public class ForbiddenUserIdentifyCodeTypeEnumHandler extends BaseTypeHandler<ForbiddenUserIdentifyCodeTypeEnum> {
-
-	@Override
-	public ForbiddenUserIdentifyCodeTypeEnum getNullableResult(ResultSet arg0, String arg1) throws SQLException {
-		String key = arg0.getString(arg1);
-		if (arg0.wasNull()) {
-			return null;
-		} else {
-			return ForbiddenUserIdentifyCodeTypeEnum.valueOf(key);
-		}
-	}
-
-	@Override
-	public ForbiddenUserIdentifyCodeTypeEnum getNullableResult(ResultSet arg0, int arg1) throws SQLException {
-		String key = arg0.getString(arg1);
-		if (arg0.wasNull()) {
-			return null;
-		} else {
-			// 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
-			return ForbiddenUserIdentifyCodeTypeEnum.valueOf(key);
-		}
-	}
-
-	@Override
-	public ForbiddenUserIdentifyCodeTypeEnum getNullableResult(CallableStatement arg0, int arg1) throws SQLException {
-		String key = arg0.getString(arg1);
-		if (arg0.wasNull()) {
-			return null;
-		} else {
-			// 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
-			return ForbiddenUserIdentifyCodeTypeEnum.valueOf(key);
-		}
-	}
-
-	@Override
-	public void setNonNullParameter(PreparedStatement arg0, int arg1, ForbiddenUserIdentifyCodeTypeEnum arg2, JdbcType arg3)
-			throws SQLException {
-		arg0.setString(arg1, arg2.name());
-	}
-
-}
+package com.yeshi.fanli.util.mybatishandler;
+
+import java.sql.CallableStatement;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
+import org.apache.ibatis.type.BaseTypeHandler;
+import org.apache.ibatis.type.JdbcType;
+
+import com.yeshi.fanli.entity.bus.user.ForbiddenUserIdentifyCode.ForbiddenUserIdentifyCodeTypeEnum;
+
+public class ForbiddenUserIdentifyCodeTypeEnumHandler extends BaseTypeHandler<ForbiddenUserIdentifyCodeTypeEnum> {
+
+	@Override
+	public ForbiddenUserIdentifyCodeTypeEnum getNullableResult(ResultSet arg0, String arg1) throws SQLException {
+		String key = arg0.getString(arg1);
+		if (arg0.wasNull()) {
+			return null;
+		} else {
+			return ForbiddenUserIdentifyCodeTypeEnum.valueOf(key);
+		}
+	}
+
+	@Override
+	public ForbiddenUserIdentifyCodeTypeEnum getNullableResult(ResultSet arg0, int arg1) throws SQLException {
+		String key = arg0.getString(arg1);
+		if (arg0.wasNull()) {
+			return null;
+		} else {
+			// 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
+			return ForbiddenUserIdentifyCodeTypeEnum.valueOf(key);
+		}
+	}
+
+	@Override
+	public ForbiddenUserIdentifyCodeTypeEnum getNullableResult(CallableStatement arg0, int arg1) throws SQLException {
+		String key = arg0.getString(arg1);
+		if (arg0.wasNull()) {
+			return null;
+		} else {
+			// 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
+			return ForbiddenUserIdentifyCodeTypeEnum.valueOf(key);
+		}
+	}
+
+	@Override
+	public void setNonNullParameter(PreparedStatement arg0, int arg1, ForbiddenUserIdentifyCodeTypeEnum arg2, JdbcType arg3)
+			throws SQLException {
+		arg0.setString(arg1, arg2.name());
+	}
+
+}

--
Gitblit v1.8.0