Преглед на файлове

免费模块题目修改

小么熊🐻 преди 3 години
родител
ревизия
0f14ef96ae

+ 4 - 0
twzd-service/src/main/java/com/miaxis/question/dto/QuestionInfoFlDTO.java

@@ -37,6 +37,10 @@ public class QuestionInfoFlDTO extends BaseBusinessEntity{
     @ApiModelProperty(value = "科目")
     private Integer subject;
 
+    /** 模块名称 */
+    @ApiModelProperty(value = "模块名称(模糊查询)")
+    private String excellIssueName;
+
     /** 分类练习排序字段 */
     @ApiModelProperty(value = "分类练习排序字段")
     private Integer classSort;

+ 1 - 0
twzd-service/src/main/resources/mapper/qustion/QuestionInfoMapper.xml

@@ -150,6 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             excell_issue
         FROM question_info
         <where>
+            <if test="excellIssueName != null  and excellIssueName != ''"> and excell_issue_name like concat('%',#{excellIssueName},'%')</if>
             <if test="subject != null  and subject != ''"> and subject = #{subject}</if>
             <if test="liceCar != null  and liceCar != ''"> and lice_car = #{liceCar} </if>
             <if test="liceBus != null  and liceBus != ''"> and lice_bus = #{liceBus}</if>