From 4b117d9b8524e44ab93e70313ea94ab11d22643b Mon Sep 17 00:00:00 2001 From: Mlxa0324 Date: Tue, 7 Mar 2023 00:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E6=B3=A8=EF=BC=8C=E8=BD=AC=E8=B4=A6?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StudentAccountAssetAllocationService.java | 3 ++- .../TeacherOpenCourseQuestionLogService.java | 1 + ...StudentAccountTradingRecordSheetQuery.java | 25 +++++++++++++++---- .../jlw/studentAccountTradingRecordSheet.md | 24 ++++++++++++++++++ 4 files changed, 47 insertions(+), 6 deletions(-) diff --git a/web/src/main/java/com/ibeetl/jlw/service/StudentAccountAssetAllocationService.java b/web/src/main/java/com/ibeetl/jlw/service/StudentAccountAssetAllocationService.java index 02157804..b950d04c 100644 --- a/web/src/main/java/com/ibeetl/jlw/service/StudentAccountAssetAllocationService.java +++ b/web/src/main/java/com/ibeetl/jlw/service/StudentAccountAssetAllocationService.java @@ -193,7 +193,8 @@ public class StudentAccountAssetAllocationService extends CoreBaseService getByApplicationToken(@NotBlank(message = "applicationToken 传递的token不能为空!") String applicationToken, StudentAccountAssetAllocationQuery param) { + public List getByApplicationToken( + @NotBlank(message = "applicationToken 传递的token不能为空!") String applicationToken, StudentAccountAssetAllocationQuery param) { LoginTodo loginTodo = validateAndGetLoginTodo(applicationToken); diff --git a/web/src/main/java/com/ibeetl/jlw/service/TeacherOpenCourseQuestionLogService.java b/web/src/main/java/com/ibeetl/jlw/service/TeacherOpenCourseQuestionLogService.java index 925fb34c..f5b14285 100644 --- a/web/src/main/java/com/ibeetl/jlw/service/TeacherOpenCourseQuestionLogService.java +++ b/web/src/main/java/com/ibeetl/jlw/service/TeacherOpenCourseQuestionLogService.java @@ -492,6 +492,7 @@ public class TeacherOpenCourseQuestionLogService extends CoreBaseService= #startTime# + @} + @if(!isEmpty(endTime)){ + and t.create_time < #endTime# + @} @if(!isEmpty(studentId)){ and t.student_id =#studentId# @} @@ -67,6 +73,12 @@ queryByConditionQuery @if(!isEmpty(createTime)){ and t.create_time =#createTime# @} + @if(!isEmpty(startTime)){ + and t.create_time >= #startTime# + @} + @if(!isEmpty(endTime)){ + and t.create_time < #endTime# + @} @if(!isEmpty(studentId)){ and t.student_id =#studentId# @} @@ -219,6 +231,12 @@ getValuesByQuery @if(!isEmpty(createTime)){ and t.create_time =#createTime# @} + @if(!isEmpty(startTime)){ + and t.create_time >= #startTime# + @} + @if(!isEmpty(endTime)){ + and t.create_time < #endTime# + @} @if(!isEmpty(studentId)){ and t.student_id =#studentId# @} @@ -259,6 +277,12 @@ getValuesByQueryNotWithPermission @if(!isEmpty(createTime)){ and t.create_time =#createTime# @} + @if(!isEmpty(startTime)){ + and t.create_time >= #startTime# + @} + @if(!isEmpty(endTime)){ + and t.create_time < #endTime# + @} @if(!isEmpty(studentId)){ and t.student_id =#studentId# @}