AccountDao.java 469 B

12345678910111213141516
  1. package com.ym.mec.collectfee.dao;
  2. import com.ym.mec.collectfee.common.dao.BaseDAO;
  3. import com.ym.mec.collectfee.entity.Account;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.springframework.context.annotation.Bean;
  6. import org.springframework.stereotype.Component;
  7. @Component
  8. public interface AccountDao extends BaseDAO<Integer, Account> {
  9. Account getAccountByBranchId(@Param("branchId") Integer branchId);
  10. int upByIdAndVersion(Account account);
  11. }