Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / RiverManage / OfficialClassificationDao.java
package com.newfiber.api.pc.dao.RiverManage;

import com.newfiber.api.pc.model.River.OfficialClassification;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author wmj
 * @Date: 2017/12/16 10:28
 * @description 业务管理--文案管理--文案分类接口
 */
@Repository
public interface OfficialClassificationDao {
    int addOfficialClassification(@Param("officialType") Integer officialType,
                                  @Param("officialTypeZn") String officialTypeZn,
                                  @Param("createUserNo") String createUserNo,
                                  @Param("remark") String remark);

    int updateOfficialClassification(@Param("officialTypeZn") String officialTypeZn,
                                     @Param("updateUserNo") String updateUserNo,
                                     @Param("updateTime") Date updateTime,
                                     @Param("remark") String remark,
                                     @Param("serial") Integer serial);

    int deleteOfficialClassification(@Param("serial") long[] serial);

    List<OfficialClassification> selectOfficialClassificationList(@Param("pageNo") Integer pageNo,
                                                                  @Param("pageSize") Integer pageSize,
                                                                  @Param("officialTypeZn") String officialTypeZn);

    int countOfficialClassification(@Param("officialTypeZn") String officialTypeZn);

    int selectMaxOfficialType();

    List<OfficialClassification> selectOfficialClassTotal();
}