diff --git a/flower_back/src/main/java/com/example/flower/service/impl/StaffServiceImpl.java b/flower_back/src/main/java/com/example/flower/service/impl/StaffServiceImpl.java new file mode 100644 index 0000000..9f82d75 --- /dev/null +++ b/flower_back/src/main/java/com/example/flower/service/impl/StaffServiceImpl.java @@ -0,0 +1,20 @@ +package com.example.flower.service.impl; + +import com.example.flower.entity.Staff; +import com.github.pagehelper.PageInfo; +import org.apache.ibatis.annotations.Mapper; +import org.springframework.stereotype.Repository; + +@Mapper +@Repository +public interface StaffServiceImpl { + Staff staffLogin(String staff_name); + PageInfo staffList(int page, int page_size); + PageInfo staffListByQuery(int page,int page_size,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); +}