ytf %!s(int64=3) %!d(string=hai) anos
pai
achega
3f40627133
Modificáronse 100 ficheiros con 2174 adicións e 1 borrados
  1. 0 1
      krock-jcebid-cp
  2. 1 0
      krock-jcebid-cp/.gitignore
  3. 25 0
      krock-jcebid-cp/krock-api-system/.gitignore
  4. BIN=BIN
      krock-jcebid-cp/krock-api-system/.mvn/wrapper/maven-wrapper.jar
  5. 1 0
      krock-jcebid-cp/krock-api-system/.mvn/wrapper/maven-wrapper.properties
  6. 25 0
      krock-jcebid-cp/krock-api-system/bin/.gitignore
  7. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/.mvn/wrapper/maven-wrapper.jar
  8. 1 0
      krock-jcebid-cp/krock-api-system/bin/.mvn/wrapper/maven-wrapper.properties
  9. 225 0
      krock-jcebid-cp/krock-api-system/bin/mvnw
  10. 143 0
      krock-jcebid-cp/krock-api-system/bin/mvnw.cmd
  11. 74 0
      krock-jcebid-cp/krock-api-system/bin/pom.xml
  12. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/AdminServiceApi.class
  13. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/AreaServiceApi.class
  14. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/AuthServiceApi.class
  15. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/CpUniqueCheckServiceApi.class
  16. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/DateServiceApi.class
  17. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/FileServiceApi.class
  18. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/RoleServiceApi.class
  19. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/SettingServiceApi.class
  20. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/SmsServiceApi.class
  21. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/SmsTemplateServiceApi.class
  22. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/VersionServiceApi.class
  23. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_admin.class
  24. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_area.class
  25. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_area_country.class
  26. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_auth.class
  27. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_date.class
  28. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_email.class
  29. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_email_template.class
  30. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_file.class
  31. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_log.class
  32. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_role.class
  33. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_setting.class
  34. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_sms.class
  35. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_sms_template.class
  36. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_version.class
  37. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_website.class
  38. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/FieldType.class
  39. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/NotMap.class
  40. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/PK.class
  41. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/Table.class
  42. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/exception/NEServiceException.class
  43. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/ClassUtil.class
  44. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/MySQLUtil.class
  45. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/ORMUtil.class
  46. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/model/DataModel.class
  47. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/param/NeParam.class
  48. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/param/NeParamList.class
  49. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/param/NeParamTools.class
  50. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/page/Page.class
  51. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/page/PagePackage.class
  52. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/Base58.class
  53. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/ChkUtil.class
  54. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/ConfigUtil.class
  55. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/DecodeUnicode.class
  56. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/DistUtil.class
  57. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/FileTools.class
  58. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/GenerateLongUtil.class
  59. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/GenerateUtil.class
  60. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/HtmlUtil.class
  61. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/ImageUtil.class
  62. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/JsonUtil.class
  63. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/PKUtil.class
  64. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/StrUtil.class
  65. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/TimeUtil.class
  66. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/TreeUtil.class
  67. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/generator/GeUtils.class
  68. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/generator/TableMeta.class
  69. BIN=BIN
      krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/generator/TypeMapping.class
  70. 225 0
      krock-jcebid-cp/krock-api-system/mvnw
  71. 143 0
      krock-jcebid-cp/krock-api-system/mvnw.cmd
  72. 83 0
      krock-jcebid-cp/krock-api-system/pom.xml
  73. 30 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/AdminApi.java
  74. 46 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/AreaApi.java
  75. 37 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ArticleApi.java
  76. 51 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/AuthApi.java
  77. 25 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/BankConfigApi.java
  78. 25 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/BankManagementAccountApi.java
  79. 25 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/BankVirtualAccountApi.java
  80. 24 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ContractModelApi.java
  81. 25 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/DataProvinceApi.java
  82. 73 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ExpertIndustryTypeApi.java
  83. 8 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ExpertSyncApi.java
  84. 55 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/FileApi.java
  85. 35 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/FileAuthApi.java
  86. 37 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/IndustryTypeApi.java
  87. 37 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ItemIndustryTypeApi.java
  88. 38 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/MoneyTypeApi.java
  89. 29 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/OrgNatureApi.java
  90. 29 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ReviewMathmodelApi.java
  91. 9 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/RoleApi.java
  92. 42 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SettingApi.java
  93. 71 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SignatureApi.java
  94. 174 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SmsApi.java
  95. 26 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SmsTemplateApi.java
  96. 212 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/VerifyApi.java
  97. 19 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/VersionApi.java
  98. 25 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/WebsiteApi.java
  99. 21 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/check/CheckApi.java
  100. 0 0
      krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/node/NodeApi.java

+ 0 - 1
krock-jcebid-cp

@@ -1 +0,0 @@
1
-Subproject commit 314d160334af5f24819865acf3ded451364b1ede

+ 1 - 0
krock-jcebid-cp/.gitignore

@@ -0,0 +1 @@
1
+/.project

+ 25 - 0
krock-jcebid-cp/krock-api-system/.gitignore

@@ -0,0 +1,25 @@
1
+/target/
2
+!.mvn/wrapper/maven-wrapper.jar
3
+
4
+### STS ###
5
+.apt_generated
6
+.classpath
7
+.factorypath
8
+.project
9
+.settings
10
+.springBeans
11
+.sts4-cache
12
+
13
+### IntelliJ IDEA ###
14
+.idea
15
+*.iws
16
+*.iml
17
+*.ipr
18
+
19
+### NetBeans ###
20
+/nbproject/private/
21
+/build/
22
+/nbbuild/
23
+/dist/
24
+/nbdist/
25
+/.nb-gradle/

BIN=BIN
krock-jcebid-cp/krock-api-system/.mvn/wrapper/maven-wrapper.jar


+ 1 - 0
krock-jcebid-cp/krock-api-system/.mvn/wrapper/maven-wrapper.properties

@@ -0,0 +1 @@
1
+distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip

+ 25 - 0
krock-jcebid-cp/krock-api-system/bin/.gitignore

@@ -0,0 +1,25 @@
1
+/target/
2
+!.mvn/wrapper/maven-wrapper.jar
3
+
4
+### STS ###
5
+.apt_generated
6
+.classpath
7
+.factorypath
8
+.project
9
+.settings
10
+.springBeans
11
+.sts4-cache
12
+
13
+### IntelliJ IDEA ###
14
+.idea
15
+*.iws
16
+*.iml
17
+*.ipr
18
+
19
+### NetBeans ###
20
+/nbproject/private/
21
+/build/
22
+/nbbuild/
23
+/dist/
24
+/nbdist/
25
+/.nb-gradle/

BIN=BIN
krock-jcebid-cp/krock-api-system/bin/.mvn/wrapper/maven-wrapper.jar


+ 1 - 0
krock-jcebid-cp/krock-api-system/bin/.mvn/wrapper/maven-wrapper.properties

@@ -0,0 +1 @@
1
+distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip

+ 225 - 0
krock-jcebid-cp/krock-api-system/bin/mvnw

