cloudcc-cli 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/java/com/cloudcc/core/CCTrigger.java +10 -1
- package/java/com/cloudcc/core/UserInfo.java +4 -0
- package/package.json +1 -1
- package/pom.xml +1 -1
- package/src/triggers/create.js +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# ReleaseV2.0.9
|
|
2
|
+
#### Release Date: 2025-5-16
|
|
3
|
+
#### Release Scope: Full
|
|
4
|
+
#### Release Content
|
|
5
|
+
* Optimization
|
|
6
|
+
* create triggers add ccobject。
|
|
7
|
+
|
|
8
|
+
# ReleaseV2.0.8
|
|
9
|
+
#### Release Date: 2025-5-16
|
|
10
|
+
#### Release Scope: Full
|
|
11
|
+
#### Release Content
|
|
12
|
+
* Optimization
|
|
13
|
+
* create triggers add ccobject。
|
|
14
|
+
|
|
1
15
|
# ReleaseV2.0.7
|
|
2
16
|
#### Release Date: 2025-5-16
|
|
3
17
|
#### Release Scope: Full
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
package com.cloudcc.core;
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import java.util.HashMap;
|
|
4
|
+
|
|
5
|
+
public class CCTrigger extends CCService {
|
|
6
|
+
public HashMap<String, Object> record_new = new HashMap<String, Object>();
|
|
7
|
+
public HashMap<String, Object> record_old = new HashMap<String, Object>();;
|
|
8
|
+
public ServiceResult trigger = new ServiceResult();
|
|
9
|
+
|
|
10
|
+
public CCTrigger(UserInfo uinfo) {
|
|
11
|
+
super(uinfo);
|
|
12
|
+
}
|
|
4
13
|
|
|
5
14
|
public void do_insert_before() throws Exception {
|
|
6
15
|
}
|
package/package.json
CHANGED
package/pom.xml
CHANGED
package/src/triggers/create.js
CHANGED
|
@@ -22,7 +22,7 @@ async function create(argvs) {
|
|
|
22
22
|
import com.cloudcc.core.*;
|
|
23
23
|
|
|
24
24
|
public class ${body.name} extends CCTrigger {
|
|
25
|
-
public ${body.name}(
|
|
25
|
+
public ${body.name}() {
|
|
26
26
|
// @SOURCE_CONTENT_START
|
|
27
27
|
System.out.print("hello World");
|
|
28
28
|
// @SOURCE_CONTENT_END
|