From 29f78ae021a70d8baebb4df649990c3e94f92fc2 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Tue, 10 Oct 2023 18:58:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuintAdmin/src/api/staff/staff.js | 44 +++ fuintAdmin/src/views/staff/list.vue | 270 ++++++++++-------- .../member/controller/LJStaffController.java | 75 +++++ .../fuint/business/member/entity/LJDuty.java | 58 ++++ .../fuint/business/member/entity/LJStaff.java | 115 ++++++++ .../business/member/mapper/LJStaffMapper.java | 61 ++++ .../member/mapper/xml/LJStaffMapper.xml | 149 ++++++++++ .../member/service/ILJStaffService.java | 40 +++ .../service/impl/LJStaffServiceImpl.java | 72 +++++ .../com/fuint/repository/model/MtStaff.java | 56 ++++ .../com/fuint/repository/model/TAccount.java | 9 + .../com/fuint/repository/model/TDuty.java | 7 +- .../repository/model/base/BaseEntity.java | 123 ++++++++ 13 files changed, 951 insertions(+), 128 deletions(-) create mode 100644 fuintAdmin/src/api/staff/staff.js create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/controller/LJStaffController.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/entity/LJDuty.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/entity/LJStaff.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/mapper/LJStaffMapper.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/mapper/xml/LJStaffMapper.xml create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/service/ILJStaffService.java create mode 100644 fuintBackend/fuint-application/src/main/java/com/fuint/business/member/service/impl/LJStaffServiceImpl.java create mode 100644 fuintBackend/fuint-repository/src/main/java/com/fuint/repository/model/base/BaseEntity.java diff --git a/fuintAdmin/src/api/staff/staff.js b/fuintAdmin/src/api/staff/staff.js new file mode 100644 index 000000000..7099b82dd --- /dev/null +++ b/fuintAdmin/src/api/staff/staff.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询员工列表 +export function listStaff(query) { + return request({ + url: '/business/member/staff/list', + method: 'get', + params: query + }) +} + +// 查询字典类型详细 +export function getStaff(id) { + return request({ + url: '/business/member/staff' + id, + method: 'get' + }) +} + +// 新增字典类型 +export function addStaff(data) { + return request({ + url: '/business/member/staff', + method: 'post', + data: data + }) +} + +// 修改字典类型 +export function updateStaff(data) { + return request({ + url: '/business/member/staff', + method: 'put', + data: data + }) +} + +// 删除字典类型 +export function delStaff(id) { + return request({ + url: '/business/member/staff' + id, + method: 'delete' + }) +} diff --git a/fuintAdmin/src/views/staff/list.vue b/fuintAdmin/src/views/staff/list.vue index 13504ce15..c5a098f8e 100644 --- a/fuintAdmin/src/views/staff/list.vue +++ b/fuintAdmin/src/views/staff/list.vue @@ -1,131 +1,135 @@