@@ -0,0 +1,225 @@
1
+#!/bin/sh
2
+# ----------------------------------------------------------------------------
3
+# Licensed to the Apache Software Foundation (ASF) under one
4
+# or more contributor license agreements.  See the NOTICE file
5
+# distributed with this work for additional information
6
+# regarding copyright ownership.  The ASF licenses this file
7
+# to you under the Apache License, Version 2.0 (the
8
+# "License"); you may not use this file except in compliance
9
+# with the License.  You may obtain a copy of the License at
10
+#
11
+#    http://www.apache.org/licenses/LICENSE-2.0
12
+#
13
+# Unless required by applicable law or agreed to in writing,
14
+# software distributed under the License is distributed on an
15
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+# KIND, either express or implied.  See the License for the
17
+# specific language governing permissions and limitations
18
+# under the License.
19
+# ----------------------------------------------------------------------------
20
+
21
+# ----------------------------------------------------------------------------
22
+# Maven2 Start Up Batch script
23
+#
24
+# Required ENV vars:
25
+# ------------------
26
+#   JAVA_HOME - location of a JDK home dir
27
+#
28
+# Optional ENV vars
29
+# -----------------
30
+#   M2_HOME - location of maven2's installed home dir
31
+#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
32
+#     e.g. to debug Maven itself, use
33
+#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34
+#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35
+# ----------------------------------------------------------------------------
36
+
37
+if [ -z "$MAVEN_SKIP_RC" ] ; then
38
+
39
+  if [ -f /etc/mavenrc ] ; then
40
+    . /etc/mavenrc
41
+  fi
42
+
43
+  if [ -f "$HOME/.mavenrc" ] ; then
44
+    . "$HOME/.mavenrc"
45
+  fi
46
+
47
+fi
48
+
49
+# OS specific support.  $var _must_ be set to either true or false.
50
+cygwin=false;
51
+darwin=false;
52
+mingw=false
53
+case "`uname`" in
54
+  CYGWIN*) cygwin=true ;;
55
+  MINGW*) mingw=true;;
56
+  Darwin*) darwin=true
57
+    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
58
+    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
59
+    if [ -z "$JAVA_HOME" ]; then
60
+      if [ -x "/usr/libexec/java_home" ]; then
61
+        export JAVA_HOME="`/usr/libexec/java_home`"
62
+      else
63
+        export JAVA_HOME="/Library/Java/Home"
64
+      fi
65
+    fi
66
+    ;;
67
+esac
68
+
69
+if [ -z "$JAVA_HOME" ] ; then
70
+  if [ -r /etc/gentoo-release ] ; then
71
+    JAVA_HOME=`java-config --jre-home`
72
+  fi
73
+fi
74
+
75
+if [ -z "$M2_HOME" ] ; then
76
+  ## resolve links - $0 may be a link to maven's home
77
+  PRG="$0"
78
+
79
+  # need this for relative symlinks
80
+  while [ -h "$PRG" ] ; do
81
+    ls=`ls -ld "$PRG"`
82
+    link=`expr "$ls" : '.*-> \(.*\)$'`
83
+    if expr "$link" : '/.*' > /dev/null; then
84
+      PRG="$link"
85
+    else
86
+      PRG="`dirname "$PRG"`/$link"
87
+    fi
88
+  done
89
+
90
+  saveddir=`pwd`
91
+
92
+  M2_HOME=`dirname "$PRG"`/..
93
+
94
+  # make it fully qualified
95
+  M2_HOME=`cd "$M2_HOME" && pwd`
96
+
97
+  cd "$saveddir"
98
+  # echo Using m2 at $M2_HOME
99
+fi
100
+
101
+# For Cygwin, ensure paths are in UNIX format before anything is touched
102
+if $cygwin ; then
103
+  [ -n "$M2_HOME" ] &&
104
+    M2_HOME=`cygpath --unix "$M2_HOME"`
105
+  [ -n "$JAVA_HOME" ] &&
106
+    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
107
+  [ -n "$CLASSPATH" ] &&
108
+    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
109
+fi
110
+
111
+# For Migwn, ensure paths are in UNIX format before anything is touched
112
+if $mingw ; then
113
+  [ -n "$M2_HOME" ] &&
114
+    M2_HOME="`(cd "$M2_HOME"; pwd)`"
115
+  [ -n "$JAVA_HOME" ] &&
116
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
117
+  # TODO classpath?
118
+fi
119
+
120
+if [ -z "$JAVA_HOME" ]; then
121
+  javaExecutable="`which javac`"
122
+  if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
123
+    # readlink(1) is not available as standard on Solaris 10.
124
+    readLink=`which readlink`
125
+    if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
126
+      if $darwin ; then
127
+        javaHome="`dirname \"$javaExecutable\"`"
128
+        javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
129
+      else
130
+        javaExecutable="`readlink -f \"$javaExecutable\"`"
131
+      fi
132
+      javaHome="`dirname \"$javaExecutable\"`"
133
+      javaHome=`expr "$javaHome" : '\(.*\)/bin'`
134
+      JAVA_HOME="$javaHome"
135
+      export JAVA_HOME
136
+    fi
137
+  fi
138
+fi
139
+
140
+if [ -z "$JAVACMD" ] ; then
141
+  if [ -n "$JAVA_HOME"  ] ; then
142
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
143
+      # IBM's JDK on AIX uses strange locations for the executables
144
+      JAVACMD="$JAVA_HOME/jre/sh/java"
145
+    else
146
+      JAVACMD="$JAVA_HOME/bin/java"
147
+    fi
148
+  else
149
+    JAVACMD="`which java`"
150
+  fi
151
+fi
152
+
153
+if [ ! -x "$JAVACMD" ] ; then
154
+  echo "Error: JAVA_HOME is not defined correctly." >&2
155
+  echo "  We cannot execute $JAVACMD" >&2
156
+  exit 1
157
+fi
158
+
159
+if [ -z "$JAVA_HOME" ] ; then
160
+  echo "Warning: JAVA_HOME environment variable is not set."
161
+fi
162
+
163
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
164
+
165
+# traverses directory structure from process work directory to filesystem root
166
+# first directory with .mvn subdirectory is considered project base directory
167
+find_maven_basedir() {
168
+
169
+  if [ -z "$1" ]
170
+  then
171
+    echo "Path not specified to find_maven_basedir"
172
+    return 1
173
+  fi
174
+
175
+  basedir="$1"
176
+  wdir="$1"
177
+  while [ "$wdir" != '/' ] ; do
178
+    if [ -d "$wdir"/.mvn ] ; then
179
+      basedir=$wdir
180
+      break
181
+    fi
182
+    # workaround for JBEAP-8937 (on Solaris 10/Sparc)
183
+    if [ -d "${wdir}" ]; then
184
+      wdir=`cd "$wdir/.."; pwd`
185
+    fi
186
+    # end of workaround
187
+  done
188
+  echo "${basedir}"
189
+}
190
+
191
+# concatenates all lines of a file
192
+concat_lines() {
193
+  if [ -f "$1" ]; then
194
+    echo "$(tr -s '\n' ' ' < "$1")"
195
+  fi
196
+}
197
+
198
+BASE_DIR=`find_maven_basedir "$(pwd)"`
199
+if [ -z "$BASE_DIR" ]; then
200
+  exit 1;
201
+fi
202
+
203
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
204
+echo $MAVEN_PROJECTBASEDIR
205
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
206
+
207
+# For Cygwin, switch paths to Windows format before running java
208
+if $cygwin; then
209
+  [ -n "$M2_HOME" ] &&
210
+    M2_HOME=`cygpath --path --windows "$M2_HOME"`
211
+  [ -n "$JAVA_HOME" ] &&
212
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
213
+  [ -n "$CLASSPATH" ] &&
214
+    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
215
+  [ -n "$MAVEN_PROJECTBASEDIR" ] &&
216
+    MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
217
+fi
218
+
219
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
220
+
221
+exec "$JAVACMD" \
222
+  $MAVEN_OPTS \
223
+  -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
224
+  "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
225
+  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

+ 143 - 0
krock-jcebid-cp/krock-api-system/bin/mvnw.cmd

@@ -0,0 +1,143 @@
1
+@REM ----------------------------------------------------------------------------
2
+@REM Licensed to the Apache Software Foundation (ASF) under one
3
+@REM or more contributor license agreements.  See the NOTICE file
4
+@REM distributed with this work for additional information
5
+@REM regarding copyright ownership.  The ASF licenses this file
6
+@REM to you under the Apache License, Version 2.0 (the
7
+@REM "License"); you may not use this file except in compliance
8
+@REM with the License.  You may obtain a copy of the License at
9
+@REM
10
+@REM    http://www.apache.org/licenses/LICENSE-2.0
11
+@REM
12
+@REM Unless required by applicable law or agreed to in writing,
13
+@REM software distributed under the License is distributed on an
14
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+@REM KIND, either express or implied.  See the License for the
16
+@REM specific language governing permissions and limitations
17
+@REM under the License.
18
+@REM ----------------------------------------------------------------------------
19
+
20
+@REM ----------------------------------------------------------------------------
21
+@REM Maven2 Start Up Batch script
22
+@REM
23
+@REM Required ENV vars:
24
+@REM JAVA_HOME - location of a JDK home dir
25
+@REM
26
+@REM Optional ENV vars
27
+@REM M2_HOME - location of maven2's installed home dir
28
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
+@REM     e.g. to debug Maven itself, use
32
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
+@REM ----------------------------------------------------------------------------
35
+
36
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
+@echo off
38
+@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
+@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
40
+
41
+@REM set %HOME% to equivalent of $HOME
42
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
43
+
44
+@REM Execute a user defined script before this one
45
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
46
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
47
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
48
+if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
49
+:skipRcPre
50
+
51
+@setlocal
52
+
53
+set ERROR_CODE=0
54
+
55
+@REM To isolate internal variables from possible post scripts, we use another setlocal
56
+@setlocal
57
+
58
+@REM ==== START VALIDATION ====
59
+if not "%JAVA_HOME%" == "" goto OkJHome
60
+
61
+echo.
62
+echo Error: JAVA_HOME not found in your environment. >&2
63
+echo Please set the JAVA_HOME variable in your environment to match the >&2
64
+echo location of your Java installation. >&2
65
+echo.
66
+goto error
67
+
68
+:OkJHome
69
+if exist "%JAVA_HOME%\bin\java.exe" goto init
70
+
71
+echo.
72
+echo Error: JAVA_HOME is set to an invalid directory. >&2
73
+echo JAVA_HOME = "%JAVA_HOME%" >&2
74
+echo Please set the JAVA_HOME variable in your environment to match the >&2
75
+echo location of your Java installation. >&2
76
+echo.
77
+goto error
78
+
79
+@REM ==== END VALIDATION ====
80
+
81
+:init
82
+
83
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
84
+@REM Fallback to current working directory if not found.
85
+
86
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
87
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
88
+
89
+set EXEC_DIR=%CD%
90
+set WDIR=%EXEC_DIR%
91
+:findBaseDir
92
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
93
+cd ..
94
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
95
+set WDIR=%CD%
96
+goto findBaseDir
97
+
98
+:baseDirFound
99
+set MAVEN_PROJECTBASEDIR=%WDIR%
100
+cd "%EXEC_DIR%"
101
+goto endDetectBaseDir
102
+
103
+:baseDirNotFound
104
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
105
+cd "%EXEC_DIR%"
106
+
107
+:endDetectBaseDir
108
+
109
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
110
+
111
+@setlocal EnableExtensions EnableDelayedExpansion
112
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
113
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
114
+
115
+:endReadAdditionalConfig
116
+
117
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
118
+
119
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
120
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
121
+
122
+%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
123
+if ERRORLEVEL 1 goto error
124
+goto end
125
+
126
+:error
127
+set ERROR_CODE=1
128
+
129
+:end
130
+@endlocal & set ERROR_CODE=%ERROR_CODE%
131
+
132
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
133
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
134
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
135
+if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
136
+:skipRcPost
137
+
138
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
139
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
140
+
141
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
142
+
143
+exit /B %ERROR_CODE%

+ 74 - 0
krock-jcebid-cp/krock-api-system/bin/pom.xml

