|
|
|
@ -7,6 +7,9 @@ import com.ibeetl.jlw.enums.BusinessCourseInfoEnum;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.beetl.sql.annotation.entity.AssignID;
|
|
|
|
|
import org.beetl.sql.annotation.entity.InsertIgnore;
|
|
|
|
|
import org.beetl.sql.annotation.entity.UpdateIgnore;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.FetchSql;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
@ -91,6 +94,20 @@ public class GeneralResourcesQuestionSnapshot extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
private Long orgId ;
|
|
|
|
|
|
|
|
|
|
// 扩展字段
|
|
|
|
|
|
|
|
|
|
// 是否收藏,这里不关心是否已经交卷,只是判断是否
|
|
|
|
|
|
|
|
|
|
@UpdateIgnore
|
|
|
|
|
@InsertIgnore
|
|
|
|
|
@FetchSql("select count(1) > 0 from general_question_log t " +
|
|
|
|
|
"where 1 = 1 " +
|
|
|
|
|
"and t.general_question_log_status = 1 " +
|
|
|
|
|
"and t.general_question_setting_id = #generalQuestionSettingId# " +
|
|
|
|
|
"and t.general_resources_question_snapshot_id = #generalResourcesQuestionSnapshotId# " +
|
|
|
|
|
"and t.is_tuck = 1 ")
|
|
|
|
|
private Boolean isTuck;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 隐藏答案
|
|
|
|
|
*/
|
|
|
|
|