Skip to content

Commit 5fc6e5f

Browse files
committed
remove data-fast
1 parent 6adfbf1 commit 5fc6e5f

File tree

2 files changed

+34
-1
lines changed
  • springboot-starter/src/main/java/com/codingapi/springboot/framework/dto/request
  • springboot-starter-data-fast/src/main/java/com/codingapi/springboot/fast/script

2 files changed

+34
-1
lines changed

springboot-starter-data-fast/src/main/java/com/codingapi/springboot/fast/script/ScriptMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Response execute() {
4545
}
4646

4747

48-
public Method getExecuteMethod() {
48+
Method getExecuteMethod() {
4949
try {
5050
return this.getClass().getDeclaredMethod("execute");
5151
} catch (NoSuchMethodException e) {
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
package com.codingapi.springboot.framework.dto.request;
2+
3+
import lombok.Getter;
4+
import lombok.Setter;
5+
6+
@Setter
7+
@Getter
8+
public class IdRequest {
9+
10+
private String id;
11+
12+
public String getStringId(){
13+
return id;
14+
}
15+
16+
public int getIntId(){
17+
return Integer.parseInt(id);
18+
}
19+
20+
public Long getLongId(){
21+
return Long.parseLong(id);
22+
}
23+
24+
public float getFloatId(){
25+
return Float.parseFloat(id);
26+
}
27+
28+
public double getDoubleId(){
29+
return Double.parseDouble(id);
30+
}
31+
32+
33+
}

0 commit comments

Comments
 (0)