@@ -0,0 +1,74 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+	<modelVersion>4.0.0</modelVersion>
6
+
7
+	<groupId>com.ydw.yunbuyer.api</groupId>
8
+	<artifactId>krock-api-system</artifactId>
9
+	<version>0.0.1</version>
10
+	<packaging>jar</packaging>
11
+
12
+	<properties>
13
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15
+		<java.version>12</java.version>
16
+		<slf4j.version>1.7.21</slf4j.version>
17
+		<fastjson.version>1.2.49</fastjson.version>
18
+		<commons-lang3.version>3.4</commons-lang3.version>
19
+		<maven.compiler.source>${java.version}</maven.compiler.source>
20
+		<maven.compiler.target>${java.version}</maven.compiler.target>
21
+	</properties>
22
+
23
+	<dependencies>
24
+		<!-- slf4j -->
25
+		<dependency>
26
+			<groupId>org.slf4j</groupId>
27
+			<artifactId>slf4j-api</artifactId>
28
+			<version>${slf4j.version}</version>
29
+		</dependency>
30
+		<dependency>
31
+			<groupId>org.slf4j</groupId>
32
+			<artifactId>slf4j-site</artifactId>
33
+			<version>${slf4j.version}</version>
34
+		</dependency>
35
+		<!-- fastjson -->
36
+		<dependency>
37
+			<groupId>com.alibaba</groupId>
38
+			<artifactId>fastjson</artifactId>
39
+			<version>${fastjson.version}</version>
40
+		</dependency>
41
+		<!-- commons-lang3 -->
42
+		<dependency>
43
+			<groupId>org.apache.commons</groupId>
44
+			<artifactId>commons-lang3</artifactId>
45
+			<version>${commons-lang3.version}</version>
46
+		</dependency>
47
+		<!-- Spring MVC -->
48
+		<dependency>
49
+			<groupId>org.springframework</groupId>
50
+			<artifactId>spring-web</artifactId>
51
+			<version>5.0.7.RELEASE</version>
52
+		</dependency>
53
+		<dependency>
54
+			<groupId>com.ydw.yunbuyer.common</groupId>
55
+			<artifactId>krock-core-common</artifactId>
56
+			<version>0.0.1</version>
57
+		</dependency>
58
+	</dependencies>
59
+
60
+	<build>
61
+		<plugins>
62
+			<plugin>
63
+				<groupId>org.springframework.boot</groupId>
64
+				<artifactId>spring-boot-maven-plugin</artifactId>
65
+				<configuration>
66
+					<source>${java.version}</source>
67
+					<target>${java.version}</target>
68
+				</configuration>
69
+			</plugin>
70
+		</plugins>
71
+		<defaultGoal>compile</defaultGoal>
72
+	</build>
73
+
74
+</project>

BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/AdminServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/AreaServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/AuthServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/CpUniqueCheckServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/DateServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/FileServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/RoleServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/SettingServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/SmsServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/SmsTemplateServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/api/VersionServiceApi.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_admin.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_area.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_area_country.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_auth.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_date.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_email.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_email_template.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_file.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_log.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_role.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_setting.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_sms.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_sms_template.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_version.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/com/ydw/yunbuyer/api/system/entity/t_fk_website.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/FieldType.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/NotMap.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/PK.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/annotation/Table.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/exception/NEServiceException.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/ClassUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/MySQLUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/ORMUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/model/DataModel.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/param/NeParam.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/param/NeParamList.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/orm/param/NeParamTools.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/page/Page.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/page/PagePackage.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/Base58.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/ChkUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/ConfigUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/DecodeUnicode.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/DistUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/FileTools.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/GenerateLongUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/GenerateUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/HtmlUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/ImageUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/JsonUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/PKUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/StrUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/TimeUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/TreeUtil.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/generator/GeUtils.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/generator/TableMeta.class


BIN=BIN
krock-jcebid-cp/krock-api-system/bin/src/main/java/org/tmsps/ne4spring/utils/generator/TypeMapping.class


+ 225 - 0
krock-jcebid-cp/krock-api-system/mvnw

@@ -0,0 +1,225 @@
1
+#!/bin/sh
2
+# ----------------------------------------------------------------------------
3
+# Licensed to the Apache Software Foundation (ASF) under one
4
+# or more contributor license agreements.  See the NOTICE file
5
+# distributed with this work for additional information
6
+# regarding copyright ownership.  The ASF licenses this file
7
+# to you under the Apache License, Version 2.0 (the
8
+# "License"); you may not use this file except in compliance
9
+# with the License.  You may obtain a copy of the License at
10
+#
11
+#    http://www.apache.org/licenses/LICENSE-2.0
12
+#
13
+# Unless required by applicable law or agreed to in writing,
14
+# software distributed under the License is distributed on an
15
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+# KIND, either express or implied.  See the License for the
17
+# specific language governing permissions and limitations
18
+# under the License.
19
+# ----------------------------------------------------------------------------
20
+
21
+# ----------------------------------------------------------------------------
22
+# Maven2 Start Up Batch script
23
+#
24
+# Required ENV vars:
25
+# ------------------
26
+#   JAVA_HOME - location of a JDK home dir
27
+#
28
+# Optional ENV vars
29
+# -----------------
30
+#   M2_HOME - location of maven2's installed home dir
31
+#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
32
+#     e.g. to debug Maven itself, use
33
+#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
34
+#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
35
+# ----------------------------------------------------------------------------
36
+
37
+if [ -z "$MAVEN_SKIP_RC" ] ; then
38
+
39
+  if [ -f /etc/mavenrc ] ; then
40
+    . /etc/mavenrc
41
+  fi
42
+
43
+  if [ -f "$HOME/.mavenrc" ] ; then
44
+    . "$HOME/.mavenrc"
45
+  fi
46
+
47
+fi
48
+
49
+# OS specific support.  $var _must_ be set to either true or false.
50
+cygwin=false;
51
+darwin=false;
52
+mingw=false
53
+case "`uname`" in
54
+  CYGWIN*) cygwin=true ;;
55
+  MINGW*) mingw=true;;
56
+  Darwin*) darwin=true
57
+    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
58
+    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
59
+    if [ -z "$JAVA_HOME" ]; then
60
+      if [ -x "/usr/libexec/java_home" ]; then
61
+        export JAVA_HOME="`/usr/libexec/java_home`"
62
+      else
63
+        export JAVA_HOME="/Library/Java/Home"
64
+      fi
65
+    fi
66
+    ;;
67
+esac
68
+
69
+if [ -z "$JAVA_HOME" ] ; then
70
+  if [ -r /etc/gentoo-release ] ; then
71
+    JAVA_HOME=`java-config --jre-home`
72
+  fi
73
+fi
74
+
75
+if [ -z "$M2_HOME" ] ; then
76
+  ## resolve links - $0 may be a link to maven's home
77
+  PRG="$0"
78
+
79
+  # need this for relative symlinks
80
+  while [ -h "$PRG" ] ; do
81
+    ls=`ls -ld "$PRG"`
82
+    link=`expr "$ls" : '.*-> \(.*\)$'`
83
+    if expr "$link" : '/.*' > /dev/null; then
84
+      PRG="$link"
85
+    else
86
+      PRG="`dirname "$PRG"`/$link"
87
+    fi
88
+  done
89
+
90
+  saveddir=`pwd`
91
+
92
+  M2_HOME=`dirname "$PRG"`/..
93
+
94
+  # make it fully qualified
95
+  M2_HOME=`cd "$M2_HOME" && pwd`
96
+
97
+  cd "$saveddir"
98
+  # echo Using m2 at $M2_HOME
99
+fi
100
+
101
+# For Cygwin, ensure paths are in UNIX format before anything is touched
102
+if $cygwin ; then
103
+  [ -n "$M2_HOME" ] &&
104
+    M2_HOME=`cygpath --unix "$M2_HOME"`
105
+  [ -n "$JAVA_HOME" ] &&
106
+    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
107
+  [ -n "$CLASSPATH" ] &&
108
+    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
109
+fi
110
+
111
+# For Migwn, ensure paths are in UNIX format before anything is touched
112
+if $mingw ; then
113
+  [ -n "$M2_HOME" ] &&
114
+    M2_HOME="`(cd "$M2_HOME"; pwd)`"
115
+  [ -n "$JAVA_HOME" ] &&
116
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
117
+  # TODO classpath?
118
+fi
119
+
120
+if [ -z "$JAVA_HOME" ]; then
121
+  javaExecutable="`which javac`"
122
+  if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
123
+    # readlink(1) is not available as standard on Solaris 10.
124
+    readLink=`which readlink`
125
+    if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
126
+      if $darwin ; then
127
+        javaHome="`dirname \"$javaExecutable\"`"
128
+        javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
129
+      else
130
+        javaExecutable="`readlink -f \"$javaExecutable\"`"
131
+      fi
132
+      javaHome="`dirname \"$javaExecutable\"`"
133
+      javaHome=`expr "$javaHome" : '\(.*\)/bin'`
134
+      JAVA_HOME="$javaHome"
135
+      export JAVA_HOME
136
+    fi
137
+  fi
138
+fi
139
+
140
+if [ -z "$JAVACMD" ] ; then
141
+  if [ -n "$JAVA_HOME"  ] ; then
142
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
143
+      # IBM's JDK on AIX uses strange locations for the executables
144
+      JAVACMD="$JAVA_HOME/jre/sh/java"
145
+    else
146
+      JAVACMD="$JAVA_HOME/bin/java"
147
+    fi
148
+  else
149
+    JAVACMD="`which java`"
150
+  fi
151
+fi
152
+
153
+if [ ! -x "$JAVACMD" ] ; then
154
+  echo "Error: JAVA_HOME is not defined correctly." >&2
155
+  echo "  We cannot execute $JAVACMD" >&2
156
+  exit 1
157
+fi
158
+
159
+if [ -z "$JAVA_HOME" ] ; then
160
+  echo "Warning: JAVA_HOME environment variable is not set."
161
+fi
162
+
163
+CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
164
+
165
+# traverses directory structure from process work directory to filesystem root
166
+# first directory with .mvn subdirectory is considered project base directory
167
+find_maven_basedir() {
168
+
169
+  if [ -z "$1" ]
170
+  then
171
+    echo "Path not specified to find_maven_basedir"
172
+    return 1
173
+  fi
174
+
175
+  basedir="$1"
176
+  wdir="$1"
177
+  while [ "$wdir" != '/' ] ; do
178
+    if [ -d "$wdir"/.mvn ] ; then
179
+      basedir=$wdir
180
+      break
181
+    fi
182
+    # workaround for JBEAP-8937 (on Solaris 10/Sparc)
183
+    if [ -d "${wdir}" ]; then
184
+      wdir=`cd "$wdir/.."; pwd`
185
+    fi
186
+    # end of workaround
187
+  done
188
+  echo "${basedir}"
189
+}
190
+
191
+# concatenates all lines of a file
192
+concat_lines() {
193
+  if [ -f "$1" ]; then
194
+    echo "$(tr -s '\n' ' ' < "$1")"
195
+  fi
196
+}
197
+
198
+BASE_DIR=`find_maven_basedir "$(pwd)"`
199
+if [ -z "$BASE_DIR" ]; then
200
+  exit 1;
201
+fi
202
+
203
+export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
204
+echo $MAVEN_PROJECTBASEDIR
205
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
206
+
207
+# For Cygwin, switch paths to Windows format before running java
208
+if $cygwin; then
209
+  [ -n "$M2_HOME" ] &&
210
+    M2_HOME=`cygpath --path --windows "$M2_HOME"`
211
+  [ -n "$JAVA_HOME" ] &&
212
+    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
213
+  [ -n "$CLASSPATH" ] &&
214
+    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
215
+  [ -n "$MAVEN_PROJECTBASEDIR" ] &&
216
+    MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
217
+fi
218
+
219
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
220
+
221
+exec "$JAVACMD" \
222
+  $MAVEN_OPTS \
223
+  -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
224
+  "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
225
+  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"

