package com.example.removetolocal.olduser.dao;

import com.example.removetolocal.olduser.domin.SysUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysUserDao extends JpaRepository<SysUserEntity,String> {
    List<SysUserEntity> findAllByCompanyId(String companyId);
    List<SysUserEntity> findAllByCode(String code);
}
