beetlsql3-dev
xuliangtong 2 years ago
parent 533188b6e7
commit d28a4ba641

@ -83,7 +83,17 @@ public class HandsOn extends BaseEntity{
private Long userId; private Long userId;
//附件 //附件
private String trainingData; private String trainingData;
private int handsOnStatus;
public int getHandsOnStatus() {
return handsOnStatus;
}
public void setHandsOnStatus(int handsOnStatus) {
this.handsOnStatus = handsOnStatus;
}
public HandsOn(){ public HandsOn(){
} }

@ -47,7 +47,17 @@ public class ResourcesCompetition extends BaseEntity{
//后台用户ID //后台用户ID
private Long userId ; private Long userId ;
private Integer resourcesCompetitionStatus;
public Integer getResourcesCompetitionStatus() {
return resourcesCompetitionStatus;
}
public void setResourcesCompetitionStatus(Integer resourcesCompetitionStatus) {
this.resourcesCompetitionStatus = resourcesCompetitionStatus;
}
public ResourcesCompetition(){ public ResourcesCompetition(){
} }

@ -47,7 +47,17 @@ public class ResourcesTraining extends BaseEntity{
//后台用户ID //后台用户ID
private Long userId ; private Long userId ;
private Integer resourcesTrainingStatus;
public Integer getResourcesTrainingStatus() {
return resourcesTrainingStatus;
}
public void setResourcesTrainingStatus(Integer resourcesTrainingStatus) {
this.resourcesTrainingStatus = resourcesTrainingStatus;
}
public ResourcesTraining(){ public ResourcesTraining(){
} }

@ -38,6 +38,16 @@ public class HandsOnQuery extends PageParam {
@Query(name = "数据集", display = false) @Query(name = "数据集", display = false)
private String trainingData; private String trainingData;
private int handsOnStatus;
public int getHandsOnStatus() {
return handsOnStatus;
}
public void setHandsOnStatus(int handsOnStatus) {
this.handsOnStatus = handsOnStatus;
}
public Date getAddTime() { public Date getAddTime() {
return addTime; return addTime;
} }
@ -74,6 +84,7 @@ public class HandsOnQuery extends PageParam {
private String _given;//指定更新的特定字段,多个逗号隔开 private String _given;//指定更新的特定字段,多个逗号隔开
public Long getHandsOnId(){ public Long getHandsOnId(){
return handsOnId; return handsOnId;
} }
@ -125,6 +136,7 @@ public class HandsOnQuery extends PageParam {
pojo.setUserId(this.getUserId()); pojo.setUserId(this.getUserId());
pojo.setTrainingData(this.getTrainingData()); pojo.setTrainingData(this.getTrainingData());
pojo.setTeacherOpenCourseId(this.getTeacherOpenCourseId()); pojo.setTeacherOpenCourseId(this.getTeacherOpenCourseId());
pojo.setHandsOnStatus(this.getHandsOnStatus());
return pojo; return pojo;
} }

@ -36,6 +36,16 @@ public class ResourcesCompetitionQuery extends PageParam {
private String courseInfoIds; private String courseInfoIds;
private Integer resourcesCompetitionStatus;
public Integer getResourcesCompetitionStatus() {
return resourcesCompetitionStatus;
}
public void setResourcesCompetitionStatus(Integer resourcesCompetitionStatus) {
this.resourcesCompetitionStatus = resourcesCompetitionStatus;
}
public Long getResourcesCompetitionId(){ public Long getResourcesCompetitionId(){
return resourcesCompetitionId; return resourcesCompetitionId;
@ -97,6 +107,7 @@ public class ResourcesCompetitionQuery extends PageParam {
pojo.setResourcesCompetitionData(this.getResourcesCompetitionData()); pojo.setResourcesCompetitionData(this.getResourcesCompetitionData());
pojo.setOrgId(this.getOrgId()); pojo.setOrgId(this.getOrgId());
pojo.setUserId(this.getUserId()); pojo.setUserId(this.getUserId());
pojo.setResourcesCompetitionStatus(this.getResourcesCompetitionStatus());
return pojo; return pojo;
} }

@ -31,6 +31,16 @@ public class ResourcesTrainingQuery extends PageParam {
private Long studentId; private Long studentId;
private Integer resourcesTrainingStatus;
public Integer getResourcesTrainingStatus() {
return resourcesTrainingStatus;
}
public void setResourcesTrainingStatus(Integer resourcesTrainingStatus) {
this.resourcesTrainingStatus = resourcesTrainingStatus;
}
public Long getResourcesTrainingId(){ public Long getResourcesTrainingId(){
return resourcesTrainingId; return resourcesTrainingId;
} }
@ -91,6 +101,7 @@ public class ResourcesTrainingQuery extends PageParam {
pojo.setResourcesTrainingData(this.getResourcesTrainingData()); pojo.setResourcesTrainingData(this.getResourcesTrainingData());
pojo.setOrgId(this.getOrgId()); pojo.setOrgId(this.getOrgId());
pojo.setUserId(this.getUserId()); pojo.setUserId(this.getUserId());
pojo.setResourcesTrainingStatus(this.getResourcesTrainingStatus());
return pojo; return pojo;
} }

@ -28,6 +28,9 @@ queryByCondition
@if(!isEmpty(handsOnRecommend)){ @if(!isEmpty(handsOnRecommend)){
and t.hands_on_recommend =#handsOnRecommend# and t.hands_on_recommend =#handsOnRecommend#
@} @}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
queryByConditionQuery queryByConditionQuery
@ -58,6 +61,9 @@ queryByConditionQuery
@if(!isEmpty(teacherOpenCourseId)){ @if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId# and t.teacher_open_course_id =#teacherOpenCourseId#
@} @}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
@ -143,6 +149,9 @@ getHandsOnValues
@if(!isEmpty(teacherOpenCourseId)){ @if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId# and t.teacher_open_course_id =#teacherOpenCourseId#
@} @}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
getValuesByQuery getValuesByQuery
@ -171,7 +180,9 @@ getValuesByQuery
@if(!isEmpty(teacherOpenCourseId)){ @if(!isEmpty(teacherOpenCourseId)){
and t.teacher_open_course_id =#teacherOpenCourseId# and t.teacher_open_course_id =#teacherOpenCourseId#
@} @}
@if(!isEmpty(handsOnStatus)){
and t.hands_on_status =#handsOnStatus#
@}
queryObjectByHandsOnIds queryObjectByHandsOnIds

@ -61,6 +61,9 @@ queryByCondition
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesCompetitionStatus)){
and t.resources_competition_status =#resourcesCompetitionStatus#
@}
@if(!isEmpty(resourcesCompetitionIds)){ @if(!isEmpty(resourcesCompetitionIds)){
ORDER BY find_in_set(t.resources_competition_id,#resourcesCompetitionIds#) ORDER BY find_in_set(t.resources_competition_id,#resourcesCompetitionIds#)
@}else{ @}else{
@ -107,6 +110,9 @@ queryByCondition2Student
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesCompetitionStatus)){
and t.resources_competition_status =#resourcesCompetitionStatus#
@}
@if(!isEmpty(resourcesCompetitionIds)){ @if(!isEmpty(resourcesCompetitionIds)){
ORDER BY find_in_set(t.resources_competition_id,#resourcesCompetitionIds#) ORDER BY find_in_set(t.resources_competition_id,#resourcesCompetitionIds#)
@}else{ @}else{
@ -196,6 +202,9 @@ getValuesByQuery
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesCompetitionStatus)){
and t.resources_competition_status =#resourcesCompetitionStatus#
@}
getResourcesCompetitionValues getResourcesCompetitionValues
@ -227,6 +236,9 @@ getResourcesCompetitionValues
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesCompetitionStatus)){
and t.resources_competition_status =#resourcesCompetitionStatus#
@}

@ -63,6 +63,9 @@ queryByCondition
@if(!isEmpty(resourcesTrainingIds)){ @if(!isEmpty(resourcesTrainingIds)){
and find_in_set(t.resources_training_id,#resourcesTrainingIds#) and find_in_set(t.resources_training_id,#resourcesTrainingIds#)
@} @}
@if(!isEmpty(resourcesTrainingStatus)){
and t.resources_training_status =#resourcesTrainingStatus#
@}
@if(!isEmpty(resourcesTrainingIds)){ @if(!isEmpty(resourcesTrainingIds)){
ORDER BY find_in_set(t.resources_training_id,#resourcesTrainingIds#) ORDER BY find_in_set(t.resources_training_id,#resourcesTrainingIds#)
@}else{ @}else{
@ -148,6 +151,9 @@ queryByCondition2Student
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesTrainingStatus)){
and t.resources_training_status =#resourcesTrainingStatus#
@}
@if(!isEmpty(resourcesTrainingIds)){ @if(!isEmpty(resourcesTrainingIds)){
ORDER BY find_in_set(t.resources_training_id,#resourcesTrainingIds#) ORDER BY find_in_set(t.resources_training_id,#resourcesTrainingIds#)
@}else{ @}else{
@ -222,7 +228,9 @@ getValuesByQuery
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesTrainingStatus)){
and t.resources_training_status =#resourcesTrainingStatus#
@}
getResourcesTrainingValues getResourcesTrainingValues
=== ===
@ -253,7 +261,9 @@ getResourcesTrainingValues
@if(!isEmpty(userId)){ @if(!isEmpty(userId)){
and t.user_id =#userId# and t.user_id =#userId#
@} @}
@if(!isEmpty(resourcesTrainingStatus)){
and t.resources_training_status =#resourcesTrainingStatus#
@}
getValuesToCourseInfo getValuesToCourseInfo
=== ===

Loading…
Cancel
Save