+ 143 - 0
krock-jcebid-cp/krock-api-system/mvnw.cmd

@@ -0,0 +1,143 @@
1
+@REM ----------------------------------------------------------------------------
2
+@REM Licensed to the Apache Software Foundation (ASF) under one
3
+@REM or more contributor license agreements.  See the NOTICE file
4
+@REM distributed with this work for additional information
5
+@REM regarding copyright ownership.  The ASF licenses this file
6
+@REM to you under the Apache License, Version 2.0 (the
7
+@REM "License"); you may not use this file except in compliance
8
+@REM with the License.  You may obtain a copy of the License at
9
+@REM
10
+@REM    http://www.apache.org/licenses/LICENSE-2.0
11
+@REM
12
+@REM Unless required by applicable law or agreed to in writing,
13
+@REM software distributed under the License is distributed on an
14
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+@REM KIND, either express or implied.  See the License for the
16
+@REM specific language governing permissions and limitations
17
+@REM under the License.
18
+@REM ----------------------------------------------------------------------------
19
+
20
+@REM ----------------------------------------------------------------------------
21
+@REM Maven2 Start Up Batch script
22
+@REM
23
+@REM Required ENV vars:
24
+@REM JAVA_HOME - location of a JDK home dir
25
+@REM
26
+@REM Optional ENV vars
27
+@REM M2_HOME - location of maven2's installed home dir
28
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
29
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending
30
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
31
+@REM     e.g. to debug Maven itself, use
32
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
33
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
34
+@REM ----------------------------------------------------------------------------
35
+
36
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
37
+@echo off
38
+@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
39
+@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
40
+
41
+@REM set %HOME% to equivalent of $HOME
42
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
43
+
44
+@REM Execute a user defined script before this one
45
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
46
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
47
+if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
48
+if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
49
+:skipRcPre
50
+
51
+@setlocal
52
+
53
+set ERROR_CODE=0
54
+
55
+@REM To isolate internal variables from possible post scripts, we use another setlocal
56
+@setlocal
57
+
58
+@REM ==== START VALIDATION ====
59
+if not "%JAVA_HOME%" == "" goto OkJHome
60
+
61
+echo.
62
+echo Error: JAVA_HOME not found in your environment. >&2
63
+echo Please set the JAVA_HOME variable in your environment to match the >&2
64
+echo location of your Java installation. >&2
65
+echo.
66
+goto error
67
+
68
+:OkJHome
69
+if exist "%JAVA_HOME%\bin\java.exe" goto init
70
+
71
+echo.
72
+echo Error: JAVA_HOME is set to an invalid directory. >&2
73
+echo JAVA_HOME = "%JAVA_HOME%" >&2
74
+echo Please set the JAVA_HOME variable in your environment to match the >&2
75
+echo location of your Java installation. >&2
76
+echo.
77
+goto error
78
+
79
+@REM ==== END VALIDATION ====
80
+
81
+:init
82
+
83
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
84
+@REM Fallback to current working directory if not found.
85
+
86
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
87
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
88
+
89
+set EXEC_DIR=%CD%
90
+set WDIR=%EXEC_DIR%
91
+:findBaseDir
92
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
93
+cd ..
94
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
95
+set WDIR=%CD%
96
+goto findBaseDir
97
+
98
+:baseDirFound
99
+set MAVEN_PROJECTBASEDIR=%WDIR%
100
+cd "%EXEC_DIR%"
101
+goto endDetectBaseDir
102
+
103
+:baseDirNotFound
104
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
105
+cd "%EXEC_DIR%"
106
+
107
+:endDetectBaseDir
108
+
109
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
110
+
111
+@setlocal EnableExtensions EnableDelayedExpansion
112
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
113
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
114
+
115
+:endReadAdditionalConfig
116
+
117
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
118
+
119
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
120
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
121
+
122
+%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
123
+if ERRORLEVEL 1 goto error
124
+goto end
125
+
126
+:error
127
+set ERROR_CODE=1
128
+
129
+:end
130
+@endlocal & set ERROR_CODE=%ERROR_CODE%
131
+
132
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost
133
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
134
+if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
135
+if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd"
136
+:skipRcPost
137
+
138
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
139
+if "%MAVEN_BATCH_PAUSE%" == "on" pause
140
+
141
+if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
142
+
143
+exit /B %ERROR_CODE%

+ 83 - 0
krock-jcebid-cp/krock-api-system/pom.xml

@@ -0,0 +1,83 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+	<modelVersion>4.0.0</modelVersion>
6
+
7
+	<groupId>com.ydw.yunbuyer.api</groupId>
8
+	<artifactId>krock-api-system</artifactId>
9
+	<version>0.0.1</version>
10
+	<packaging>jar</packaging>
11
+
12
+	<properties>
13
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15
+		<java.version>12</java.version>
16
+		<slf4j.version>1.7.21</slf4j.version>
17
+		<fastjson.version>1.2.49</fastjson.version>
18
+		<commons-lang3.version>3.4</commons-lang3.version>
19
+		<maven.compiler.source>${java.version}</maven.compiler.source>
20
+		<maven.compiler.target>${java.version}</maven.compiler.target>
21
+	</properties>
22
+
23
+	<dependencies>
24
+		<!-- slf4j -->
25
+		<dependency>
26
+			<groupId>org.slf4j</groupId>
27
+			<artifactId>slf4j-api</artifactId>
28
+			<version>${slf4j.version}</version>
29
+		</dependency>
30
+		<dependency>
31
+			<groupId>org.slf4j</groupId>
32
+			<artifactId>slf4j-site</artifactId>
33
+			<version>${slf4j.version}</version>
34
+		</dependency>
35
+		<!-- fastjson -->
36
+		<dependency>
37
+			<groupId>com.alibaba</groupId>
38
+			<artifactId>fastjson</artifactId>
39
+			<version>${fastjson.version}</version>
40
+		</dependency>
41
+		<!-- commons-lang3 -->
42
+		<dependency>
43
+			<groupId>org.apache.commons</groupId>
44
+			<artifactId>commons-lang3</artifactId>
45
+			<version>${commons-lang3.version}</version>
46
+		</dependency>
47
+		<!-- Spring MVC -->
48
+		<dependency>
49
+			<groupId>org.springframework</groupId>
50
+			<artifactId>spring-web</artifactId>
51
+			<version>5.0.7.RELEASE</version>
52
+			<scope>provided</scope>
53
+		</dependency>
54
+		<dependency>
55
+			<groupId>com.ydw.yunbuyer.common</groupId>
56
+			<artifactId>krock-core-common</artifactId>
57
+			<version>0.0.1</version>
58
+		</dependency>
59
+	</dependencies>
60
+
61
+	<build>
62
+		<plugins>
63
+			<plugin>
64
+				<groupId>org.springframework.boot</groupId>
65
+				<artifactId>spring-boot-maven-plugin</artifactId>
66
+				<configuration>
67
+					<source>${java.version}</source>
68
+					<target>${java.version}</target>
69
+				</configuration>
70
+			</plugin>
71
+			<plugin>
72
+				<groupId>org.apache.maven.plugins</groupId>
73
+				<artifactId>maven-compiler-plugin</artifactId>
74
+				<configuration>
75
+					<source>${java.version}</source>
76
+					<target>${java.version}</target>
77
+				</configuration>
78
+			</plugin>
79
+		</plugins>
80
+		<defaultGoal>compile</defaultGoal>
81
+	</build>
82
+
83
+</project>

+ 30 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/AdminApi.java

