医生常用语模板维护->后端接口开发、数据库建表。
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.alibaba.fastjson2</groupId>
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.openhis.template.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TableName("adm_doctor_phrase")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class DoctorPhrase {
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 短语编码 */
|
||||
private String phraseCode;
|
||||
|
||||
/** 模板名称 */
|
||||
private String phraseName;
|
||||
|
||||
/** 模板级别(1-个人 2-科室 3-全院) */
|
||||
private Integer phraseType;
|
||||
|
||||
/** 业务分类(主诉/现病史等) */
|
||||
private String phraseCategory;
|
||||
|
||||
/** 模板内容 */
|
||||
private String phraseContent;
|
||||
|
||||
/** 所属医生ID */
|
||||
private Integer staffId;
|
||||
|
||||
/** 所属科室编码 */
|
||||
private String deptCode;
|
||||
|
||||
/** 排序号 */
|
||||
private Integer sortNo;
|
||||
|
||||
/** 启用状态(0-停用 1-启用) */
|
||||
private Integer enableFlag;
|
||||
|
||||
/** 创建人ID */
|
||||
private Integer creatorId;
|
||||
|
||||
/** 审核人ID */
|
||||
private Integer auditorId;
|
||||
|
||||
/** 审核时间 */
|
||||
private LocalDateTime auditTime;
|
||||
|
||||
/** 创建时间 */
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/** 更新时间 */
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.openhis.template.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.template.domain.DoctorPhrase;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface DoctorPhraseMapper extends BaseMapper<DoctorPhrase> {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.openhis.template.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.template.domain.DoctorPhrase;
|
||||
|
||||
public interface IDoctorPhraseService extends IService<DoctorPhrase> {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.openhis.template.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.openhis.template.domain.DoctorPhrase;
|
||||
import com.openhis.template.mapper.DoctorPhraseMapper;
|
||||
import com.openhis.template.service.IDoctorPhraseService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
@Service
|
||||
public class DoctorPhraseServiceImpl extends ServiceImpl<DoctorPhraseMapper, DoctorPhrase> implements IDoctorPhraseService {
|
||||
}
|
||||
Reference in New Issue
Block a user