<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.younike.system.mapper.GoodsCommentResourceMapper">

    <select id="selectResourcByCommentId" resultMap="GoodsCommentResourceResult" >
        SELECT recource_id, comment_id, merchant_id, type, url, face_img, is_del, create_time, update_time, version
        FROM goods_comment_resource
        WHERE is_del = 0
        AND comment_id = #{commentId}
    </select>
</mapper>
