添加后端代码、数据库文档和FRP配置
This commit is contained in:
61
backend/target/classes/application-dev.yml
Normal file
61
backend/target/classes/application-dev.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
server:
|
||||
port: 8081
|
||||
servlet:
|
||||
context-path: /api
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: pet-hospital
|
||||
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=MYSQL;
|
||||
username: sa
|
||||
password: password
|
||||
hikari:
|
||||
maximum-pool-size: 10
|
||||
minimum-idle: 5
|
||||
connection-timeout: 30000
|
||||
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
|
||||
h2:
|
||||
console:
|
||||
enabled: true
|
||||
path: /h2-console
|
||||
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: create-drop
|
||||
show-sql: true
|
||||
|
||||
sql:
|
||||
init:
|
||||
mode: always
|
||||
schema-locations: classpath*:schema-h2.sql
|
||||
data-locations: classpath*:data.sql
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
logic-delete-field: deleted
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
mapper-locations: classpath*:mapper/**/*.xml
|
||||
ddl-auto: create-drop
|
||||
|
||||
# JWT配置
|
||||
jwt:
|
||||
secret: petHospitalSecretKey2024GuanPengFeiGraduateDesign
|
||||
expiration: 86400000 # 24小时
|
||||
|
||||
# 文件上传配置
|
||||
file:
|
||||
upload-path: /tmp/pet-hospital/uploads/
|
||||
max-size: 10MB
|
||||
36
backend/target/classes/application.yml
Normal file
36
backend/target/classes/application.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
server:
|
||||
port: 8080
|
||||
servlet:
|
||||
context-path: /api
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
application:
|
||||
name: pet-hospital
|
||||
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
logic-delete-field: deleted
|
||||
logic-delete-value: 1
|
||||
logic-not-delete-value: 0
|
||||
mapper-locations: classpath*:mapper/**/*.xml
|
||||
|
||||
# JWT配置
|
||||
jwt:
|
||||
secret: pet-hospital-secret-key-2024-guanpengfei-graduate-design
|
||||
expiration: 86400000 # 24小时
|
||||
|
||||
# 文件上传配置
|
||||
file:
|
||||
upload-path: /tmp/pet-hospital/uploads/
|
||||
max-size: 10MB
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Drug.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Drug.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Message.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Message.class
Normal file
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Notice.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Notice.class
Normal file
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Order.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Order.class
Normal file
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Pet.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Pet.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Report.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Report.class
Normal file
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/StockIn.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/StockIn.class
Normal file
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/StockOut.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/StockOut.class
Normal file
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/User.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/User.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/entity/Visit.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/entity/Visit.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
backend/target/classes/com/gpf/pethospital/util/JwtUtil.class
Normal file
BIN
backend/target/classes/com/gpf/pethospital/util/JwtUtil.class
Normal file
Binary file not shown.
Binary file not shown.
17
backend/target/classes/data.sql
Normal file
17
backend/target/classes/data.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
-- 插入初始管理员用户
|
||||
INSERT INTO `user` (username, password, phone, email, role, status) VALUES ('admin', '$2a$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '13800138000', 'admin@example.com', 'ADMIN', 1);
|
||||
|
||||
-- 插入初始医生用户
|
||||
INSERT INTO `user` (username, password, phone, email, role, status) VALUES ('doctor', '$2a$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '13700137000', 'doctor@example.com', 'DOCTOR', 1);
|
||||
|
||||
-- 插入初始顾客用户
|
||||
INSERT INTO `user` (username, password, phone, email, role, status) VALUES ('customer', '$2a$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '13900139000', 'customer@example.com', 'CUSTOMER', 1);
|
||||
|
||||
-- 插入示例宠物
|
||||
INSERT INTO pet (name, species, breed, gender, birthday, owner_id) VALUES ('小白', '狗', '金毛', 'MALE', '2023-01-01', 3);
|
||||
|
||||
-- 插入示例医生
|
||||
INSERT INTO doctor (name, department, title, phone, email, status) VALUES ('张医生', '内科', '主治医师', '13600136000', 'zhang@hospital.com', 1);
|
||||
|
||||
-- 插入示例药品
|
||||
INSERT INTO drug (name, category, manufacturer, specification, unit_price, stock_quantity, unit, status) VALUES ('阿莫西林', '抗生素', '制药厂A', '0.25g*24粒', 25.50, 100, '盒', 1);
|
||||
242
backend/target/classes/schema-h2.sql
Normal file
242
backend/target/classes/schema-h2.sql
Normal file
@@ -0,0 +1,242 @@
|
||||
-- 如果表不存在则创建表,如果存在则添加缺失的列
|
||||
|
||||
-- 检查并创建appointment表或添加缺失列
|
||||
CREATE TABLE IF NOT EXISTS appointment (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
customer_id BIGINT NOT NULL,
|
||||
pet_id BIGINT NOT NULL,
|
||||
doctor_id BIGINT,
|
||||
department VARCHAR(50),
|
||||
appointment_date DATE,
|
||||
time_slot VARCHAR(20), -- 添加这个缺失的列
|
||||
status VARCHAR(20) DEFAULT 'PENDING',
|
||||
remark TEXT,
|
||||
cancel_time TIMESTAMP NULL,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建visit表
|
||||
CREATE TABLE IF NOT EXISTS visit (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
appointment_id BIGINT,
|
||||
customer_id BIGINT NOT NULL,
|
||||
pet_id BIGINT NOT NULL,
|
||||
doctor_id BIGINT NOT NULL,
|
||||
symptoms TEXT,
|
||||
diagnosis TEXT,
|
||||
treatment_plan TEXT,
|
||||
status VARCHAR(20) DEFAULT 'PENDING',
|
||||
total_amount DECIMAL(10,2),
|
||||
payment_status VARCHAR(20) DEFAULT 'UNPAID',
|
||||
payment_method VARCHAR(20),
|
||||
payment_time TIMESTAMP NULL,
|
||||
start_time TIMESTAMP,
|
||||
end_time TIMESTAMP,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建prescription表
|
||||
CREATE TABLE IF NOT EXISTS prescription (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
visit_id BIGINT,
|
||||
doctor_id BIGINT,
|
||||
customer_id BIGINT,
|
||||
total_amount DECIMAL(10,2),
|
||||
status VARCHAR(20) DEFAULT 'DRAFT',
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建prescription_item表
|
||||
CREATE TABLE IF NOT EXISTS prescription_item (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
prescription_id BIGINT NOT NULL,
|
||||
drug_id BIGINT NOT NULL,
|
||||
quantity INT NOT NULL,
|
||||
dosage VARCHAR(100),
|
||||
frequency VARCHAR(50),
|
||||
duration VARCHAR(50),
|
||||
usage_instructions TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建order_info表
|
||||
CREATE TABLE IF NOT EXISTS order_info (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
visit_id BIGINT,
|
||||
customer_id BIGINT NOT NULL,
|
||||
amount DECIMAL(10,2),
|
||||
status VARCHAR(20) DEFAULT 'UNPAID',
|
||||
payment_method VARCHAR(20),
|
||||
payment_time TIMESTAMP NULL,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建drug表
|
||||
CREATE TABLE IF NOT EXISTS drug (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(100) NOT NULL,
|
||||
category VARCHAR(50),
|
||||
manufacturer VARCHAR(100),
|
||||
specification VARCHAR(100),
|
||||
unit_price DECIMAL(10,2),
|
||||
stock_quantity INT DEFAULT 0,
|
||||
unit VARCHAR(20),
|
||||
status INT DEFAULT 1,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建pet表
|
||||
CREATE TABLE IF NOT EXISTS pet (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
owner_id BIGINT NOT NULL,
|
||||
name VARCHAR(50) NOT NULL,
|
||||
species VARCHAR(50),
|
||||
breed VARCHAR(100),
|
||||
gender VARCHAR(10), -- 修改为VARCHAR以支持MALE/FEMALE
|
||||
birthday DATE, -- 添加birthday字段而不是age
|
||||
weight DOUBLE, -- 添加weight字段
|
||||
photo VARCHAR(255), -- 添加photo字段
|
||||
remark TEXT, -- 添加remark字段
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建doctor表
|
||||
CREATE TABLE IF NOT EXISTS doctor (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(50) NOT NULL,
|
||||
department VARCHAR(50),
|
||||
title VARCHAR(50),
|
||||
phone VARCHAR(20),
|
||||
email VARCHAR(100),
|
||||
avatar VARCHAR(255),
|
||||
status INT DEFAULT 1,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建user表
|
||||
CREATE TABLE IF NOT EXISTS `user` (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
username VARCHAR(50) NOT NULL UNIQUE,
|
||||
phone VARCHAR(20),
|
||||
email VARCHAR(100),
|
||||
password VARCHAR(255) NOT NULL,
|
||||
role VARCHAR(20) DEFAULT 'CUSTOMER',
|
||||
status INT DEFAULT 1,
|
||||
avatar VARCHAR(255),
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建medical_record表
|
||||
CREATE TABLE IF NOT EXISTS medical_record (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
visit_id BIGINT NOT NULL,
|
||||
record_type VARCHAR(50), -- CHECKUP体检, DIAGNOSIS诊断, TREATMENT治疗
|
||||
content TEXT,
|
||||
attachment_urls TEXT,
|
||||
doctor_id BIGINT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建message表
|
||||
CREATE TABLE IF NOT EXISTS message (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
sender_id BIGINT,
|
||||
receiver_id BIGINT NOT NULL,
|
||||
content TEXT NOT NULL,
|
||||
type VARCHAR(20) DEFAULT 'NOTICE', -- NOTICE通知, CHAT聊天
|
||||
status VARCHAR(20) DEFAULT 'UNREAD', -- UNREAD未读, READ已读
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建notice表
|
||||
CREATE TABLE IF NOT EXISTS notice (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(200) NOT NULL,
|
||||
content TEXT NOT NULL,
|
||||
publisher_id BIGINT NOT NULL,
|
||||
publish_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
status INT DEFAULT 1,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建report表
|
||||
CREATE TABLE IF NOT EXISTS report (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
report_type VARCHAR(50) NOT NULL, -- REVENUE收入, CUSTOMER客户, PET宠物, DRUG药品
|
||||
report_data JSON,
|
||||
period_start DATE,
|
||||
period_end DATE,
|
||||
generated_by BIGINT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建stock_in表
|
||||
CREATE TABLE IF NOT EXISTS stock_in (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
drug_id BIGINT NOT NULL,
|
||||
quantity INT NOT NULL,
|
||||
unit_price DECIMAL(10,2),
|
||||
supplier VARCHAR(100),
|
||||
operator_id BIGINT,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建stock_out表
|
||||
CREATE TABLE IF NOT EXISTS stock_out (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
drug_id BIGINT NOT NULL,
|
||||
quantity INT NOT NULL,
|
||||
unit_price DECIMAL(10,2),
|
||||
purpose VARCHAR(100), -- 用途:销售、损耗等
|
||||
operator_id BIGINT,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 检查并创建vaccine_record表
|
||||
CREATE TABLE IF NOT EXISTS vaccine_record (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
pet_id BIGINT NOT NULL,
|
||||
vaccine_name VARCHAR(100) NOT NULL,
|
||||
dose_number INT,
|
||||
injection_date DATE,
|
||||
next_appointment_date DATE,
|
||||
doctor_id BIGINT,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
230
backend/target/classes/schema.sql
Normal file
230
backend/target/classes/schema.sql
Normal file
@@ -0,0 +1,230 @@
|
||||
-- 用户表
|
||||
CREATE TABLE IF NOT EXISTS `user` (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
username VARCHAR(50) NOT NULL UNIQUE,
|
||||
phone VARCHAR(20),
|
||||
email VARCHAR(100),
|
||||
password VARCHAR(255) NOT NULL,
|
||||
role VARCHAR(20) DEFAULT 'CUSTOMER',
|
||||
status INT DEFAULT 1,
|
||||
avatar VARCHAR(255),
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 宠物表
|
||||
CREATE TABLE IF NOT EXISTS pet (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(50) NOT NULL,
|
||||
species VARCHAR(50),
|
||||
breed VARCHAR(100),
|
||||
gender CHAR(1),
|
||||
age INT,
|
||||
owner_id BIGINT NOT NULL,
|
||||
health_status VARCHAR(100),
|
||||
vaccination_status VARCHAR(100),
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 医生表
|
||||
CREATE TABLE IF NOT EXISTS doctor (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(50) NOT NULL,
|
||||
department VARCHAR(50),
|
||||
title VARCHAR(50),
|
||||
phone VARCHAR(20),
|
||||
email VARCHAR(100),
|
||||
avatar VARCHAR(255),
|
||||
status INT DEFAULT 1,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 就诊记录表
|
||||
CREATE TABLE IF NOT EXISTS visit (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
pet_id BIGINT NOT NULL,
|
||||
doctor_id BIGINT NOT NULL,
|
||||
customer_id BIGINT NOT NULL,
|
||||
symptoms TEXT,
|
||||
diagnosis TEXT,
|
||||
treatment_plan TEXT,
|
||||
visit_date DATE,
|
||||
status VARCHAR(20) DEFAULT 'PENDING',
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 处方表
|
||||
CREATE TABLE IF NOT EXISTS prescription (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
visit_id BIGINT NOT NULL,
|
||||
doctor_id BIGINT NOT NULL,
|
||||
customer_id BIGINT NOT NULL,
|
||||
total_amount DECIMAL(10,2),
|
||||
status VARCHAR(20) DEFAULT 'ACTIVE',
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 处方明细表
|
||||
CREATE TABLE IF NOT EXISTS prescription_item (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
prescription_id BIGINT NOT NULL,
|
||||
drug_id BIGINT NOT NULL,
|
||||
quantity INT NOT NULL,
|
||||
dosage VARCHAR(100),
|
||||
frequency VARCHAR(50),
|
||||
duration VARCHAR(50),
|
||||
usage_instructions TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 药品表
|
||||
CREATE TABLE IF NOT EXISTS drug (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
name VARCHAR(100) NOT NULL,
|
||||
category VARCHAR(50),
|
||||
manufacturer VARCHAR(100),
|
||||
specification VARCHAR(100),
|
||||
unit_price DECIMAL(10,2),
|
||||
stock_quantity INT DEFAULT 0,
|
||||
unit VARCHAR(20),
|
||||
status INT DEFAULT 1,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 订单表
|
||||
CREATE TABLE IF NOT EXISTS order_info (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
visit_id BIGINT,
|
||||
customer_id BIGINT NOT NULL,
|
||||
amount DECIMAL(10,2),
|
||||
status VARCHAR(20) DEFAULT 'UNPAID',
|
||||
payment_method VARCHAR(20),
|
||||
payment_time TIMESTAMP NULL,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 预约表
|
||||
CREATE TABLE IF NOT EXISTS appointment (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
pet_id BIGINT NOT NULL,
|
||||
doctor_id BIGINT NOT NULL,
|
||||
customer_id BIGINT NOT NULL,
|
||||
appointment_date DATE NOT NULL,
|
||||
appointment_time TIME NOT NULL,
|
||||
reason TEXT,
|
||||
status VARCHAR(20) DEFAULT 'PENDING',
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 疫苗接种记录表
|
||||
CREATE TABLE IF NOT EXISTS vaccine_record (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
pet_id BIGINT NOT NULL,
|
||||
vaccine_name VARCHAR(100) NOT NULL,
|
||||
dose_number INT,
|
||||
injection_date DATE,
|
||||
next_appointment_date DATE,
|
||||
doctor_id BIGINT,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 库存入库表
|
||||
CREATE TABLE IF NOT EXISTS stock_in (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
drug_id BIGINT NOT NULL,
|
||||
quantity INT NOT NULL,
|
||||
unit_price DECIMAL(10,2),
|
||||
supplier VARCHAR(100),
|
||||
operator_id BIGINT,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 库存出库表
|
||||
CREATE TABLE IF NOT EXISTS stock_out (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
drug_id BIGINT NOT NULL,
|
||||
quantity INT NOT NULL,
|
||||
unit_price DECIMAL(10,2),
|
||||
purpose VARCHAR(100), -- 用途:销售、损耗等
|
||||
operator_id BIGINT,
|
||||
remark TEXT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 消息表
|
||||
CREATE TABLE IF NOT EXISTS message (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
sender_id BIGINT,
|
||||
receiver_id BIGINT NOT NULL,
|
||||
content TEXT NOT NULL,
|
||||
type VARCHAR(20) DEFAULT 'NOTICE', -- NOTICE通知, CHAT聊天
|
||||
status VARCHAR(20) DEFAULT 'UNREAD', -- UNREAD未读, READ已读
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 公告表
|
||||
CREATE TABLE IF NOT EXISTS notice (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
title VARCHAR(200) NOT NULL,
|
||||
content TEXT NOT NULL,
|
||||
publisher_id BIGINT NOT NULL,
|
||||
publish_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
status INT DEFAULT 1,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 医疗记录表
|
||||
CREATE TABLE IF NOT EXISTS medical_record (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
visit_id BIGINT NOT NULL,
|
||||
record_type VARCHAR(50), -- CHECKUP体检, DIAGNOSIS诊断, TREATMENT治疗
|
||||
content TEXT,
|
||||
attachment_urls TEXT,
|
||||
doctor_id BIGINT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
|
||||
-- 报表统计表
|
||||
CREATE TABLE IF NOT EXISTS report (
|
||||
id BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
report_type VARCHAR(50) NOT NULL, -- REVENUE收入, CUSTOMER客户, PET宠物, DRUG药品
|
||||
report_data JSON,
|
||||
period_start DATE,
|
||||
period_end DATE,
|
||||
generated_by BIGINT,
|
||||
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
deleted INT DEFAULT 0
|
||||
);
|
||||
@@ -0,0 +1,90 @@
|
||||
com/gpf/pethospital/controller/MessageController.class
|
||||
com/gpf/pethospital/controller/PetController.class
|
||||
com/gpf/pethospital/mapper/UserMapper.class
|
||||
com/gpf/pethospital/entity/Order.class
|
||||
com/gpf/pethospital/controller/NoticeController.class
|
||||
com/gpf/pethospital/mapper/StockInMapper.class
|
||||
com/gpf/pethospital/service/PrescriptionItemService.class
|
||||
com/gpf/pethospital/service/PetService.class
|
||||
com/gpf/pethospital/entity/Drug.class
|
||||
com/gpf/pethospital/util/JwtUtil.class
|
||||
com/gpf/pethospital/dto/LoginRequest.class
|
||||
com/gpf/pethospital/controller/OrderController.class
|
||||
com/gpf/pethospital/mapper/NoticeMapper.class
|
||||
com/gpf/pethospital/controller/VaccineRecordController.class
|
||||
com/gpf/pethospital/mapper/MedicalRecordMapper.class
|
||||
com/gpf/pethospital/config/WebConfig.class
|
||||
com/gpf/pethospital/service/MedicalRecordService.class
|
||||
com/gpf/pethospital/entity/Notice.class
|
||||
com/gpf/pethospital/controller/StatsController.class
|
||||
com/gpf/pethospital/entity/Prescription.class
|
||||
com/gpf/pethospital/mapper/PrescriptionItemMapper.class
|
||||
com/gpf/pethospital/entity/Appointment.class
|
||||
com/gpf/pethospital/security/AuthUser.class
|
||||
com/gpf/pethospital/util/SecurityUtils.class
|
||||
com/gpf/pethospital/entity/VaccineRecord.class
|
||||
com/gpf/pethospital/service/impl/StockInServiceImpl.class
|
||||
com/gpf/pethospital/service/OrderService.class
|
||||
com/gpf/pethospital/config/SecurityConfig.class
|
||||
com/gpf/pethospital/mapper/VisitMapper.class
|
||||
com/gpf/pethospital/config/MybatisPlusConfig$1.class
|
||||
com/gpf/pethospital/mapper/MessageMapper.class
|
||||
com/gpf/pethospital/service/impl/PetServiceImpl.class
|
||||
com/gpf/pethospital/dto/RegisterRequest.class
|
||||
com/gpf/pethospital/entity/StockIn.class
|
||||
com/gpf/pethospital/service/VaccineRecordService.class
|
||||
com/gpf/pethospital/entity/MedicalRecord.class
|
||||
com/gpf/pethospital/service/ReportService.class
|
||||
com/gpf/pethospital/controller/StockInController.class
|
||||
com/gpf/pethospital/service/impl/OrderServiceImpl.class
|
||||
com/gpf/pethospital/service/impl/StockOutServiceImpl.class
|
||||
com/gpf/pethospital/entity/Report.class
|
||||
com/gpf/pethospital/service/impl/MessageServiceImpl.class
|
||||
com/gpf/pethospital/service/MessageService.class
|
||||
com/gpf/pethospital/controller/DrugController.class
|
||||
com/gpf/pethospital/entity/Visit.class
|
||||
com/gpf/pethospital/mapper/PetMapper.class
|
||||
com/gpf/pethospital/controller/StockOutController.class
|
||||
com/gpf/pethospital/service/impl/VisitServiceImpl.class
|
||||
com/gpf/pethospital/config/MybatisPlusConfig.class
|
||||
com/gpf/pethospital/PetHospitalApplication.class
|
||||
com/gpf/pethospital/controller/ReportController.class
|
||||
com/gpf/pethospital/mapper/VaccineRecordMapper.class
|
||||
com/gpf/pethospital/common/ApiResponse.class
|
||||
com/gpf/pethospital/controller/MedicalRecordController.class
|
||||
com/gpf/pethospital/controller/PrescriptionItemController.class
|
||||
com/gpf/pethospital/security/JwtAuthenticationFilter.class
|
||||
com/gpf/pethospital/service/impl/ReportServiceImpl.class
|
||||
com/gpf/pethospital/service/impl/AppointmentServiceImpl.class
|
||||
com/gpf/pethospital/controller/AppointmentController.class
|
||||
com/gpf/pethospital/service/UserService.class
|
||||
com/gpf/pethospital/entity/Message.class
|
||||
com/gpf/pethospital/mapper/AppointmentMapper.class
|
||||
com/gpf/pethospital/service/impl/PrescriptionServiceImpl.class
|
||||
com/gpf/pethospital/mapper/DrugMapper.class
|
||||
com/gpf/pethospital/controller/AuthController.class
|
||||
com/gpf/pethospital/service/NoticeService.class
|
||||
com/gpf/pethospital/service/DrugService.class
|
||||
com/gpf/pethospital/service/impl/UserServiceImpl.class
|
||||
com/gpf/pethospital/service/StockOutService.class
|
||||
com/gpf/pethospital/service/impl/PrescriptionItemServiceImpl.class
|
||||
com/gpf/pethospital/entity/User.class
|
||||
com/gpf/pethospital/mapper/StockOutMapper.class
|
||||
com/gpf/pethospital/dto/ReplyRequest.class
|
||||
com/gpf/pethospital/entity/Pet.class
|
||||
com/gpf/pethospital/service/impl/NoticeServiceImpl.class
|
||||
com/gpf/pethospital/entity/PrescriptionItem.class
|
||||
com/gpf/pethospital/entity/StockOut.class
|
||||
com/gpf/pethospital/service/impl/DrugServiceImpl.class
|
||||
com/gpf/pethospital/service/StockInService.class
|
||||
com/gpf/pethospital/service/AppointmentService.class
|
||||
com/gpf/pethospital/mapper/PrescriptionMapper.class
|
||||
com/gpf/pethospital/mapper/ReportMapper.class
|
||||
com/gpf/pethospital/service/PrescriptionService.class
|
||||
com/gpf/pethospital/mapper/OrderMapper.class
|
||||
com/gpf/pethospital/controller/VisitController.class
|
||||
com/gpf/pethospital/service/impl/MedicalRecordServiceImpl.class
|
||||
com/gpf/pethospital/service/impl/VaccineRecordServiceImpl.class
|
||||
com/gpf/pethospital/service/VisitService.class
|
||||
com/gpf/pethospital/controller/PrescriptionController.class
|
||||
com/gpf/pethospital/controller/UserController.class
|
||||
@@ -0,0 +1,89 @@
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/common/ApiResponse.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/PetService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/AppointmentServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/PrescriptionItemController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/VaccineRecordController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/PrescriptionServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/ReportController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/MessageMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/VisitMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/AuthController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Visit.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/StockOutMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/PrescriptionItemServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/VisitController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/ReportServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/MessageService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Drug.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/ReportMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/MedicalRecordController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/NoticeMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/VaccineRecord.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/MessageServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/PrescriptionItemMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/NoticeService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/StockOutService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/ReportService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/MessageController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/StockInController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/DrugService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/PrescriptionService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/dto/LoginRequest.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/UserService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/DrugServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/PetMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Pet.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/PetServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/config/WebConfig.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/DrugController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/UserController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Message.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/OrderController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/UserMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/StockIn.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/StockOutServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Order.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/MedicalRecordService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/MedicalRecord.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/PrescriptionItemService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/PrescriptionController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/PetHospitalApplication.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/config/MybatisPlusConfig.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Prescription.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/StockInMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/security/JwtAuthenticationFilter.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/UserServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Appointment.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/VaccineRecordServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/OrderMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/DrugMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/AppointmentService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/VisitService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/NoticeController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/NoticeServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/StockInService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/User.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Notice.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/AppointmentController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/util/SecurityUtils.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/PrescriptionMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/config/SecurityConfig.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/StockOut.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/util/JwtUtil.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/MedicalRecordMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/VaccineRecordMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/security/AuthUser.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/dto/RegisterRequest.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/PrescriptionItem.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/StockOutController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/OrderService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/mapper/AppointmentMapper.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/StockInServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/VaccineRecordService.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/OrderServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/dto/ReplyRequest.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/PetController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/VisitServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/controller/StatsController.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/service/impl/MedicalRecordServiceImpl.java
|
||||
/mnt/d/bs/gpf_pet_hospital/backend/src/main/java/com/gpf/pethospital/entity/Report.java
|
||||
Reference in New Issue
Block a user