|
@@ -335,7 +335,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
place_issue_name,
|
|
|
seque_issue_name,
|
|
|
${sortName} as sort,
|
|
|
- question_type FROM question_info WHERE ${issueTypeParmName} = #{issueValue} and subject =#{subject} and lice_car = 1 order by ${sortName}
|
|
|
+ question_type FROM question_info WHERE ${issueTypeParmName} = #{issueValue} and subject =#{subject} and lice_car = 1
|
|
|
+ <if test="issue != null and issue != ''"> and issue like concat('%', #{issue}, '%')</if>
|
|
|
+ order by ${sortName} is null
|
|
|
</select>
|
|
|
|
|
|
<select id="updateSortById" >
|