mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-04-15 14:03:39 +00:00
update lib
This commit is contained in:
@@ -102,14 +102,14 @@ tasks.jacocoTestReport {
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = "0.8.12"
|
||||
toolVersion = "0.8.13"
|
||||
reportsDirectory.set(layout.buildDirectory.dir("reports/jacoco"))
|
||||
}
|
||||
|
||||
pmd {
|
||||
sourceSets = listOf(java.sourceSets.findByName("main"))
|
||||
isConsoleOutput = true
|
||||
toolVersion = "7.9.0"
|
||||
toolVersion = "7.15.0"
|
||||
rulesMinimumPriority.set(5)
|
||||
ruleSetFiles = files("pmd-rules.xml")
|
||||
}
|
||||
@@ -125,7 +125,7 @@ spotless {
|
||||
}
|
||||
|
||||
java {
|
||||
googleJavaFormat("1.25.2").reflowLongStrings()
|
||||
googleJavaFormat("1.28.0").reflowLongStrings()
|
||||
formatAnnotations()
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
package com.zl.mjga.dto.aoplog;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.OffsetDateTime;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@@ -47,10 +47,12 @@ public class AopLogRepository extends AopLogDao {
|
||||
.where(buildConditions(queryDto));
|
||||
}
|
||||
|
||||
|
||||
public SelectConditionStep<Record> selectByWithoutReturnValue(AopLogQueryDto queryDto) {
|
||||
return ctx()
|
||||
.select(AOP_LOG.asterisk().except(AOP_LOG.RETURN_VALUE, AOP_LOG.METHOD_ARGS), USER.USERNAME, DSL.count().over().as("total_count"))
|
||||
.select(
|
||||
AOP_LOG.asterisk().except(AOP_LOG.RETURN_VALUE, AOP_LOG.METHOD_ARGS),
|
||||
USER.USERNAME,
|
||||
DSL.count().over().as("total_count"))
|
||||
.from(AOP_LOG)
|
||||
.leftJoin(USER)
|
||||
.on(AOP_LOG.USER_ID.eq(USER.ID))
|
||||
|
||||
Reference in New Issue
Block a user