ADD file via upload

main
pjhmizn49 1 year ago
parent 7da0c8399d
commit dffd8308d9

@ -0,0 +1,21 @@
package com.example.flower.mapper;
import com.example.flower.entity.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
@Repository
public interface StaffMapper {
Staff staffLogin(String staff_name); //员工后台登录
List<Staff> staffList(); //获取所有员工信息
List<Staff> staffListByQuery(String staff_name);//查询员工信息列表
void staffAdd(Staff staff); //添加新员工
int staffDeletePer(int staff_id); //删除单个员工
int staffDeleteMul(int[] staff_ids); //批量删除员工
Staff staffInfo(int staff_id); //获取员工信息
int staffModify(Staff staff); //修改员工信息
int staffModifyState(int staff_id,int staff_state); //修改单个员工状态
}
Loading…
Cancel
Save