From d1d0b4b9f4452fb6e9b6e39168f503d5b302c999 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 11 一月 2022 11:26:35 +0800
Subject: [PATCH] 部分功能添加
---
fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/AppPageNotificationTypeEnumHandler.java | 106 ++++++++++++++++++++++++++--------------------------
1 files changed, 53 insertions(+), 53 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/AppPageNotificationTypeEnumHandler.java b/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/AppPageNotificationTypeEnumHandler.java
index a6903cd..e32cf3e 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/AppPageNotificationTypeEnumHandler.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/mybatishandler/AppPageNotificationTypeEnumHandler.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.help.AppPageNotification.AppPageNotificationTypeEnum;
-
-public class AppPageNotificationTypeEnumHandler extends BaseTypeHandler<AppPageNotificationTypeEnum> {
-
- @Override
- public AppPageNotificationTypeEnum getNullableResult(ResultSet arg0, String arg1) throws SQLException {
- String key = arg0.getString(arg1);
- if (arg0.wasNull()) {
- return null;
- } else {
- return AppPageNotificationTypeEnum.valueOf(key);
- }
- }
-
- @Override
- public AppPageNotificationTypeEnum getNullableResult(ResultSet arg0, int arg1) throws SQLException {
- String key = arg0.getString(arg1);
- if (arg0.wasNull()) {
- return null;
- } else {
- // 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
- return AppPageNotificationTypeEnum.valueOf(key);
- }
- }
-
- @Override
- public AppPageNotificationTypeEnum getNullableResult(CallableStatement arg0, int arg1) throws SQLException {
- String key = arg0.getString(arg1);
- if (arg0.wasNull()) {
- return null;
- } else {
- // 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
- return AppPageNotificationTypeEnum.valueOf(key);
- }
- }
-
- @Override
- public void setNonNullParameter(PreparedStatement arg0, int arg1, AppPageNotificationTypeEnum 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.help.AppPageNotification.AppPageNotificationTypeEnum;
+
+public class AppPageNotificationTypeEnumHandler extends BaseTypeHandler<AppPageNotificationTypeEnum> {
+
+ @Override
+ public AppPageNotificationTypeEnum getNullableResult(ResultSet arg0, String arg1) throws SQLException {
+ String key = arg0.getString(arg1);
+ if (arg0.wasNull()) {
+ return null;
+ } else {
+ return AppPageNotificationTypeEnum.valueOf(key);
+ }
+ }
+
+ @Override
+ public AppPageNotificationTypeEnum getNullableResult(ResultSet arg0, int arg1) throws SQLException {
+ String key = arg0.getString(arg1);
+ if (arg0.wasNull()) {
+ return null;
+ } else {
+ // 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
+ return AppPageNotificationTypeEnum.valueOf(key);
+ }
+ }
+
+ @Override
+ public AppPageNotificationTypeEnum getNullableResult(CallableStatement arg0, int arg1) throws SQLException {
+ String key = arg0.getString(arg1);
+ if (arg0.wasNull()) {
+ return null;
+ } else {
+ // 鏍规嵁鏁版嵁搴撲腑鐨刱ey鍊硷紝瀹氫綅SexEnum瀛愮被
+ return AppPageNotificationTypeEnum.valueOf(key);
+ }
+ }
+
+ @Override
+ public void setNonNullParameter(PreparedStatement arg0, int arg1, AppPageNotificationTypeEnum arg2, JdbcType arg3)
+ throws SQLException {
+ arg0.setString(arg1, arg2.name());
+ }
+
+}
--
Gitblit v1.8.0