@@ -0,0 +1,30 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.FkAdmin;
10
+
11
+/**
12
+ * 管理员 t_fk_admin
13
+ * 
14
+ * @author zhaoyun
15
+ * @2019年8月27日
16
+ */
17
+@RequestMapping("/api/system/admin")
18
+public interface AdminApi {
19
+
20
+	/**
21
+	 * 查询监督账号列表
22
+	 * 
23
+	 * @return
24
+	 */
25
+	@RequestMapping("/selectSuperviseList")
26
+	public List<Map<String, Object>> selectSuperviseList();
27
+
28
+	@RequestMapping("/get")
29
+	public FkAdmin get(@RequestParam("kid") String kid);
30
+}

+ 46 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/AreaApi.java

@@ -0,0 +1,46 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.FkArea;
10
+
11
+/**
12
+ * 地区 t_fk_area
13
+ * 
14
+ * @author zhaoyun
15
+ * @2019年8月27日
16
+ */
17
+@RequestMapping("/api/system/area")
18
+public interface AreaApi {
19
+
20
+	/**
21
+	 * TODO 查询二级地市列表
22
+	 * 
23
+	 * @return
24
+	 */
25
+	@RequestMapping("/selectListToCity")
26
+	public List<Map<String, Object>> selectListToCity();
27
+
28
+	/**
29
+	 * TODO 根据区域编码(code_area)获取地区信息
30
+	 * 
31
+	 * @param area_code
32
+	 * @return
33
+	 */
34
+	@RequestMapping("/findFkAreaByCodeArea")
35
+	public FkArea findFkAreaByCodeArea(@RequestParam("area_code") String area_code);
36
+
37
+	/**
38
+	 * TODO 根据编码(code)获取地区信息
39
+	 * 
40
+	 * @param regionCode
41
+	 * @return
42
+	 */
43
+	@RequestMapping("/find_by_code")
44
+	public FkArea find_by_code(@RequestParam("regionCode") String regionCode);
45
+
46
+}

+ 37 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ArticleApi.java

@@ -0,0 +1,37 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestBody;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+import org.springframework.web.bind.annotation.RequestParam;
6
+import org.tmsps.ne4spring.page.PagePackage;
7
+
8
+import com.ydw.yunbuyer.api.system.entity.NetArticle;
9
+
10
+/**
11
+ * 文章类信息 t_fk_article
12
+ * 
13
+ * @author zhaoyun
14
+ * @2019年8月27日
15
+ */
16
+@RequestMapping("/api/system/article")
17
+public interface ArticleApi {
18
+
19
+	/**
20
+	 * TODO 查询文章数据列表
21
+	 * 
22
+	 * @param pagePackage
23
+	 * @return
24
+	 */
25
+	@RequestMapping("/select_article_list")
26
+	PagePackage select_article_list(@RequestBody PagePackage pagePackage);
27
+
28
+	/**
29
+	 * TODO 获取单个文章信息
30
+	 * 
31
+	 * @param kid
32
+	 * @return
33
+	 */
34
+	@RequestMapping("/get")
35
+	NetArticle get(@RequestParam("kid") String kid);
36
+
37
+}

+ 51 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/AuthApi.java

@@ -0,0 +1,51 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+/**
10
+ * 菜单类信息 t_fk_auth
11
+ * 
12
+ * @author zhaoyun
13
+ * @2019年8月27日
14
+ */
15
+@RequestMapping("/api/system/auth")
16
+public interface AuthApi {
17
+
18
+	/**
19
+	 * TODO 根据机构类型获取不同菜单
20
+	 * 
21
+	 * @param org_type
22
+	 * @return
23
+	 */
24
+	@RequestMapping("/select_role_menu_list")
25
+	List<Map<String, Object>> select_role_menu_list(@RequestParam("org_type") String org_type);
26
+
27
+	/**
28
+	 * TODO 查询所属系统所有一级菜单列表
29
+	 * 
30
+	 * @param system
31
+	 * @return
32
+	 */
33
+	@RequestMapping("/selectFirstLevelMenu")
34
+	List<Map<String, Object>> selectFirstLevelMenu(@RequestParam("system") String system);
35
+
36
+	/**
37
+	 * TODO 根据code查询一二三级菜单
38
+	 * 
39
+	 * @param codes
40
+	 * @return
41
+	 */
42
+	@RequestMapping("/select_first_level_menu_list")
43
+	List<Map<String, Object>> select_first_level_menu_list(@RequestParam("codes") String codes);
44
+
45
+	@RequestMapping("/select_sub_menu_list")
46
+	List<Map<String, Object>> select_sub_menu_list(@RequestParam("code") String code);
47
+
48
+	@RequestMapping("/select_all_menu_list")
49
+	List<Map<String, Object>> select_all_menu_list(@RequestParam("codes") String codes);
50
+
51
+}

+ 25 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/BankConfigApi.java

@@ -0,0 +1,25 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestBody;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+
6
+import com.ydw.yunbuyer.api.system.entity.BankManagementAccount;
7
+
8
+/**
9
+ * 企业账号管理信息
10
+ * 
11
+ * @author zhaoyun
12
+ * @2019年8月27日
13
+ */
14
+@RequestMapping("/api/system/bank_management_account")
15
+public interface BankConfigApi {
16
+
17
+	/**
18
+	 * TODO 添加
19
+	 * 
20
+	 * @param management
21
+	 */
22
+	@RequestMapping("/add")
23
+	public BankManagementAccount add(@RequestBody BankManagementAccount management);
24
+
25
+}

+ 25 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/BankManagementAccountApi.java

@@ -0,0 +1,25 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestBody;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+
6
+import com.ydw.yunbuyer.api.system.entity.BankManagementAccount;
7
+
8
+/**
9
+ * 企业账号管理信息 t_bank_management_account
10
+ * 
11
+ * @author zhaoyun
12
+ * @2019年8月27日
13
+ */
14
+@RequestMapping("/api/system/bank_management_account")
15
+public interface BankManagementAccountApi {
16
+
17
+	/**
18
+	 * TODO 添加
19
+	 * 
20
+	 * @param management
21
+	 */
22
+	@RequestMapping("/add")
23
+	public BankManagementAccount add(@RequestBody BankManagementAccount management);
24
+
25
+}

+ 25 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/BankVirtualAccountApi.java

@@ -0,0 +1,25 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestMapping;
4
+import org.springframework.web.bind.annotation.RequestParam;
5
+
6
+import com.ydw.yunbuyer.api.system.entity.BankVirtualAccount;
7
+
8
+/**
9
+ * TODO 招标通虚拟账号信息 t_bank_virtual_account
10
+ * 
11
+ * @author hxj
12
+ */
13
+@RequestMapping("/api/system/bank_virtual_account")
14
+public interface BankVirtualAccountApi {
15
+
16
+	/**
17
+	 * TODO 获取单条信息
18
+	 * 
19
+	 * @param bank_virtual_account_org_id
20
+	 * @return
21
+	 */
22
+	@RequestMapping("/get")
23
+	public BankVirtualAccount get(@RequestParam("bank_virtual_account_org_id") String bank_virtual_account_org_id);
24
+
25
+}

+ 24 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ContractModelApi.java

@@ -0,0 +1,24 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestBody;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+import org.tmsps.ne4spring.page.PagePackage;
6
+
7
+/**
8
+ * TODO 合同模板信息 t_contract_model
9
+ * 
10
+ * @author hxj
11
+ * 
12
+ */
13
+public interface ContractModelApi {
14
+
15
+	/**
16
+	 * TODO 查询合同模板列表
17
+	 * 
18
+	 * @param pagePackage
19
+	 * @return
20
+	 */
21
+	@RequestMapping("/selecContractModel_list")
22
+	public PagePackage selecContractModel_list(@RequestBody PagePackage pagePackage);
23
+
24
+}

+ 25 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/DataProvinceApi.java

@@ -0,0 +1,25 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+
8
+/**
9
+ * 开标省份信息 t_data_province
10
+ * 
11
+ * @author zhaoyun
12
+ * @2019年8月27日
13
+ */
14
+@RequestMapping("/api/system/province")
15
+public interface DataProvinceApi {
16
+
17
+	/**
18
+	 * TODO 查询开标省份列表信息
19
+	 * 
20
+	 * @return
21
+	 */
22
+	@RequestMapping("/select_province_list_all")
23
+	public List<Map<String, Object>> select_province_list_all();
24
+
25
+}

+ 73 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ExpertIndustryTypeApi.java

@@ -0,0 +1,73 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.DataExpertIndustryType;
10
+
11
+/**
12
+ * 抽取专家专业类型信息 t_data_expert_industry_type
13
+ * 
14
+ * @author zhaoyun
15
+ * @2019年8月27日
16
+ */
17
+@RequestMapping("/api/system/expert_industry_type")
18
+public interface ExpertIndustryTypeApi {
19
+
20
+	/**
21
+	 * TODO 查询所有专家专业类型数据
22
+	 * 
23
+	 * @return
24
+	 */
25
+	@RequestMapping("/select_expert_industry_type_list")
26
+	public List<Map<String, Object>> select_expert_industry_type_list();
27
+
28
+	/**
29
+	 * TODO	根据行业编号获取对象数据
30
+	 * 
31
+	 * @param item_classification_code
32
+	 * @return
33
+	 */
34
+	@RequestMapping("/findByCodeIndustry")
35
+	public DataExpertIndustryType findByCodeIndustry(
36
+			@RequestParam("item_classification_code") String item_classification_code);
37
+
38
+	/**
39
+	 * TODO	查询一级专业类型(-->行业信息)
40
+	 * 
41
+	 * @return
42
+	 */
43
+	@RequestMapping("/selectOneLevelProfession")
44
+	public List<Map<String, Object>> selectOneLevelProfession();
45
+
46
+	/**
47
+	 * TODO	根据编码获取专家专业类型
48
+	 * 
49
+	 * @param code
50
+	 * @return
51
+	 */
52
+	@RequestMapping("/find_by_code")
53
+	public DataExpertIndustryType find_by_code(@RequestParam("code") String code);
54
+
55
+	/**
56
+	 * TODO	查询二级专业类型(-->行业信息)
57
+	 * 
58
+	 * @param profession_one
59
+	 * @return
60
+	 */
61
+	@RequestMapping("/selectSecondLevelProfession")
62
+	public List<Map<String, Object>> selectSecondLevelProfession(@RequestParam("profession_one") String profession_one);
63
+
64
+	/**
65
+	 * TODO	查询三级专业类型(-->行业信息)
66
+	 * 
67
+	 * @param second_code
68
+	 * @return
69
+	 */
70
+	@RequestMapping("/selectThreeLevelProfession")
71
+	public List<Map<String, Object>> selectThreeLevelProfession(@RequestParam("second_code") String second_code);
72
+
73
+}

