|
@@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="year" column="year"/>
|
|
<result property="year" column="year"/>
|
|
<result property="coverUrl" column="cover_url"/>
|
|
<result property="coverUrl" column="cover_url"/>
|
|
<result property="code" column="code"/>
|
|
<result property="code" column="code"/>
|
|
- <result property="rebuy" column="rebuy"/>
|
|
|
|
|
|
+ <result property="rebuyOrderGoodsId" column="rebuy_order_goods_id"/>
|
|
|
|
|
|
<result property="educationName" column="education_name"/>
|
|
<result property="educationName" column="education_name"/>
|
|
<result property="projectName" column="project_name"/>
|
|
<result property="projectName" column="project_name"/>
|
|
@@ -73,6 +73,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="periodPlush" column="period_plush"/>
|
|
<result property="periodPlush" column="period_plush"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
+ <select id="getGradePeriod" parameterType="Map" resultType="integer">
|
|
|
|
+ SELECT
|
|
|
|
+ cgu.period_plush
|
|
|
|
+ FROM
|
|
|
|
+ order_goods og
|
|
|
|
+ LEFT JOIN class_grade_user cgu ON og.grade_id = cgu.grade_id
|
|
|
|
+ AND cgu.user_id = #{userId} where og.order_goods_id = #{orderGoodsId}
|
|
|
|
+ </select>
|
|
|
|
+
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.order.bo.OrderQueryBo" resultMap="OrderResultVo">
|
|
<select id="selectList" parameterType="com.zhongzheng.modules.order.bo.OrderQueryBo" resultMap="OrderResultVo">
|
|
SELECT
|
|
SELECT
|
|
o.*,
|
|
o.*,
|