Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
3c75fae4
Commit
3c75fae4
authored
Mar 24, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基本操作类
parent
b21d4121
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
543 additions
and
6 deletions
+543
-6
MethodField.java
.../src/main/java/com/yanzuoguang/util/base/MethodField.java
+31
-0
ObjectHelper.java
...src/main/java/com/yanzuoguang/util/base/ObjectHelper.java
+506
-0
WebAspect.java
...ud/src/main/java/com/yanzuoguang/cloud/aop/WebAspect.java
+1
-1
BaseDaoImpl.java
...b/src/main/java/com/yanzuoguang/dao/Impl/BaseDaoImpl.java
+1
-1
BaseDaoSql.java
...db/src/main/java/com/yanzuoguang/dao/Impl/BaseDaoSql.java
+1
-1
TableStruct.java
...b/src/main/java/com/yanzuoguang/dao/Impl/TableStruct.java
+2
-2
AllBeanRowMapper.java
...c/main/java/com/yanzuoguang/db/Impl/AllBeanRowMapper.java
+1
-1
No files found.
yzg-util-base/src/main/java/com/yanzuoguang/util/base/MethodField.java
0 → 100644
View file @
3c75fae4
package
com
.
yanzuoguang
.
util
.
base
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Method
;
/**
* 字段对应的类型的信息,依赖于字段操作类
*/
public
class
MethodField
{
/**
* 名称
*/
public
String
name
;
/**
* 缩写名称
*/
public
String
nameSimple
;
/**
* 对应的字段
*/
public
Field
field
;
/**
* 对应的获取方法
*/
public
Method
getMethod
;
/**
* 对应的设置方法
*/
public
Method
setMethod
;
}
yzg-util-base/src/main/java/com/yanzuoguang/util/base/ObjectHelper.java
0 → 100644
View file @
3c75fae4
This diff is collapsed.
Click to expand it.
yzg-util-cloud/src/main/java/com/yanzuoguang/cloud/aop/WebAspect.java
View file @
3c75fae4
...
@@ -7,7 +7,7 @@ import com.yanzuoguang.util.exception.ExceptionHelper;
...
@@ -7,7 +7,7 @@ import com.yanzuoguang.util.exception.ExceptionHelper;
import
com.yanzuoguang.util.helper.JSONHelper
;
import
com.yanzuoguang.util.helper.JSONHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.log.Log
;
import
com.yanzuoguang.util.log.Log
;
import
com.yanzuoguang.util.
obj
.ObjectHelper
;
import
com.yanzuoguang.util.
base
.ObjectHelper
;
import
com.yanzuoguang.util.thread.ThreadNext
;
import
com.yanzuoguang.util.thread.ThreadNext
;
import
com.yanzuoguang.util.vo.LogVo
;
import
com.yanzuoguang.util.vo.LogVo
;
import
com.yanzuoguang.util.vo.ResponseResult
;
import
com.yanzuoguang.util.vo.ResponseResult
;
...
...
yzg-util-db/src/main/java/com/yanzuoguang/dao/Impl/BaseDaoImpl.java
View file @
3c75fae4
...
@@ -4,7 +4,7 @@ import com.yanzuoguang.dao.BaseDao;
...
@@ -4,7 +4,7 @@ import com.yanzuoguang.dao.BaseDao;
import
com.yanzuoguang.dao.DaoConst
;
import
com.yanzuoguang.dao.DaoConst
;
import
com.yanzuoguang.util.exception.CodeException
;
import
com.yanzuoguang.util.exception.CodeException
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.
obj
.ObjectHelper
;
import
com.yanzuoguang.util.
base
.ObjectHelper
;
import
com.yanzuoguang.util.vo.InitDao
;
import
com.yanzuoguang.util.vo.InitDao
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
yzg-util-db/src/main/java/com/yanzuoguang/dao/Impl/BaseDaoSql.java
View file @
3c75fae4
...
@@ -5,7 +5,7 @@ import com.yanzuoguang.db.DbExecute;
...
@@ -5,7 +5,7 @@ import com.yanzuoguang.db.DbExecute;
import
com.yanzuoguang.util.cache.MemoryCache
;
import
com.yanzuoguang.util.cache.MemoryCache
;
import
com.yanzuoguang.util.exception.CodeException
;
import
com.yanzuoguang.util.exception.CodeException
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.
obj
.ObjectHelper
;
import
com.yanzuoguang.util.
base
.ObjectHelper
;
import
com.yanzuoguang.util.vo.PageSizeData
;
import
com.yanzuoguang.util.vo.PageSizeData
;
import
com.yanzuoguang.util.vo.PageSizeReq
;
import
com.yanzuoguang.util.vo.PageSizeReq
;
import
com.yanzuoguang.util.vo.PageSizeReqVo
;
import
com.yanzuoguang.util.vo.PageSizeReqVo
;
...
...
yzg-util-db/src/main/java/com/yanzuoguang/dao/Impl/TableStruct.java
View file @
3c75fae4
...
@@ -3,8 +3,8 @@ package com.yanzuoguang.dao.Impl;
...
@@ -3,8 +3,8 @@ package com.yanzuoguang.dao.Impl;
import
com.yanzuoguang.dao.DaoConst
;
import
com.yanzuoguang.dao.DaoConst
;
import
com.yanzuoguang.dao.TableAnnotation
;
import
com.yanzuoguang.dao.TableAnnotation
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.helper.StringHelper
;
import
com.yanzuoguang.util.
obj
.MethodField
;
import
com.yanzuoguang.util.
base
.MethodField
;
import
com.yanzuoguang.util.
obj
.ObjectHelper
;
import
com.yanzuoguang.util.
base
.ObjectHelper
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
yzg-util-db/src/main/java/com/yanzuoguang/db/Impl/AllBeanRowMapper.java
View file @
3c75fae4
...
@@ -2,7 +2,7 @@ package com.yanzuoguang.db.Impl;
...
@@ -2,7 +2,7 @@ package com.yanzuoguang.db.Impl;
import
com.yanzuoguang.extend.ConfigDb
;
import
com.yanzuoguang.extend.ConfigDb
;
import
com.yanzuoguang.util.log.Log
;
import
com.yanzuoguang.util.log.Log
;
import
com.yanzuoguang.util.
obj
.ObjectHelper
;
import
com.yanzuoguang.util.
base
.ObjectHelper
;
import
com.yanzuoguang.util.vo.MapRow
;
import
com.yanzuoguang.util.vo.MapRow
;
import
org.springframework.beans.*
;
import
org.springframework.beans.*
;
import
org.springframework.dao.DataRetrievalFailureException
;
import
org.springframework.dao.DataRetrievalFailureException
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment