批量修改
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run
This commit is contained in:
parent
eb3cdfab56
commit
39b3f5ba18
@ -27,7 +27,7 @@ import static cn.iocoder.yudao.framework.apilog.core.enums.OperateTypeEnum.*;
|
|||||||
|
|
||||||
@Tag(name = "管理后台 - tb_device")
|
@Tag(name = "管理后台 - tb_device")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/test/device")
|
@RequestMapping("/system/device")
|
||||||
@Validated
|
@Validated
|
||||||
public class DeviceController {
|
public class DeviceController {
|
||||||
|
|
||||||
@ -36,14 +36,14 @@ public class DeviceController {
|
|||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
@Operation(summary = "创建tb_device")
|
@Operation(summary = "创建tb_device")
|
||||||
@PreAuthorize("@ss.hasPermission('test:device:create')")
|
@PreAuthorize("@ss.hasPermission('system:device:create')")
|
||||||
public CommonResult<String> createDevice(@Valid @RequestBody DeviceSaveReqVO createReqVO) {
|
public CommonResult<String> createDevice(@Valid @RequestBody DeviceSaveReqVO createReqVO) {
|
||||||
return success(deviceService.createDevice(createReqVO));
|
return success(deviceService.createDevice(createReqVO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PutMapping("/update")
|
@PutMapping("/update")
|
||||||
@Operation(summary = "更新tb_device")
|
@Operation(summary = "更新tb_device")
|
||||||
@PreAuthorize("@ss.hasPermission('test:device:update')")
|
@PreAuthorize("@ss.hasPermission('system:device:update')")
|
||||||
public CommonResult<Boolean> updateDevice(@Valid @RequestBody DeviceSaveReqVO updateReqVO) {
|
public CommonResult<Boolean> updateDevice(@Valid @RequestBody DeviceSaveReqVO updateReqVO) {
|
||||||
deviceService.updateDevice(updateReqVO);
|
deviceService.updateDevice(updateReqVO);
|
||||||
return success(true);
|
return success(true);
|
||||||
@ -52,7 +52,7 @@ public class DeviceController {
|
|||||||
@DeleteMapping("/delete")
|
@DeleteMapping("/delete")
|
||||||
@Operation(summary = "删除tb_device")
|
@Operation(summary = "删除tb_device")
|
||||||
@Parameter(name = "id", description = "编号", required = true)
|
@Parameter(name = "id", description = "编号", required = true)
|
||||||
@PreAuthorize("@ss.hasPermission('test:device:delete')")
|
@PreAuthorize("@ss.hasPermission('system:device:delete')")
|
||||||
public CommonResult<Boolean> deleteDevice(@RequestParam("id") String id) {
|
public CommonResult<Boolean> deleteDevice(@RequestParam("id") String id) {
|
||||||
deviceService.deleteDevice(id);
|
deviceService.deleteDevice(id);
|
||||||
return success(true);
|
return success(true);
|
||||||
@ -61,7 +61,7 @@ public class DeviceController {
|
|||||||
@GetMapping("/get")
|
@GetMapping("/get")
|
||||||
@Operation(summary = "获得tb_device")
|
@Operation(summary = "获得tb_device")
|
||||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||||
@PreAuthorize("@ss.hasPermission('test:device:query')")
|
@PreAuthorize("@ss.hasPermission('system:device:query')")
|
||||||
public CommonResult<DeviceDO> getDevice(@RequestParam("id") String id) {
|
public CommonResult<DeviceDO> getDevice(@RequestParam("id") String id) {
|
||||||
DeviceDO device = deviceService.getDevice(id);
|
DeviceDO device = deviceService.getDevice(id);
|
||||||
return success(device);
|
return success(device);
|
||||||
@ -69,7 +69,7 @@ public class DeviceController {
|
|||||||
|
|
||||||
@GetMapping("/getlist")
|
@GetMapping("/getlist")
|
||||||
@Operation(summary = "获得tb_device")
|
@Operation(summary = "获得tb_device")
|
||||||
@PreAuthorize("@ss.hasPermission('test:device:query')")
|
@PreAuthorize("@ss.hasPermission('system:device:query')")
|
||||||
public CommonResult<List<DeviceDO>> getDevicelist() {
|
public CommonResult<List<DeviceDO>> getDevicelist() {
|
||||||
List<DeviceDO> devices = deviceService.getDevicelist();
|
List<DeviceDO> devices = deviceService.getDevicelist();
|
||||||
return success(devices);
|
return success(devices);
|
||||||
@ -77,7 +77,7 @@ public class DeviceController {
|
|||||||
|
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
@Operation(summary = "获得tb_device分页")
|
@Operation(summary = "获得tb_device分页")
|
||||||
@PreAuthorize("@ss.hasPermission('test:device:query')")
|
@PreAuthorize("@ss.hasPermission('system:device:query')")
|
||||||
public CommonResult<PageResult<DeviceDO>> getDevicePage(@Valid DevicePageReqVO pageReqVO) {
|
public CommonResult<PageResult<DeviceDO>> getDevicePage(@Valid DevicePageReqVO pageReqVO) {
|
||||||
PageResult<DeviceDO> pageResult = deviceService.getDevicePage(pageReqVO);
|
PageResult<DeviceDO> pageResult = deviceService.getDevicePage(pageReqVO);
|
||||||
return success(pageResult);
|
return success(pageResult);
|
||||||
|
@ -31,7 +31,7 @@ import static cn.iocoder.yudao.framework.security.core.util.SecurityFrameworkUti
|
|||||||
|
|
||||||
@Tag(name = "管理后台 - 检查部位")
|
@Tag(name = "管理后台 - 检查部位")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/test/exampart")
|
@RequestMapping("/system/exampart")
|
||||||
@Validated
|
@Validated
|
||||||
public class ExampartController {
|
public class ExampartController {
|
||||||
|
|
||||||
@ -42,14 +42,14 @@ public class ExampartController {
|
|||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
@Operation(summary = "创建检查部位")
|
@Operation(summary = "创建检查部位")
|
||||||
@PreAuthorize("@ss.hasPermission('test:exampart:create')")
|
@PreAuthorize("@ss.hasPermission('system:exampart:create')")
|
||||||
public CommonResult<String> createExampart(@Valid @RequestBody ExampartSaveReqVO createReqVO) {
|
public CommonResult<String> createExampart(@Valid @RequestBody ExampartSaveReqVO createReqVO) {
|
||||||
return success(exampartService.createExampart(createReqVO));
|
return success(exampartService.createExampart(createReqVO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PutMapping("/update")
|
@PutMapping("/update")
|
||||||
@Operation(summary = "更新检查部位")
|
@Operation(summary = "更新检查部位")
|
||||||
@PreAuthorize("@ss.hasPermission('test:exampart:update')")
|
@PreAuthorize("@ss.hasPermission('system:exampart:update')")
|
||||||
public CommonResult<Boolean> updateExampart(@Valid @RequestBody ExampartSaveReqVO updateReqVO) {
|
public CommonResult<Boolean> updateExampart(@Valid @RequestBody ExampartSaveReqVO updateReqVO) {
|
||||||
exampartService.updateExampart(updateReqVO);
|
exampartService.updateExampart(updateReqVO);
|
||||||
return success(true);
|
return success(true);
|
||||||
@ -58,7 +58,7 @@ public class ExampartController {
|
|||||||
@DeleteMapping("/delete")
|
@DeleteMapping("/delete")
|
||||||
@Operation(summary = "删除检查部位")
|
@Operation(summary = "删除检查部位")
|
||||||
@Parameter(name = "id", description = "编号", required = true)
|
@Parameter(name = "id", description = "编号", required = true)
|
||||||
@PreAuthorize("@ss.hasPermission('test:exampart:delete')")
|
@PreAuthorize("@ss.hasPermission('system:exampart:delete')")
|
||||||
public CommonResult<Boolean> deleteExampart(@RequestParam("id") String id) {
|
public CommonResult<Boolean> deleteExampart(@RequestParam("id") String id) {
|
||||||
exampartService.deleteExampart(id);
|
exampartService.deleteExampart(id);
|
||||||
return success(true);
|
return success(true);
|
||||||
@ -67,7 +67,7 @@ public class ExampartController {
|
|||||||
@GetMapping("/get")
|
@GetMapping("/get")
|
||||||
@Operation(summary = "获得检查部位")
|
@Operation(summary = "获得检查部位")
|
||||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||||
@PreAuthorize("@ss.hasPermission('test:exampart:query')")
|
@PreAuthorize("@ss.hasPermission('system:exampart:query')")
|
||||||
public CommonResult<ExampartDO> getExampart(@RequestParam("id") String id) {
|
public CommonResult<ExampartDO> getExampart(@RequestParam("id") String id) {
|
||||||
ExampartDO exampart = exampartService.getExampart(id);
|
ExampartDO exampart = exampartService.getExampart(id);
|
||||||
return success(exampart);
|
return success(exampart);
|
||||||
@ -75,7 +75,7 @@ public class ExampartController {
|
|||||||
|
|
||||||
@GetMapping("/getlist")
|
@GetMapping("/getlist")
|
||||||
@Operation(summary = "获得检查部位")
|
@Operation(summary = "获得检查部位")
|
||||||
@PreAuthorize("@ss.hasPermission('test:exampart:query')")
|
@PreAuthorize("@ss.hasPermission('system:exampart:query')")
|
||||||
public CommonResult<List<ExampartDO>> getExampartlist() {
|
public CommonResult<List<ExampartDO>> getExampartlist() {
|
||||||
//获取当前登陆用户
|
//获取当前登陆用户
|
||||||
AdminUserDO user = userService.getUser(getLoginUserId());
|
AdminUserDO user = userService.getUser(getLoginUserId());
|
||||||
@ -92,7 +92,7 @@ public class ExampartController {
|
|||||||
|
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
@Operation(summary = "获得检查部位分页")
|
@Operation(summary = "获得检查部位分页")
|
||||||
@PreAuthorize("@ss.hasPermission('test:exampart:query')")
|
@PreAuthorize("@ss.hasPermission('system:exampart:query')")
|
||||||
public CommonResult<PageResult<ExampartDO>> getExampartPage(@Valid ExampartPageReqVO pageReqVO) {
|
public CommonResult<PageResult<ExampartDO>> getExampartPage(@Valid ExampartPageReqVO pageReqVO) {
|
||||||
PageResult<ExampartDO> pageResult = exampartService.getExampartPage(pageReqVO);
|
PageResult<ExampartDO> pageResult = exampartService.getExampartPage(pageReqVO);
|
||||||
return success(pageResult);
|
return success(pageResult);
|
||||||
|
@ -83,7 +83,7 @@ public interface DicomworklistMapper extends BaseMapperX<DicomworklistDO> {
|
|||||||
@Select(" SELECT CONCAT(\n" +
|
@Select(" SELECT CONCAT(\n" +
|
||||||
"(SELECT CAST(COUNT(*) AS CHAR) FROM dicomstudies t1\n" +
|
"(SELECT CAST(COUNT(*) AS CHAR) FROM dicomstudies t1\n" +
|
||||||
" LEFT JOIN dicomseries t2 ON t1.StudyInsta=t2.StudyInsta\n" +
|
" LEFT JOIN dicomseries t2 ON t1.StudyInsta=t2.StudyInsta\n" +
|
||||||
" WHERE t1.PatientID=#{patientID} AND t1.StudyInsta=#{studyInsta})\n" +
|
" WHERE t1.PatientID=#{patientID} AND t1.StudyInsta=#{studyInsta} and t2.BodyPartEx is not null )\n" +
|
||||||
",'/',\n" +
|
",'/',\n" +
|
||||||
"(SELECT CAST(COUNT(*) AS CHAR) FROM dicomstudies t1\n" +
|
"(SELECT CAST(COUNT(*) AS CHAR) FROM dicomstudies t1\n" +
|
||||||
" LEFT JOIN dicomseries t2 ON t1.StudyInsta=t2.StudyInsta\n" +
|
" LEFT JOIN dicomseries t2 ON t1.StudyInsta=t2.StudyInsta\n" +
|
||||||
|
@ -35,7 +35,7 @@ public interface PatientexamlistMapper extends BaseMapperX<PatientexamlistDO> {
|
|||||||
.likeIfPresent(PatientexamlistDO::getReportstatus, reqVO.getReportstatus())
|
.likeIfPresent(PatientexamlistDO::getReportstatus, reqVO.getReportstatus())
|
||||||
.likeIfPresent(PatientexamlistDO::getPName, reqVO.getPname())
|
.likeIfPresent(PatientexamlistDO::getPName, reqVO.getPname())
|
||||||
.likeIfPresent(PatientexamlistDO::getGender, reqVO.getGender())
|
.likeIfPresent(PatientexamlistDO::getGender, reqVO.getGender())
|
||||||
.orderByAsc(PatientexamlistDO::getRegId));
|
.orderByDesc(PatientexamlistDO::getExamDate));
|
||||||
}
|
}
|
||||||
|
|
||||||
//ReportPrintPageReqVO分页
|
//ReportPrintPageReqVO分页
|
||||||
@ -50,7 +50,7 @@ public interface PatientexamlistMapper extends BaseMapperX<PatientexamlistDO> {
|
|||||||
.eqIfPresent(PatientexamlistDO::getDeviceType, reqVO.getDeviceType())
|
.eqIfPresent(PatientexamlistDO::getDeviceType, reqVO.getDeviceType())
|
||||||
.likeIfPresent(PatientexamlistDO::getPName, reqVO.getPname())
|
.likeIfPresent(PatientexamlistDO::getPName, reqVO.getPname())
|
||||||
.isNotNull(PatientexamlistDO::getDiagDate)
|
.isNotNull(PatientexamlistDO::getDiagDate)
|
||||||
.orderByAsc(PatientexamlistDO::getRegId));
|
.orderByDesc(PatientexamlistDO::getExamDate));
|
||||||
}
|
}
|
||||||
|
|
||||||
//PatientexamlistPageReqVO分页
|
//PatientexamlistPageReqVO分页
|
||||||
|
@ -28,7 +28,7 @@ import static cn.iocoder.yudao.framework.apilog.core.enums.OperateTypeEnum.*;
|
|||||||
|
|
||||||
@Tag(name = "管理后台 - 诊断模板")
|
@Tag(name = "管理后台 - 诊断模板")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/test/reporttemplate")
|
@RequestMapping("/system/reporttemplate")
|
||||||
@Validated
|
@Validated
|
||||||
public class ReporttemplateController {
|
public class ReporttemplateController {
|
||||||
|
|
||||||
@ -37,14 +37,14 @@ public class ReporttemplateController {
|
|||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
@Operation(summary = "创建诊断模板")
|
@Operation(summary = "创建诊断模板")
|
||||||
@PreAuthorize("@ss.hasPermission('test:reporttemplate:create')")
|
@PreAuthorize("@ss.hasPermission('system:reporttemplate:create')")
|
||||||
public CommonResult<String> createReporttemplate(@Valid @RequestBody ReporttemplateSaveReqVO createReqVO) {
|
public CommonResult<String> createReporttemplate(@Valid @RequestBody ReporttemplateSaveReqVO createReqVO) {
|
||||||
return success(reporttemplateService.createReporttemplate(createReqVO));
|
return success(reporttemplateService.createReporttemplate(createReqVO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PutMapping("/update")
|
@PutMapping("/update")
|
||||||
@Operation(summary = "更新诊断模板")
|
@Operation(summary = "更新诊断模板")
|
||||||
@PreAuthorize("@ss.hasPermission('test:reporttemplate:update')")
|
@PreAuthorize("@ss.hasPermission('system:reporttemplate:update')")
|
||||||
public CommonResult<Boolean> updateReporttemplate(@Valid @RequestBody ReporttemplateSaveReqVO updateReqVO) {
|
public CommonResult<Boolean> updateReporttemplate(@Valid @RequestBody ReporttemplateSaveReqVO updateReqVO) {
|
||||||
reporttemplateService.updateReporttemplate(updateReqVO);
|
reporttemplateService.updateReporttemplate(updateReqVO);
|
||||||
return success(true);
|
return success(true);
|
||||||
@ -53,7 +53,7 @@ public class ReporttemplateController {
|
|||||||
@DeleteMapping("/delete")
|
@DeleteMapping("/delete")
|
||||||
@Operation(summary = "删除诊断模板")
|
@Operation(summary = "删除诊断模板")
|
||||||
@Parameter(name = "id", description = "编号", required = true)
|
@Parameter(name = "id", description = "编号", required = true)
|
||||||
@PreAuthorize("@ss.hasPermission('test:reporttemplate:delete')")
|
@PreAuthorize("@ss.hasPermission('system:reporttemplate:delete')")
|
||||||
public CommonResult<Boolean> deleteReporttemplate(@RequestParam("id") String id) {
|
public CommonResult<Boolean> deleteReporttemplate(@RequestParam("id") String id) {
|
||||||
reporttemplateService.deleteReporttemplate(id);
|
reporttemplateService.deleteReporttemplate(id);
|
||||||
return success(true);
|
return success(true);
|
||||||
@ -62,7 +62,7 @@ public class ReporttemplateController {
|
|||||||
@GetMapping("/get")
|
@GetMapping("/get")
|
||||||
@Operation(summary = "获得诊断模板")
|
@Operation(summary = "获得诊断模板")
|
||||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||||
@PreAuthorize("@ss.hasPermission('test:reporttemplate:query')")
|
@PreAuthorize("@ss.hasPermission('system:reporttemplate:query')")
|
||||||
public CommonResult<ReporttemplateDO> getReporttemplate(@RequestParam("id") String id) {
|
public CommonResult<ReporttemplateDO> getReporttemplate(@RequestParam("id") String id) {
|
||||||
ReporttemplateDO reporttemplate = reporttemplateService.getReporttemplate(id);
|
ReporttemplateDO reporttemplate = reporttemplateService.getReporttemplate(id);
|
||||||
return success(reporttemplate);
|
return success(reporttemplate);
|
||||||
@ -70,7 +70,7 @@ public class ReporttemplateController {
|
|||||||
|
|
||||||
@GetMapping("/getlist")
|
@GetMapping("/getlist")
|
||||||
@Operation(summary = "获得诊断模板list")
|
@Operation(summary = "获得诊断模板list")
|
||||||
@PreAuthorize("@ss.hasPermission('test:reporttemplate:query')")
|
@PreAuthorize("@ss.hasPermission('system:reporttemplate:query')")
|
||||||
public CommonResult<List<ReporttemplateDO>> getReporttemplateList() {
|
public CommonResult<List<ReporttemplateDO>> getReporttemplateList() {
|
||||||
List<ReporttemplateDO> reporttemplates = reporttemplateService.getReporttemplatelist();
|
List<ReporttemplateDO> reporttemplates = reporttemplateService.getReporttemplatelist();
|
||||||
return success(reporttemplates);
|
return success(reporttemplates);
|
||||||
@ -78,7 +78,7 @@ public class ReporttemplateController {
|
|||||||
|
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
@Operation(summary = "获得诊断模板分页")
|
@Operation(summary = "获得诊断模板分页")
|
||||||
@PreAuthorize("@ss.hasPermission('test:reporttemplate:query')")
|
@PreAuthorize("@ss.hasPermission('system:reporttemplate:query')")
|
||||||
public CommonResult<PageResult<ReporttemplateDO>> getReporttemplatePage(@Valid ReporttemplatePageReqVO pageReqVO) {
|
public CommonResult<PageResult<ReporttemplateDO>> getReporttemplatePage(@Valid ReporttemplatePageReqVO pageReqVO) {
|
||||||
PageResult<ReporttemplateDO> pageResult = reporttemplateService.getReporttemplatePage(pageReqVO);
|
PageResult<ReporttemplateDO> pageResult = reporttemplateService.getReporttemplatePage(pageReqVO);
|
||||||
return success(pageResult);
|
return success(pageResult);
|
||||||
|
Loading…
Reference in New Issue
Block a user