| | |
| | | <select id="getGoodsNotInList" resultMap="BaseResultMap"> |
| | | SELECT * FROM `yeshi_ec_goods_dataoke` d |
| | | WHERE 1=1 |
| | | <if test="cid != null"> |
| | | <if test="cid != null and cid !=0"> |
| | | AND d.`cid` = #{cid} |
| | | </if> |
| | | <if test="list != null"> |
| | |
| | | ORDER BY RAND() LIMIT #{count} |
| | | </select> |
| | | |
| | | |
| | | <select id="listByDtitle" resultMap="BaseResultMap" |
| | | parameterType="java.lang.String"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from yeshi_ec_goods_dataoke where d_title=#{0} |
| | | </select> |
| | | |
| | | |
| | | |
| | | <delete id="deleteByIdList"> |
| | | delete from |
| | | yeshi_ec_goods_dataoke where |