新增科室ID字段及其查询条件
This commit is contained in:
parent
12025f2d4e
commit
d665dbcfdd
@ -57,5 +57,7 @@ public class InspectitemsPageReqVO extends PageParam {
|
|||||||
|
|
||||||
@Schema(description = "模块名称:体检单元", example = "张三")
|
@Schema(description = "模块名称:体检单元", example = "张三")
|
||||||
private String moduleName;
|
private String moduleName;
|
||||||
|
@Schema(description = "科室ID")
|
||||||
|
private String sectionID;
|
||||||
|
|
||||||
}
|
}
|
@ -72,4 +72,7 @@ public class InspectitemsRespVO {
|
|||||||
@ExcelProperty("模块名称:体检单元")
|
@ExcelProperty("模块名称:体检单元")
|
||||||
private String moduleName;
|
private String moduleName;
|
||||||
|
|
||||||
|
@Schema(description = "科室ID")
|
||||||
|
private String sectionID;
|
||||||
|
|
||||||
}
|
}
|
@ -54,5 +54,6 @@ public class InspectitemsSaveReqVO {
|
|||||||
|
|
||||||
@Schema(description = "模块名称:体检单元", example = "张三")
|
@Schema(description = "模块名称:体检单元", example = "张三")
|
||||||
private String moduleName;
|
private String moduleName;
|
||||||
|
@Schema(description = "科室ID")
|
||||||
|
private String sectionID;
|
||||||
}
|
}
|
@ -90,5 +90,10 @@ public class InspectitemsDO {
|
|||||||
*/
|
*/
|
||||||
@TableField("moduleName")
|
@TableField("moduleName")
|
||||||
private String moduleName;
|
private String moduleName;
|
||||||
|
/**
|
||||||
|
* 科室ID
|
||||||
|
*/
|
||||||
|
@TableField("sectionID")
|
||||||
|
private String sectionID;
|
||||||
|
|
||||||
}
|
}
|
@ -32,6 +32,7 @@ public interface InspectitemsMapper extends BaseMapperX<InspectitemsDO> {
|
|||||||
.eqIfPresent(InspectitemsDO::getLowValue, reqVO.getLowValue())
|
.eqIfPresent(InspectitemsDO::getLowValue, reqVO.getLowValue())
|
||||||
.eqIfPresent(InspectitemsDO::getModuleID, reqVO.getModuleID())
|
.eqIfPresent(InspectitemsDO::getModuleID, reqVO.getModuleID())
|
||||||
.likeIfPresent(InspectitemsDO::getModuleName, reqVO.getModuleName())
|
.likeIfPresent(InspectitemsDO::getModuleName, reqVO.getModuleName())
|
||||||
|
.eqIfPresent(InspectitemsDO::getSectionID, reqVO.getSectionID())
|
||||||
.orderByDesc(InspectitemsDO::getId));
|
.orderByDesc(InspectitemsDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user