|
|
@@ -13,11 +13,10 @@
|
|
|
FROM
|
|
|
major a
|
|
|
LEFT JOIN SYS_ORG b ON a.college_id = b.id
|
|
|
- <where>
|
|
|
+ where a.DELETE_FLAG='NOT_DELETE'
|
|
|
<if test="majorPageParam.searchKey!=null">
|
|
|
- a.major_name like concat('%',#{majorPageParam.searchKey},'%')
|
|
|
+ and a.major_name like concat('%',#{majorPageParam.searchKey},'%')
|
|
|
</if>
|
|
|
- </where>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
|
|
|
@@ -49,6 +48,7 @@
|
|
|
FROM
|
|
|
major a
|
|
|
LEFT JOIN SYS_ORG b ON a.college_id = b.id
|
|
|
- where a.college_id=#{collegeId}
|
|
|
+ where a.DELETE_FLAG='NOT_DELETE'
|
|
|
+ and a.college_id=#{collegeId}
|
|
|
</select>
|
|
|
</mapper>
|