+ 8 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ExpertSyncApi.java

@@ -0,0 +1,8 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestMapping;
4
+
5
+@RequestMapping("/api/system/expert/sync")
6
+public interface ExpertSyncApi {
7
+
8
+}

+ 55 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/FileApi.java

@@ -0,0 +1,55 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestBody;
7
+import org.springframework.web.bind.annotation.RequestMapping;
8
+import org.springframework.web.bind.annotation.RequestParam;
9
+
10
+import com.ydw.yunbuyer.api.system.entity.FkFile;
11
+
12
+/**
13
+ * 文件类信息 t_fk_file
14
+ * @author zhaoyun
15
+ * @2019年8月27日
16
+ */
17
+@RequestMapping("/api/system/file")
18
+public interface FileApi {
19
+
20
+	/**
21
+	 * TODO	根据kid获取文件类
22
+	 * 
23
+	 * @param object
24
+	 * @return
25
+	 */
26
+	@RequestMapping("/get")
27
+	public FkFile get(@RequestParam("kid") String kid);
28
+
29
+	/**
30
+	 * TODO	添加
31
+	 * 
32
+	 * @param fk_file
33
+	 * @return
34
+	 */
35
+	@RequestMapping("/add")
36
+	public FkFile add(@RequestBody FkFile fk_file);
37
+
38
+	/**
39
+	 * TODO	修改
40
+	 * 
41
+	 * @param file
42
+	 */
43
+	@RequestMapping("/update")
44
+	public int update(@RequestBody FkFile file);
45
+
46
+	/**
47
+	 * TODO	根据kid字符串查询文件列表
48
+	 * 
49
+	 * @param file_ids
50
+	 * @return
51
+	 */
52
+	@RequestMapping("/findFileListByids")
53
+	public List<Map<String, Object>> findFileListByids(@RequestParam("file_ids") String file_ids);
54
+
55
+}

+ 35 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/FileAuthApi.java

@@ -0,0 +1,35 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestBody;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+import org.springframework.web.bind.annotation.RequestParam;
6
+
7
+import com.ydw.yunbuyer.api.system.entity.FkFileAuth;
8
+
9
+/**
10
+ * 文件下载权限信息 t_fk_file_auth
11
+ * @author zhaoyun
12
+ * @2019年8月27日
13
+ */
14
+@RequestMapping("/api/system/file_auth")
15
+public interface FileAuthApi {
16
+
17
+	/**
18
+	 * TODO	根据用户id和文件id查询下载权限
19
+	 * 
20
+	 * @param user_id
21
+	 * @param kid
22
+	 * @return
23
+	 */
24
+	@RequestMapping("/getFileAuth")
25
+	public FkFileAuth getFileAuth(@RequestParam("user_id") String user_id, @RequestParam("kid") String kid);
26
+
27
+	/**
28
+	 * TODO	添加
29
+	 * 
30
+	 * @param file_auth
31
+	 */
32
+	@RequestMapping("/add")
33
+	public FkFileAuth add(@RequestBody FkFileAuth file_auth);
34
+
35
+}

+ 37 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/IndustryTypeApi.java

@@ -0,0 +1,37 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.DataIndustryType;
10
+
11
+/**
12
+ * 项目行业类型信息 t_data_industry_type
13
+ * 
14
+ * @author zhaoyun
15
+ * @2019年8月27日
16
+ */
17
+@RequestMapping("/api/system/industry_type")
18
+public interface IndustryTypeApi {
19
+
20
+	/**
21
+	 * TODO 查询项目行业类型列表
22
+	 * 
23
+	 * @return
24
+	 */
25
+	@RequestMapping("/selectIndustryTypeList")
26
+	public List<Map<String, Object>> selectIndustryTypeList();
27
+
28
+	/**
29
+	 * TODO 根据编码获取项目行业类型
30
+	 * 
31
+	 * @param industry_code 编码
32
+	 * @return
33
+	 */
34
+	@RequestMapping("/findByCode")
35
+	public DataIndustryType findByCode(@RequestParam("industry_code") String industry_code);
36
+
37
+}

+ 37 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ItemIndustryTypeApi.java

@@ -0,0 +1,37 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.DataItemIndustryType;
10
+
11
+/**
12
+ * 标段行业类型信息 	t_data_item_industry_type
13
+ * @author zhaoyun
14
+ * @2019年8月27日
15
+ */
16
+@RequestMapping("/api/system/item_industry_type")
17
+public interface ItemIndustryTypeApi {
18
+
19
+	/**
20
+	 * TODO	查询标段行业类型信息list
21
+	 * 
22
+	 * @return
23
+	 */
24
+	@RequestMapping("/select_item_industry_type_list")
25
+	public List<Map<String, Object>> select_item_industry_type_list();
26
+
27
+	/**
28
+	 * TODO	根据行业编码获取标段行业信息
29
+	 * 
30
+	 * @param item_classification_code
31
+	 * @return
32
+	 */
33
+	@RequestMapping("/findByCodeIndustry")
34
+	public DataItemIndustryType findByCodeIndustry(
35
+			@RequestParam("item_classification_code") String item_classification_code);
36
+
37
+}

+ 38 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/MoneyTypeApi.java

@@ -0,0 +1,38 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.DataMoneyType;
10
+
11
+/**
12
+ * 币种信息 t_data_money_type
13
+ * 
14
+ * @author zhaoyun
15
+ * @2019年8月27日
16
+ */
17
+@RequestMapping("/api/system/money_type")
18
+public interface MoneyTypeApi {
19
+
20
+	/**
21
+	 * TODO 根据编码获取币种
22
+	 * 
23
+	 * @param item_evalustion_currency_code
24
+	 * @return
25
+	 */
26
+	@RequestMapping("/find_by_code")
27
+	public DataMoneyType find_by_code(
28
+			@RequestParam("item_evalustion_currency_code") String item_evalustion_currency_code);
29
+
30
+	/**
31
+	 * TODO 查询币种list
32
+	 * 
33
+	 * @return
34
+	 */
35
+	@RequestMapping("/selectMoneyType")
36
+	public List<Map<String, Object>> selectMoneyType();
37
+
38
+}

+ 29 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/OrgNatureApi.java

@@ -0,0 +1,29 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.DataOrgNature;
10
+
11
+@RequestMapping("/api/system/org_nature")
12
+public interface OrgNatureApi {
13
+
14
+	/**
15
+	 * TODO
16
+	 * @return
17
+	 */
18
+	@RequestMapping("/selectOrgNatureList")
19
+	public List<Map<String, Object>> selectOrgNatureList();
20
+
21
+	/**
22
+	 * TODO
23
+	 * @param unit_property
24
+	 * @return
25
+	 */
26
+	@RequestMapping("/findByCode")
27
+	public DataOrgNature findByCode(@RequestParam("unit_property") String unit_property);
28
+
29
+}

+ 29 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/ReviewMathmodelApi.java

@@ -0,0 +1,29 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.DataReviewMathmodel;
10
+
11
+@RequestMapping("/api/system/review_mathmodel")
12
+public interface ReviewMathmodelApi {
13
+
14
+	/**
15
+	 * TODO
16
+	 * @param method_id
17
+	 * @return
18
+	 */
19
+	@RequestMapping("/get")
20
+	public DataReviewMathmodel get(@RequestParam("method_id") String method_id);
21
+
22
+	/**
23
+	 * TODO
24
+	 * @return
25
+	 */
26
+	@RequestMapping("/selectAllList")
27
+	public List<Map<String, Object>> selectAllList();
28
+	
29
+}

+ 9 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/RoleApi.java

@@ -0,0 +1,9 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestMapping;
4
+
5
+@RequestMapping("/api/system/role")
6
+public interface RoleApi {
7
+
8
+
9
+}

+ 42 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SettingApi.java

@@ -0,0 +1,42 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestBody;
4
+import org.springframework.web.bind.annotation.RequestMapping;
5
+import org.springframework.web.bind.annotation.RequestParam;
6
+
7
+import com.ydw.yunbuyer.api.system.entity.FkSetting;
8
+
9
+@RequestMapping("/api/system/setting")
10
+public interface SettingApi {
11
+
12
+	/**
13
+	 * TODO
14
+	 * @param field
15
+	 * @return
16
+	 */
17
+	@RequestMapping("/model_field")
18
+	public FkSetting model_field(@RequestParam("field") String field);
19
+
20
+	/**
21
+	 * TODO
22
+	 * @param setting
23
+	 */
24
+	@RequestMapping("/add")
25
+	public FkSetting add(@RequestBody FkSetting setting);
26
+
27
+	/**
28
+	 * TODO
29
+	 * @param setting
30
+	 */
31
+	@RequestMapping("/update")
32
+	public int update(@RequestBody FkSetting setting);
33
+	
34
+	/**
35
+	 * TODO
36
+	 * @param field
37
+	 * @return
38
+	 */
39
+	@RequestMapping("/getVal")
40
+	public String getVal(@RequestParam("field") String field);
41
+
42
+}

