| | |
| | | yeshi_ec_taobao_goods where auctionId = #{auctionId,jdbcType=BIGINT} |
| | | </delete> |
| | | |
| | | |
| | | <delete id="deleteBatchByGoodsId" parameterType="java.util.List"> |
| | | DELETE FROM yeshi_ec_taobao_goods WHERE id in |
| | | <foreach collection="list" item="item" open="(" close=")" |
| | | separator=",">#{item}</foreach> |
| | | </delete> |
| | | |
| | | |
| | | <insert id="insert" parameterType="com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief" |
| | |
| | | separator=",">#{item}</foreach> |
| | | ORDER BY id DESC |
| | | </select> |
| | | |
| | | |
| | | <select id="listExistById" resultType="Long"> |
| | | SELECT id FROM yeshi_ec_taobao_goods |
| | | WHERE id IN |
| | | <foreach collection="list" item="item" open="(" close=")" |
| | | separator=",">#{item}</foreach> |
| | | </select> |
| | | |
| | | |
| | | <update id="updateBatchSelective" parameterType="java.util.List"> |
| | | |
| | |
| | | </if> |
| | | </foreach> |
| | | </trim> |
| | | |
| | | |
| | | <trim prefix="updatetime =case" suffix="end,"> |
| | | <foreach collection="list" item="item" index="index"> |
| | | <if test="item.updatetime !=null"> |