|
|
@@ -155,6 +155,7 @@
|
|
|
<result property="firstChoiceGoods" column="first_choice_goods"/>
|
|
|
<result property="aliasName" column="alias_name"/>
|
|
|
<result property="moreCertificateStatus" column="more_certificate_status"/>
|
|
|
+ <result property="makeGoodsIds" column="make_goods_ids"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.exam.vo.ExamNumberGoodsVo" id="ExamNumberGoodsVoResult">
|
|
|
@@ -659,6 +660,10 @@
|
|
|
WHERE goods_id = #{goodsId} AND type = 3), ''))))
|
|
|
</select>
|
|
|
|
|
|
+ <select id="getMakeGoodsList" parameterType="map" resultType="com.zhongzheng.modules.goods.vo.MakeGoodsVo">
|
|
|
+ select g.goods_id as make_goods_id,g.goods_name as make_goods_name,g.code as make_code from goods g where FIND_IN_SET(g.goods_id,#{makeGoodsIds})
|
|
|
+ </select>
|
|
|
+
|
|
|
<select id="getRandomQuestionNum" parameterType="map" resultType="Long">
|
|
|
SELECT count(DISTINCT eq.question_id) question_num
|
|
|
FROM exam_question eq
|