|
|
@@ -105,7 +105,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
<select id="selectSyMajorOverviewByCode" resultMap="SyMajorOverviewResult">
|
|
|
<include refid="selectSyMajorOverviewVo"/>
|
|
|
- where exam_type = #{examType} and code = #{code}
|
|
|
+ where 1=1
|
|
|
+ <if test="code != null and code != ''"> and code = #{code}</if>
|
|
|
+ <if test="examType != null and examType != ''"> and exam_type = #{examType}</if>
|
|
|
+<!-- exam_type = #{examType} and code = #{code}-->
|
|
|
</select>
|
|
|
|
|
|
<select id="selectSyMajorOverviewByCodes" resultMap="SyMajorOverviewResult">
|