+ 71 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SignatureApi.java

@@ -0,0 +1,71 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestBody;
7
+import org.springframework.web.bind.annotation.RequestMapping;
8
+import org.springframework.web.bind.annotation.RequestParam;
9
+
10
+import com.ydw.yunbuyer.api.system.entity.LogSignature;
11
+
12
+@RequestMapping("/api/system/signature")
13
+public interface SignatureApi {
14
+
15
+	/**
16
+	 * TODO
17
+	 * 
18
+	 * @param signature
19
+	 * @return
20
+	 */
21
+	@RequestMapping("/add")
22
+	public LogSignature add(@RequestBody LogSignature signature);
23
+
24
+	/**
25
+	 * TODO
26
+	 * 
27
+	 * @param objectId
28
+	 * @return
29
+	 */
30
+	@RequestMapping("/select_list_by_object_id")
31
+	public List<Map<String, Object>> select_list_by_object_id(@RequestParam("objectId") String objectId);
32
+
33
+	/**
34
+	 * TODO
35
+	 * 
36
+	 * @param object
37
+	 * @return
38
+	 */
39
+	@RequestMapping("/get")
40
+	public LogSignature get(@RequestParam("kid") String kid);
41
+
42
+	/**
43
+	 * TODO
44
+	 * 
45
+	 * @param signature_kids
46
+	 * @return
47
+	 */
48
+	@RequestMapping("/list_gets")
49
+	public List<LogSignature> list_gets(@RequestParam("signature_kids") String signature_kids);
50
+
51
+	/**
52
+	 * TODO
53
+	 * 
54
+	 * @param object_id
55
+	 * @return
56
+	 */
57
+	@RequestMapping("/list_model_obj")
58
+	public List<Map<String, Object>> list_model_obj(@RequestParam("object_id") String object_id);
59
+
60
+	/**
61
+	 * TODO
62
+	 * @param date
63
+	 * @return
64
+	 */
65
+	@RequestMapping("/select_tj_count")
66
+	public Map<String, Object> select_tj_count(@RequestParam("date") int date);
67
+	
68
+	@RequestMapping("/del_signatures")
69
+	public int del_signatures(@RequestParam("kids") String kids);
70
+
71
+}

+ 174 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SmsApi.java

@@ -0,0 +1,174 @@
1
+/**
2
+ * 
3
+ */
4
+package com.ydw.yunbuyer.api.system.api;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+/**
10
+ * TODO
11
+ * 
12
+ * @author hxj
13
+ * 
14
+ */
15
+@RequestMapping("/api/system/sms")
16
+public interface SmsApi {
17
+
18
+	/**
19
+	 * 发送短信验证码
20
+	 * 
21
+	 * @param mobile
22
+	 * @param code
23
+	 */
24
+	@RequestMapping("/send_mobile")
25
+	public void send_mobile(@RequestParam("mobile") String mobile, @RequestParam("code") String code);
26
+	
27
+	/**
28
+	 * 注册后发送短信提醒审核
29
+	 * @param mobile
30
+	 * @param code
31
+	 */
32
+	@RequestMapping("/send_verify_message")
33
+	public void send_verify_message(@RequestParam("mobile") String mobile, @RequestParam("code") String code);
34
+	
35
+	/**
36
+	 * 注册信息审核通过
37
+	 * @param mobile
38
+	 * @param code
39
+	 */
40
+	@RequestMapping("/send_verify_message_pass")
41
+	public void send_verify_message_pass(@RequestParam("mobile") String mobile);
42
+	
43
+	/**
44
+	 * 注册信息审核不通过
45
+	 * @param mobile
46
+	 * @param code
47
+	 */
48
+	@RequestMapping("/send_verify_message_noPass")
49
+	public void send_verify_message_noPass(@RequestParam("mobile") String mobile);
50
+	
51
+	/**
52
+	 * 提交资质文件后审核
53
+	 * @param mobile
54
+	 * @param code
55
+	 */
56
+	@RequestMapping("/send_verify_message_qualification")
57
+	public void send_verify_message_qualification (@RequestParam("mobile") String mobile);
58
+	
59
+	/**
60
+	 * 提交线下支付银行凭证审核
61
+	 * @param mobile
62
+	 * @param code
63
+	 */
64
+	@RequestMapping("/send_verify_message_payOffline")
65
+	public void send_verify_message_payOffline(@RequestParam("mobile") String mobile);
66
+	
67
+	/**
68
+	 * 线下支付银行凭证审核通过
69
+	 * @param mobile
70
+	 * @param code
71
+	 */
72
+	@RequestMapping("/send_verify_message_payOffline_pass")
73
+	public void send_verify_message_payOffline_pass(@RequestParam("mobile") String mobile);
74
+	
75
+	/**
76
+	 * 线下支付银行凭证审核不通过
77
+	 * @param mobile
78
+	 * @param code
79
+	 */
80
+	@RequestMapping("/send_verify_message_payOffline_noPass")
81
+	public void send_verify_message_payOffline_noPass(@RequestParam("mobile") String mobile);
82
+
83
+	/**
84
+	 * TODO 抽专家成功短信提醒
85
+	 * @param mobile
86
+	 * @param open_time 
87
+	 * @param project_name 
88
+	 */
89
+	@RequestMapping("/send_success_msg_for_expert")
90
+	public void send_success_msg_for_expert(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("open_time") String open_time);
91
+	
92
+	/**
93
+	 * 提交审核通知
94
+	 * @param mobile
95
+	 * @param project_name
96
+	 * @param type
97
+	 */
98
+	@RequestMapping("/send_verify_notify_msg")
99
+	public void send_verify_notify_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("type") String type);
100
+	
101
+	/**
102
+	 * 审核结果通知-通过-项目/招标人/监督人审核
103
+	 * @param <t_org>
104
+	 * @param mobile
105
+	 * @param project_name
106
+	 * @param type
107
+	 */
108
+	@RequestMapping("/send_verify_result_msg")
109
+	public void send_verify_result_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("type") String type, @RequestParam("role") String role, @RequestParam("next_role") String next_role);
110
+	
111
+	/**
112
+	 * 审核结果通知--通过-CP
113
+	 * @param mobile
114
+	 * @param project_name
115
+	 * @param type
116
+	 */
117
+	@RequestMapping("/send_verify_result_cp_msg")
118
+	public void send_verify_result_cp_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("type") String type);
119
+	
120
+	/**
121
+	 * 审核结果通知-不通过
122
+	 * @param <t_org>
123
+	 * @param mobile
124
+	 * @param project_name
125
+	 * @param type
126
+	 */
127
+	@RequestMapping("/send_verify_result_noPass_msg")
128
+	public void send_verify_result_noPass_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("type") String type, @RequestParam("role") String role);
129
+	
130
+	/**
131
+	 * 审核通知-项目经理
132
+	 * @param mobile
133
+	 * @param project_name
134
+	 * @param type
135
+	 */
136
+	@RequestMapping("/send_verify_notify_manager_msg")
137
+	public void send_verify_notify_manager_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("type") String type);
138
+	
139
+	/**
140
+	 * 审核通知-CP
141
+	 * @param mobilewd 
142
+	 * @param project_name
143
+	 * @param type
144
+	 */
145
+	@RequestMapping("/send_verify_notify_cp_msg")
146
+	public void send_verify_notify_cp_msg(@RequestParam("mobile") String mobile, @RequestParam("name") String name,@RequestParam("project_name") String project_name, @RequestParam("type") String type);
147
+	
148
+	/**
149
+	 * 审核结果通知--通过-招标公告
150
+	 * @param mobile
151
+	 * @param name
152
+	 * @param project_name
153
+	 * @param type
154
+	 */
155
+	@RequestMapping("/send_verify_notice_cp_msg")
156
+	public void send_verify_notice_cp_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name, @RequestParam("notice_release_time") String notice_release_time);
157
+	
158
+	/**
159
+	 * 审核结果通知--通过-CP招标文件
160
+	 * @param mobile
161
+	 * @param project_name
162
+	 */
163
+	@RequestMapping("/send_verify_tender_file_cp_msg")
164
+	public void send_verify_tender_file_cp_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name);
165
+	
166
+	/**
167
+	 * 专家抽取
168
+	 * @param mobile
169
+	 * @param project_name
170
+	 */
171
+	@RequestMapping("/send_verify_extract_expert_msg")
172
+	public void send_verify_extract_expert_msg(@RequestParam("mobile") String mobile, @RequestParam("project_name") String project_name);
173
+	
174
+}

+ 26 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/SmsTemplateApi.java

@@ -0,0 +1,26 @@
1
+/**
2
+ * 
3
+ */
4
+package com.ydw.yunbuyer.api.system.api;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+import org.springframework.web.bind.annotation.RequestParam;
8
+
9
+import com.ydw.yunbuyer.api.system.entity.FkSmsTemplate;
10
+
11
+/**
12
+ * TODO
13
+ * @author hxj
14
+ *	
15
+ */
16
+public interface SmsTemplateApi {
17
+
18
+	/**
19
+	 * TODO
20
+	 * @param smsTempCode
21
+	 * @return
22
+	 */
23
+	@RequestMapping("/findSmsTemplateByCode")
24
+	public FkSmsTemplate findSmsTemplateByCode(@RequestParam("smsTempCode") String smsTempCode);
25
+
26
+}

+ 212 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/VerifyApi.java

