Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.repository;import com.spice.profitmandi.dao.entity.ContactUs;import org.springframework.stereotype.Repository;import java.util.List;@Repositorypublic interface ContactUsRepository {void persist(ContactUs contactUs);ContactUs selectById(int id);/** Active rows for a section ordered by their display order. */List<ContactUs> findActiveBySection(String section);/** Highest sort order currently used in a section (0 if the section is empty). */int maxSortOrder(String section);}