beetlsql3-dev
Mlxa0324 2 years ago
parent 6b924851bf
commit e3dc12381c

@ -31,11 +31,16 @@ import static com.ibeetl.admin.core.util.StreamUtils.listJoin;
@Table(name = "course_info", assignID = true)
public class ResourcesCourseInfoAuthDetailsVO extends BaseEntity {
/**
*
*/
@AssignID
private Long courseInfoId;
/**
* ID
*/
@NotNull(message = "机构ID不能为空")
@AssignID
private Long orgId;
/**
@ -88,7 +93,8 @@ public class ResourcesCourseInfoAuthDetailsVO extends BaseEntity {
" AND tb.use_type != 0\n" +
" AND tb.use_type IS NOT NULL\n" +
" @if(!isEmpty(orgId) && orgId != 1) { \n" +
" \tAND tb.org_id = #orgId# \n" +
// 查询 超管上传的和自己上传的理论课程类的
" \tAND find_in_set(ifnull(tb.org_id, 1), #'1,' + orgId#) \n" +
" @} \n" +
" AND ( now() BETWEEN tb.use_start_time AND tb.use_end_time )\n" +
" LEFT JOIN course_label td ON td.course_label_id = t.course_label_id\n" +

@ -1,6 +1,5 @@
package com.ibeetl.jlw.web;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.StrUtil;
import cn.jlw.Interceptor.GetFile;
@ -326,6 +325,7 @@ public class GeneralQuestionLogController extends BaseController {
* @return
*/
@PostMapping(API + "/scoreDetailInfo.do")
@Deprecated
public JsonResult<PageQuery> scoreDetailInfo(@Validated GeneralQuestionLogScoreDetailsInfoQuery query, @SCoreUser CoreUser coreUser) {
return JsonResult.success(generalQuestionLogService.getQuestionLogScoreDetailsInfo(query.getPageQuery()));
}

Loading…
Cancel
Save