| | |
| | | <if test="placeId != null">cd_place_id=#{placeId,jdbcType=BIGINT},</if> |
| | | <if test="bottomPicture != null">cd_bottom_picture=#{bottomPicture,jdbcType=VARCHAR},</if> |
| | | <if test="startTime != null">cd_start_time=#{startTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="endTime != null">cd_end_time=#{endTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="endTime != null">cd_end_time=#{endTime,jdbcType=TIMESTAMP},</if> |
| | | <if test="createtime != null">cd_createtime=#{createtime,jdbcType=TIMESTAMP},</if> |
| | | <if test="updatetime != null">cd_updatetime=#{updatetime,jdbcType=TIMESTAMP},</if> |
| | | </set> where cd_id = #{id,jdbcType=BIGINT} |
| | |
| | | <if test='key != null and key != ""'> |
| | | AND cd_name like '%${key}%' |
| | | </if> |
| | | ORDER BY cd_state DESC,cd_createtime |
| | | ORDER BY cd_place_id,cd_state DESC |
| | | LIMIT ${start},${count} |
| | | </select> |
| | | |