|
|
@@ -148,9 +148,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
ebu.url
|
|
|
FROM
|
|
|
exam_before eb
|
|
|
- LEFT JOIN exam_before_goods ebg ON eb.before_id = ebg.before_id
|
|
|
+ LEFT JOIN exam_before_apply eba ON eb.before_id = eba.before_id
|
|
|
+ LEFT JOIN exam_apply_goods eag ON eag.apply_id = eba.apply_id
|
|
|
LEFT JOIN exam_before_url ebu on eb.before_url=ebu.before_url_id
|
|
|
- where ebg.goods_id =#{goodsId}
|
|
|
+ where eag.goods_id =#{goodsId}
|
|
|
and eb.`status` =1
|
|
|
LIMIT 1
|
|
|
</select>
|