Compare commits
No commits in common. "949c63432ddffa767cfb10b58d7a2baa54fd155f" and "23149889ac43d690bcb29a44b1fda71bfad89671" have entirely different histories.
949c63432d
...
23149889ac
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ spring:
|
|||
application:
|
||||
name: '@artifactId@'
|
||||
profiles:
|
||||
active: test
|
||||
active: dev
|
||||
#mybatis
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:/mapper/**Mapper.xml
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue