Commit de0941667366f0c5e2e68a5f2cf554b778ad59c0

Authored by 王彬
1 parent 04eef27c
Exists in master

deploy new version

build.gradle
... ... @@ -54,7 +54,7 @@ uploadArchives {
54 54 authentication(userName: NEXUS_USERNAME, password: NEXUS_PASSWORD)
55 55 }
56 56 pom.project {
57   - version '1.1.10'
  57 + version '1.1.11'
58 58 artifactId ARTIFACT_Id
59 59 groupId GROUP_ID
60 60 packaging TYPE
... ...
src/main/java/com/taover/util/UtilHttpRequestMap.java
... ... @@ -109,6 +109,9 @@ public class UtilHttpRequestMap {
109 109 }
110 110 String colName = UtilString.underscoreName(keyName).toLowerCase();
111 111 if(data.length == 1){
  112 + if(data[0] == null || "".equals(data[0].trim())){
  113 + throw new Exception("data[0] is empty");
  114 + }
112 115 String typeName = camelField.getType().getSimpleName();
113 116 if(typeName.equals("String")){
114 117 return new Object[]{colName, "like", "%"+data[0]+"%"};
... ...