新增科室预约工作时间维护页面

This commit is contained in:
py
2026-01-06 16:31:08 +08:00
parent b0850257c8
commit 3091fc7337
15 changed files with 2283 additions and 2 deletions

View File

@@ -0,0 +1,54 @@
package com.openhis.appointmentmanage.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
/**
* 科室预约工作时间Entity
*
* @date 2025-12-12
*/
@Data
@TableName(value = "dept_appointment_hours", autoResultMap = true)
@Accessors(chain = true)
public class DeptAppointmentHours {
@TableId(type = IdType.AUTO)
private Long id;
@TableField("institution")
private String institution;
@TableField("department")
private String department;
@TableField("morning_start")
private String morningStart;
@TableField("morning_end")
private String morningEnd;
@TableField("afternoon_start")
private String afternoonStart;
@TableField("afternoon_end")
private String afternoonEnd;
@TableField("quota")
private Integer quota;
@TableField("operator")
private String operator;
@TableField("created_time")
private LocalDateTime createdTime;
@TableField("updated_time")
private LocalDateTime updatedTime;
}

View File

@@ -0,0 +1,9 @@
package com.openhis.appointmentmanage.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.openhis.appointmentmanage.domain.DeptAppointmentHours;
import org.springframework.stereotype.Repository;
@Repository
public interface DeptAppointmentHoursMapper extends BaseMapper<DeptAppointmentHours> {
}

View File

@@ -0,0 +1,7 @@
package com.openhis.appointmentmanage.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.openhis.appointmentmanage.domain.DeptAppointmentHours;
public interface IDeptAppointmentHoursService extends IService<DeptAppointmentHours> {
}

View File

@@ -0,0 +1,12 @@
package com.openhis.appointmentmanage.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.openhis.appointmentmanage.domain.DeptAppointmentHours;
import com.openhis.appointmentmanage.mapper.DeptAppointmentHoursMapper;
import com.openhis.appointmentmanage.service.IDeptAppointmentHoursService;
import org.springframework.stereotype.Service;
@Service
public class DeptAppointmentHoursServiceImpl extends ServiceImpl<DeptAppointmentHoursMapper, DeptAppointmentHours> implements IDeptAppointmentHoursService {
}