@@ -0,0 +1,212 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import java.util.List;
4
+import java.util.Map;
5
+
6
+import org.springframework.web.bind.annotation.RequestBody;
7
+import org.springframework.web.bind.annotation.RequestMapping;
8
+import org.springframework.web.bind.annotation.RequestParam;
9
+import org.tmsps.ne4spring.page.PagePackage;
10
+
11
+import com.ydw.yunbuyer.api.system.entity.Verify;
12
+
13
+@RequestMapping("/api/system/verify")
14
+public interface VerifyApi {
15
+
16
+	/**
17
+	 * TODO
18
+	 * 
19
+	 * @param tender_publicity_id
20
+	 * @return
21
+	 */
22
+	@RequestMapping("/findVerifyByItemSignupId")
23
+	public Verify findVerifyByItemSignupId(String item_signup_id);
24
+
25
+	/**
26
+	 * TODO
27
+	 * 
28
+	 * @param tender_publicity_id
29
+	 * @return
30
+	 */
31
+	@RequestMapping("/findVerifyByPublicityId")
32
+	public Verify findVerifyByPublicityId(@RequestParam("tender_publicity_id") String tender_publicity_id);
33
+
34
+	/**
35
+	 * TODO
36
+	 * 
37
+	 * @param notice_id
38
+	 * @param statuz
39
+	 * @return
40
+	 */
41
+	@RequestMapping("/findVerifyStatuz")
42
+	public Verify findVerifyStatuz(@RequestParam("notice_id") String notice_id, @RequestParam("statuz") String statuz);
43
+
44
+	/**
45
+	 * TODO
46
+	 * 
47
+	 * @param tender_file_id
48
+	 * @param statuz
49
+	 * @return
50
+	 */
51
+	@RequestMapping("/findVerifyByTable")
52
+	public Verify findVerifyByTable(@RequestParam("tender_file_id") String tender_file_id,
53
+			@RequestParam("statuz") String statuz);
54
+
55
+	/**
56
+	 * TODO
57
+	 * 
58
+	 * @param verify
59
+	 * @return
60
+	 */
61
+	@RequestMapping("/add")
62
+	public Verify add(@RequestBody Verify verify);
63
+
64
+	/**
65
+	 * TODO
66
+	 * 
67
+	 * @param verify
68
+	 */
69
+	@RequestMapping("/update")
70
+	public int update(@RequestBody Verify verify);
71
+
72
+	/**
73
+	 * TODO
74
+	 * 
75
+	 * @param verify_id
76
+	 * @return
77
+	 */
78
+	@RequestMapping("/get")
79
+	public Verify get(@RequestParam("verify_id") String verify_id);
80
+
81
+	/**
82
+	 * TODO
83
+	 * 
84
+	 * @param vkey
85
+	 * @param sortz
86
+	 * @return
87
+	 */
88
+	@RequestMapping("/find_next_verify")
89
+	public Verify find_next_verify(@RequestParam("vkey") String vkey, @RequestParam("sortz") int sortz);
90
+
91
+	/**
92
+	 * TODO
93
+	 * 
94
+	 * @param kid
95
+	 * @return
96
+	 */
97
+	@RequestMapping("/selectListByTableKid")
98
+	public List<Map<String, Object>> selectListByTableKid(@RequestParam("kid") String kid);
99
+
100
+	/**
101
+	 * TODO
102
+	 * 
103
+	 * @param vkey
104
+	 * @param sortz
105
+	 */
106
+	@RequestMapping("/model_refuse")
107
+	public void model_refuse(@RequestParam("vkey") String vkey, @RequestParam("sortz") int sortz);
108
+
109
+	/**
110
+	 * TODO
111
+	 * 
112
+	 * @param signup_id
113
+	 * @return
114
+	 */
115
+	@RequestMapping("/findVerifyBySignupId")
116
+	public Verify findVerifyBySignupId(@RequestParam("signup_id") String signup_id);
117
+
118
+	/**
119
+	 * TODO
120
+	 * 
121
+	 * @param notice_id
122
+	 * @return
123
+	 */
124
+	@RequestMapping("/model_unpass")
125
+	public Verify model_unpass(@RequestParam("notice_id") String notice_id);
126
+
127
+	/**
128
+	 * TODO
129
+	 * 
130
+	 * @param tender_item_id
131
+	 * @return
132
+	 */
133
+	@RequestMapping("/selectUndoVerifyList")
134
+	public List<Map<String, Object>> selectUndoVerifyList(@RequestParam("tender_item_id") String tender_item_id);
135
+
136
+	/**
137
+	 * TODO
138
+	 * 
139
+	 * @param org_id
140
+	 * @param user_id
141
+	 * @param pagePackage
142
+	 * @return
143
+	 */
144
+	@RequestMapping("/selectVerifyList")
145
+	public PagePackage selectVerifyList(@RequestParam("org_id") String org_id, @RequestParam("user_id") String user_id,
146
+			@RequestBody PagePackage pagePackage);
147
+
148
+	/**
149
+	 * TODO
150
+	 * 
151
+	 * @param org_id
152
+	 * @param user_id
153
+	 * @return
154
+	 */
155
+	@RequestMapping("/findVerifyCount")
156
+	public long findVerifyCount(@RequestParam("org_id") String org_id, @RequestParam("user_id") String user_id);
157
+
158
+	@RequestMapping("/findBySortzAndTableKid")
159
+	public Verify findBySortzAndTableKid(@RequestParam("table_kid") String table_kid,
160
+			@RequestParam("sortz") String sortz, @RequestParam("statuz") String statuz);
161
+
162
+	/**
163
+	 * 根据id和审核顺序判断是否存在下一审核节点
164
+	 * 
165
+	 * @param table_kid
166
+	 * @param sortz
167
+	 * @return
168
+	 */
169
+	@RequestMapping("/findNextVerifyByTableKidAndSortz")
170
+	public Verify findNextVerifyByTableKidAndSortz(@RequestParam("table_kid") String table_kid,
171
+			@RequestParam("sortz") int sortz);
172
+
173
+	@RequestMapping("/findByOrgTypeAndTableKid")
174
+	public Verify findByOrgTypeAndTableKid(@RequestParam("table_kid") String table_kid,
175
+			@RequestParam("org_type") String org_type);
176
+
177
+	@RequestMapping("/selectNoticeVerifyLog")
178
+	public List<Map<String, Object>> selectNoticeVerifyLog(@RequestParam("verify_num") int verify_num,
179
+			@RequestParam("notice_kid") String notice_kid);
180
+
181
+	/**
182
+	 * back端消息拆分(我的审核类型列表)
183
+	 * 
184
+	 * @param org_id
185
+	 * @param user_id 
186
+	 * @return
187
+	 */
188
+	@RequestMapping("/selectVerifyType")
189
+	public List<Map<String, Object>> selectVerifyType(@RequestParam("org_id") String org_id, @RequestParam("user_id") String user_id);
190
+
191
+	/**
192
+	 * back端消息拆分(我的审核查询)
193
+	 * 
194
+	 * @param pagePackage
195
+	 * @param org_id
196
+	 * @param type
197
+	 * @return
198
+	 */
199
+	@RequestMapping("/selectVerifyByOrgId")
200
+	PagePackage selectVerifyByOrgId(@RequestBody PagePackage pagePackage, @RequestParam("project_id") String project_id,
201
+			@RequestParam("org_id") String org_id, @RequestParam("user_id") String user_id,
202
+			@RequestParam("type") String type);
203
+
204
+	/**
205
+	 * back端消息拆分(待审核数量)
206
+	 * 
207
+	 * @param org_id
208
+	 * @return
209
+	 */
210
+	@RequestMapping("/verifyNum")
211
+	public int verifyNum(@RequestParam("org_id") String org_id, @RequestParam("user_id") String user_id);
212
+}

+ 19 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/VersionApi.java

@@ -0,0 +1,19 @@
1
+package com.ydw.yunbuyer.api.system.api;
2
+
3
+import org.springframework.web.bind.annotation.RequestMapping;
4
+import org.springframework.web.bind.annotation.RequestParam;
5
+
6
+import com.ydw.yunbuyer.api.system.entity.FkVersion;
7
+
8
+@RequestMapping("/api/system/version")
9
+public interface VersionApi {
10
+
11
+	/**
12
+	 * TODO
13
+	 * @param string
14
+	 * @return
15
+	 */
16
+	@RequestMapping("/findVersionByType")
17
+	public FkVersion findVersionByType(@RequestParam("type") String type);
18
+
19
+}

+ 25 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/WebsiteApi.java

@@ -0,0 +1,25 @@
1
+/**
2
+ * 
3
+ */
4
+package com.ydw.yunbuyer.api.system.api;
5
+
6
+import org.springframework.web.bind.annotation.RequestMapping;
7
+
8
+import com.ydw.yunbuyer.api.system.entity.FkWebsite;
9
+
10
+/**
11
+ * TODO
12
+ * @author hxj
13
+ *	
14
+ */
15
+@RequestMapping("/api/system/website")
16
+public interface WebsiteApi {
17
+
18
+	/**
19
+	 * TODO
20
+	 * @return
21
+	 */
22
+	@RequestMapping("/find_website")
23
+	public FkWebsite find_website();
24
+
25
+}

+ 21 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/check/CheckApi.java

@@ -0,0 +1,21 @@
1
+package com.ydw.yunbuyer.api.system.api.check;
2
+
3
+import org.springframework.web.bind.annotation.RequestMapping;
4
+import org.springframework.web.bind.annotation.RequestParam;
5
+
6
+/**
7
+ * 审核相关信息
8
+ * @author zhaoyun
9
+ * @2019年8月27日
10
+ */
11
+@RequestMapping("/api/system/check")
12
+public interface CheckApi {
13
+	
14
+	/**
15
+	 * 同步流程到模板
16
+	 * @param notice_id
17
+	 */
18
+	@RequestMapping("/synchronization_template")
19
+	public void synchronization_template(@RequestParam("notice_id") String notice_id);
20
+	
21
+}

+ 0 - 0
krock-jcebid-cp/krock-api-system/src/main/java/com/ydw/yunbuyer/api/system/api/node/NodeApi.java


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio