|
@@ -86,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="schoolName" column="school_name"/>
|
|
|
<result property="categoryName" column="category_name"/>
|
|
|
<result property="handoutsId" column="handouts_id"/>
|
|
|
+ <result property="templateType" column="template_type"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.goods.bo.GoodsQueryBo" resultMap="GoodsResultVo">
|
|
@@ -96,7 +97,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
cpt.project_name,
|
|
|
cb.business_name,
|
|
|
s.school_name,
|
|
|
- m.category_name
|
|
|
+ m.category_name,
|
|
|
+ ot.type AS template_type
|
|
|
FROM
|
|
|
goods g
|
|
|
LEFT JOIN pay_supply ps ON g.supply_id = ps.supply_id
|
|
@@ -105,6 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN course_business cb ON g.business_id = cb.id
|
|
|
LEFT JOIN school s ON s.id = g.school_id
|
|
|
LEFT JOIN major m ON g.major_id = m.id
|
|
|
+ LEFT JOIN order_input_template ot ON cb.template_status = ot.id
|
|
|
WHERE
|
|
|
1 = 1
|
|
|
<if test="status != null and status.size()!=0 ">
|