|
|
@@ -96,7 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="templateType" column="template_type"/>
|
|
|
</resultMap>
|
|
|
|
|
|
- <select id="queryList" parameterType="Long" resultMap="ClassGradeVoResult">
|
|
|
+ <select id="queryList" parameterType="com.zhongzheng.modules.grade.bo.ClassGradeQueryBo" resultMap="ClassGradeVoResult">
|
|
|
SELECT
|
|
|
g.*,
|
|
|
(SELECT name FROM class_grade_interface i where g.interface_push_id = i.id) as interface_push_name,
|
|
|
@@ -112,6 +112,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="classId != null and classId !=0 ">
|
|
|
+ AND g.class_id = #{classId}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="queryGoodsList" parameterType="Long" resultMap="GoodsResultVo">
|