package com.ym.mec.collectfee.dao; import com.ym.mec.collectfee.common.dao.BaseDAO; import com.ym.mec.collectfee.entity.Account; import org.apache.ibatis.annotations.Param; import org.springframework.context.annotation.Bean; import org.springframework.stereotype.Component; @Component public interface AccountDao extends BaseDAO { Account getAccountByBranchId(@Param("branchId") Integer branchId); int upByIdAndVersion(Account account); }