File tree Expand file tree Collapse file tree 25 files changed +46
-28
lines changed
src/main/java/com/codingapi/example/app/query/service
springboot-starter-data-authorization
springboot-starter-data-fast
src/main/java/com/codingapi/springboot/fast/jpa
springboot-starter-security Expand file tree Collapse file tree 25 files changed +46
-28
lines changed Original file line number Diff line number Diff line change 6
6
"@ant-design/icons" : " ^5.4.0" ,
7
7
"@ant-design/pro-components" : " ^2.8.7" ,
8
8
"@babel/standalone" : " ^7.25.6" ,
9
- "@codingapi/flow-pc" : " ^0.0.38 " ,
10
- "@codingapi/form-pc" : " ^0.0.38 " ,
11
- "@codingapi/ui-framework" : " ^0.0.38 " ,
9
+ "@codingapi/flow-pc" : " ^0.0.39 " ,
10
+ "@codingapi/form-pc" : " ^0.0.39 " ,
11
+ "@codingapi/ui-framework" : " ^0.0.39 " ,
12
12
"@dnd-kit/core" : " ^6.2.0" ,
13
13
"@dnd-kit/sortable" : " ^9.0.0" ,
14
14
"@handsontable/react-wrapper" : " ^15.0.0" ,
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >example-app</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >example-app</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >example-app</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change @@ -49,7 +49,21 @@ public Page<FlowRecordEntity> findAllByOperatorId(SearchRequest searchRequest) {
49
49
public Page <FlowRecordEntity > findTodoByOperatorId (SearchRequest searchRequest ) {
50
50
User user = userRepository .getUserByUsername (TokenContext .current ().getUsername ());
51
51
String lastId = searchRequest .getParameter ("lastId" );
52
- SQLBuilder sqlBuilder = new SQLBuilder ("from FlowRecordEntity r where r.currentOperatorId = ?1 and r.flowType = 'TODO' and r.flowStatus = 'RUNNING' " );
52
+ SQLBuilder sqlBuilder = new SQLBuilder (
53
+ """
54
+ select r from FlowRecordEntity r
55
+ LEFT JOIN (select min(m.id) as id from FlowRecordEntity m where m.currentOperatorId = ?1 and m.flowType = 'TODO' and m.flowStatus = 'RUNNING' and m.mergeable = true ) debup
56
+ on r.id = debup.id
57
+ where r.currentOperatorId = ?1 and r.flowType = 'TODO' and r.flowStatus = 'RUNNING'
58
+ and (r.mergeable !=true or debup.id is NOT null )
59
+ """ ,
60
+ """
61
+ select count(r) from FlowRecordEntity r
62
+ LEFT JOIN (select min(m.id) as id from FlowRecordEntity m where m.currentOperatorId = ?1 and m.flowType = 'TODO' and m.flowStatus = 'RUNNING' and m.mergeable = true ) debup
63
+ on r.id = debup.id
64
+ where r.currentOperatorId = ?1 and r.flowType = 'TODO' and r.flowStatus = 'RUNNING'
65
+ and (r.mergeable !=true or debup.id is NOT null )
66
+ """ );
53
67
sqlBuilder .addParam (user .getId ());
54
68
if (StringUtils .hasText (lastId )){
55
69
sqlBuilder .append (" and r.id < ?" ,Long .parseLong (lastId ));
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >springboot-example</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
<packaging >pom</packaging >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >example-domain</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >example-domain</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >springboot-example</artifactId >
8
- <version >3.4.0 </version >
8
+ <version >3.4.1 </version >
9
9
<relativePath >../pom.xml</relativePath >
10
10
</parent >
11
11
<modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >example-infra</artifactId >
8
- <version >3.4.0 </version >
8
+ <version >3.4.1 </version >
9
9
<relativePath >../pom.xml</relativePath >
10
10
</parent >
11
11
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >example-infra</artifactId >
8
- <version >3.4.0 </version >
8
+ <version >3.4.1 </version >
9
9
<relativePath >../pom.xml</relativePath >
10
10
</parent >
11
11
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >example-infra</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >springboot-example</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
<relativePath >../pom.xml</relativePath >
11
11
</parent >
12
12
<packaging >pom</packaging >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >springboot-example</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
</parent >
11
11
12
12
<artifactId >example-interface</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-example</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.4.0 </version >
8
+ <version >3.4.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 19
19
</parent >
20
20
21
21
<artifactId >springboot-example</artifactId >
22
- <version >3.4.0 </version >
22
+ <version >3.4.1 </version >
23
23
24
24
<name >springboot-example</name >
25
25
<description >springboot-example project for Spring Boot</description >
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"dependencies" : {
6
6
"@babel/standalone" : " ^7.25.6" ,
7
- "@codingapi/flow-mobile" : " ^0.0.38 " ,
8
- "@codingapi/form-mobile" : " ^0.0.38 " ,
9
- "@codingapi/ui-framework" : " ^0.0.38 " ,
7
+ "@codingapi/flow-mobile" : " ^0.0.39 " ,
8
+ "@codingapi/form-mobile" : " ^0.0.39 " ,
9
+ "@codingapi/ui-framework" : " ^0.0.39 " ,
10
10
"@logicflow/core" : " ^2.0.10" ,
11
11
"@logicflow/extension" : " ^2.0.14" ,
12
12
"@reduxjs/toolkit" : " ^2.2.7" ,
Original file line number Diff line number Diff line change 12
12
13
13
<groupId >com.codingapi.springboot</groupId >
14
14
<artifactId >springboot-parent</artifactId >
15
- <version >3.4.0 </version >
15
+ <version >3.4.1 </version >
16
16
17
17
<url >https://github.com/codingapi/springboot-framewrok</url >
18
18
<name >springboot-parent</name >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >com.codingapi.springboot</groupId >
8
8
<artifactId >springboot-parent</artifactId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
</parent >
11
11
12
12
<artifactId >springboot-starter-data-authorization</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-parent</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >3.4.0 </version >
8
+ <version >3.4.1 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ public SQLBuilder(String sql) {
19
19
this (null , sql , "select count(1) from " + sql );
20
20
}
21
21
22
+ public SQLBuilder (String sql ,String countSql ) {
23
+ this (null , sql , countSql );
24
+ }
25
+
22
26
public SQLBuilder (Class <?> clazz , String sql ) {
23
27
this (clazz , sql , "select count(1) from " + sql );
24
28
}
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
</parent >
11
11
12
12
<name >springboot-starter-flow</name >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >3.4.0 </version >
9
+ <version >3.4.1 </version >
10
10
</parent >
11
11
12
12
<artifactId >springboot-starter-security</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >springboot-parent</artifactId >
8
- <version >3.4.0 </version >
8
+ <version >3.4.1 </version >
9
9
</parent >
10
10
<artifactId >springboot-starter</artifactId >
11
11
Original file line number Diff line number Diff line change 1
1
------------------------------------------------------
2
- CodingApi SpringBoot-Starter 3.4.0
2
+ CodingApi SpringBoot-Starter 3.4.1
3
3
springboot version (${spring-boot.version})
4
4
------------------------------------------------------
You can’t perform that action at this time.
0 commit comments