Compare commits

..

No commits in common. "bd259281af0f867ed08ebe2024251b09c3257eb6" and "b9da231fdac062e40fdf8d3a76af174f33c7048b" have entirely different histories.

3 changed files with 2 additions and 59 deletions

View File

@ -174,28 +174,4 @@ public class TdQuestion implements Serializable {
@TableField("EXAM_KEYS")
private String examKeys;
/**
* 500
*/
@TableField("IS_VIP")
private Integer isVip;
/**
* 600
*/
@TableField("IS_VIP2")
private Integer isVip2;
/**
* 1
*/
@TableField("IS_EXAM1")
private Integer isExam1;
/**
* 2
*/
@TableField("IS_EXAM2")
private Integer isExam2;
}

View File

@ -171,22 +171,4 @@ public class QusetionVo {
*/
@ApiModelProperty("考点")
private String examKeys;
/**
* 600
*/
@ApiModelProperty("精讯600题")
private Integer isVip2;
/**
* 1
*/
@ApiModelProperty("是否密卷1")
private Integer isExam1;
/**
* 2
*/
@ApiModelProperty("是否密卷2")
private Integer isExam2;
}

View File

@ -29,10 +29,7 @@
tq.IS_VIP,
tq.IS_ERROR,
tq.IS_NEW,
tq.EXAM_KEYS,
tq.IS_EXAM1,
tq.IS_EXAM2,
tq.IS_VIP2
tq.EXAM_KEYS
from td_question tq
left join td_point_question tpq on tq.QUESTION_ID = tpq.QUESTION_ID and tq.CAR_TYPE_ID = tpq.CAR_TYPE_ID and
tpq.IS_ACTIVE = '0'
@ -103,10 +100,7 @@
tq.IS_VIP,
tq.IS_ERROR,
tq.IS_NEW,
tq.EXAM_KEYS,
tq.IS_EXAM1,
tq.IS_EXAM2,
tq.IS_VIP2
tq.EXAM_KEYS
from td_question tq
<where>
tq.IS_ACTIVE = '0'
@ -138,15 +132,6 @@
<if test="qusetionVo.examKeys !=null">
EXAM_KEYS = #{qusetionVo.examKeys},
</if>
<if test="qusetionVo.isVip2 !=null">
IS_VIP2 = #{qusetionVo.isVip2},
</if>
<if test="qusetionVo.isExam1 !=null">
IS_EXAM1 = #{qusetionVo.isExam1},
</if>
<if test="qusetionVo.isExam2 !=null">
IS_EXAM2 = #{qusetionVo.isExam2},
</if>
</trim>
where QUESTION_ID = #{qusetionVo.questionId}
</update>