From 7f37d7f9597614e8b80a99a7d13096c3157ed4eb Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Tue, 3 Feb 2026 16:48:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E8=A1=A8=E5=8D=95=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/StudyMaterialGyzjController.java | 64 ---------------------- .../controller/StudyMaterialMjyController.java | 64 ---------------------- .../hxhq/business/domain/StudyMaterialGyzj.java | 45 --------------- .../com/hxhq/business/domain/StudyMaterialMjy.java | 45 --------------- .../business/mapper/StudyMaterialGyzjMapper.java | 14 ----- .../business/mapper/StudyMaterialMjyMapper.java | 14 ----- .../service/IStudyMaterialGyzjService.java | 23 -------- .../business/service/IStudyMaterialMjyService.java | 23 -------- .../service/impl/StudyMaterialGyzjServiceImpl.java | 35 ------------ .../service/impl/StudyMaterialMjyServiceImpl.java | 35 ------------ .../mapper/business/StudyMaterialGyzjMapper.xml | 6 -- .../mapper/business/StudyMaterialMjyMapper.xml | 6 -- 12 files changed, 374 deletions(-) delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialGyzjController.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialMjyController.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialGyzj.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialMjy.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialGyzjMapper.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialMjyMapper.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialGyzjService.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialMjyService.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialGyzjServiceImpl.java delete mode 100644 hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialMjyServiceImpl.java delete mode 100644 hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialGyzjMapper.xml delete mode 100644 hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialMjyMapper.xml diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialGyzjController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialGyzjController.java deleted file mode 100644 index 2e3a5e6..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialGyzjController.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.hxhq.business.controller; - -import java.util.Arrays; -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; -import com.hxhq.business.domain.StudyMaterialGyzj; -import com.hxhq.business.service.IStudyMaterialGyzjService; -import com.hxhq.common.core.web.controller.BaseController; -import com.hxhq.common.core.web.domain.AjaxResult; -import com.hxhq.common.core.web.page.TableDataInfo; - - -/** - * 试验-物资列表-给药制剂Controller - * - * @author hxhq - * @date 2026-01-05 - */ -@RestController -@RequestMapping("/business/studyMaterialGyzj") -public class StudyMaterialGyzjController extends BaseController -{ - @Autowired - private IStudyMaterialGyzjService studyMaterialGyzjService; - - /** - * 查询试验-物资列表-给药制剂列表 - */ - @GetMapping("/list") - public TableDataInfo list(StudyMaterialGyzj studyMaterialGyzj) - { - startPage(); - List list = studyMaterialGyzjService.queryList(studyMaterialGyzj); - return getDataTable(list); - } - - /** - * 获取试验-物资列表-给药制剂详细信息 - */ - @GetMapping(value = "/info") - public AjaxResult getInfo(Long id) - { - return AjaxResult.success(studyMaterialGyzjService.getById(id)); - } - - /** - * 新增试验-物资列表-给药制剂信息 - */ - @PostMapping("/save") - public AjaxResult save(@RequestBody StudyMaterialGyzj studyMaterialGyzj) - { - return toAjax(studyMaterialGyzjService.saveOrUpdate(studyMaterialGyzj)); - } - - /** - * 删除试验-物资列表-给药制剂信息 - */ - @PostMapping("/delete") - public AjaxResult delete(@RequestBody Long[] ids) - { - return toAjax(studyMaterialGyzjService.removeByIds(Arrays.asList(ids))); - } -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialMjyController.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialMjyController.java deleted file mode 100644 index 5c9e986..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/controller/StudyMaterialMjyController.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.hxhq.business.controller; - -import java.util.Arrays; -import java.util.List; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; -import com.hxhq.business.domain.StudyMaterialMjy; -import com.hxhq.business.service.IStudyMaterialMjyService; -import com.hxhq.common.core.web.controller.BaseController; -import com.hxhq.common.core.web.domain.AjaxResult; -import com.hxhq.common.core.web.page.TableDataInfo; - - -/** - * 试验-物资列表-麻精药Controller - * - * @author hxhq - * @date 2026-01-05 - */ -@RestController -@RequestMapping("/business/studyMaterialMjy") -public class StudyMaterialMjyController extends BaseController -{ - @Autowired - private IStudyMaterialMjyService studyMaterialMjyService; - - /** - * 查询试验-物资列表-麻精药列表 - */ - @GetMapping("/list") - public TableDataInfo list(StudyMaterialMjy studyMaterialMjy) - { - startPage(); - List list = studyMaterialMjyService.queryList(studyMaterialMjy); - return getDataTable(list); - } - - /** - * 获取试验-物资列表-麻精药详细信息 - */ - @GetMapping(value = "/info") - public AjaxResult getInfo(Long id) - { - return AjaxResult.success(studyMaterialMjyService.getById(id)); - } - - /** - * 新增试验-物资列表-麻精药信息 - */ - @PostMapping("/save") - public AjaxResult save(@RequestBody StudyMaterialMjy studyMaterialMjy) - { - return toAjax(studyMaterialMjyService.saveOrUpdate(studyMaterialMjy)); - } - - /** - * 删除试验-物资列表-麻精药信息 - */ - @PostMapping("/delete") - public AjaxResult delete(@RequestBody Long[] ids) - { - return toAjax(studyMaterialMjyService.removeByIds(Arrays.asList(ids))); - } -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialGyzj.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialGyzj.java deleted file mode 100644 index 346f494..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialGyzj.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.hxhq.business.domain; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.hxhq.common.core.domain.MpBaseEntity; - - -/** - * 试验-物资列表-给药制剂对象 t_study_material_gyzj - * - * @author hxhq - * @date 2026-01-05 - */ -@TableName("t_study_material_gyzj") -public class StudyMaterialGyzj extends MpBaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 所属试验id */ - private Long studyId; - - /** 给药制剂id */ - private Long gyzjId; - - - public void setStudyId(Long studyId) - { - this.studyId = studyId; - } - - public Long getStudyId() - { - return studyId; - } - - public void setGyzjId(Long gyzjId) - { - this.gyzjId = gyzjId; - } - - public Long getGyzjId() - { - return gyzjId; - } - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialMjy.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialMjy.java deleted file mode 100644 index 9ca5bb8..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/StudyMaterialMjy.java +++ /dev/null @@ -1,45 +0,0 @@ -package com.hxhq.business.domain; - -import com.baomidou.mybatisplus.annotation.TableName; -import com.hxhq.common.core.domain.MpBaseEntity; - - -/** - * 试验-物资列表-麻精药对象 t_study_material_mjy - * - * @author hxhq - * @date 2026-01-05 - */ -@TableName("t_study_material_mjy") -public class StudyMaterialMjy extends MpBaseEntity -{ - private static final long serialVersionUID = 1L; - - /** 所属试验id */ - private Long studyId; - - /** 麻精药id */ - private Long mjyId; - - - public void setStudyId(Long studyId) - { - this.studyId = studyId; - } - - public Long getStudyId() - { - return studyId; - } - - public void setMjyId(Long mjyId) - { - this.mjyId = mjyId; - } - - public Long getMjyId() - { - return mjyId; - } - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialGyzjMapper.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialGyzjMapper.java deleted file mode 100644 index e64bc43..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialGyzjMapper.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.hxhq.business.mapper; - -import com.hxhq.business.domain.StudyMaterialGyzj; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -/** - * 试验-物资列表-给药制剂Mapper接口 - * - * @author hxhq - * @date 2026-01-05 - */ -public interface StudyMaterialGyzjMapper extends BaseMapper -{ - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialMjyMapper.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialMjyMapper.java deleted file mode 100644 index b264b06..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/StudyMaterialMjyMapper.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.hxhq.business.mapper; - -import com.hxhq.business.domain.StudyMaterialMjy; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -/** - * 试验-物资列表-麻精药Mapper接口 - * - * @author hxhq - * @date 2026-01-05 - */ -public interface StudyMaterialMjyMapper extends BaseMapper -{ - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialGyzjService.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialGyzjService.java deleted file mode 100644 index 903c36d..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialGyzjService.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.hxhq.business.service; - -import java.util.List; -import com.hxhq.business.domain.StudyMaterialGyzj; -import com.baomidou.mybatisplus.extension.service.IService; - -/** - * 试验-物资列表-给药制剂Service接口 - * - * @author hxhq - * @date 2026-01-05 - */ -public interface IStudyMaterialGyzjService extends IService -{ - /** - * 查询试验-物资列表-给药制剂列表 - * - * @param studyMaterialGyzj 试验-物资列表-给药制剂 - * @return 试验-物资列表-给药制剂集合 - */ - public List queryList(StudyMaterialGyzj studyMaterialGyzj); - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialMjyService.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialMjyService.java deleted file mode 100644 index 9fc8687..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IStudyMaterialMjyService.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.hxhq.business.service; - -import java.util.List; -import com.hxhq.business.domain.StudyMaterialMjy; -import com.baomidou.mybatisplus.extension.service.IService; - -/** - * 试验-物资列表-麻精药Service接口 - * - * @author hxhq - * @date 2026-01-05 - */ -public interface IStudyMaterialMjyService extends IService -{ - /** - * 查询试验-物资列表-麻精药列表 - * - * @param studyMaterialMjy 试验-物资列表-麻精药 - * @return 试验-物资列表-麻精药集合 - */ - public List queryList(StudyMaterialMjy studyMaterialMjy); - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialGyzjServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialGyzjServiceImpl.java deleted file mode 100644 index 1721798..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialGyzjServiceImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.hxhq.business.service.impl; - -import java.util.List; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.toolkit.Wrappers; - import com.hxhq.common.core.utils.DateUtils; -import org.springframework.stereotype.Service; -import com.hxhq.business.mapper.StudyMaterialGyzjMapper; -import com.hxhq.business.domain.StudyMaterialGyzj; -import com.hxhq.business.service.IStudyMaterialGyzjService; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; - -/** - * 试验-物资列表-给药制剂Service业务层处理 - * - * @author hxhq - * @date 2026-01-05 - */ -@Service -public class StudyMaterialGyzjServiceImpl extends ServiceImpl implements IStudyMaterialGyzjService -{ - /** - * 查询试验-物资列表-给药制剂列表 - * - * @param studyMaterialGyzj 试验-物资列表-给药制剂 - * @return 试验-物资列表-给药制剂 - */ - @Override - public List queryList(StudyMaterialGyzj studyMaterialGyzj) - { - QueryWrapper queryWrapper = Wrappers.query(); - return this.list(queryWrapper); - } - -} diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialMjyServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialMjyServiceImpl.java deleted file mode 100644 index 2397955..0000000 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyMaterialMjyServiceImpl.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.hxhq.business.service.impl; - -import java.util.List; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.baomidou.mybatisplus.core.toolkit.Wrappers; - import com.hxhq.common.core.utils.DateUtils; -import org.springframework.stereotype.Service; -import com.hxhq.business.mapper.StudyMaterialMjyMapper; -import com.hxhq.business.domain.StudyMaterialMjy; -import com.hxhq.business.service.IStudyMaterialMjyService; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; - -/** - * 试验-物资列表-麻精药Service业务层处理 - * - * @author hxhq - * @date 2026-01-05 - */ -@Service -public class StudyMaterialMjyServiceImpl extends ServiceImpl implements IStudyMaterialMjyService -{ - /** - * 查询试验-物资列表-麻精药列表 - * - * @param studyMaterialMjy 试验-物资列表-麻精药 - * @return 试验-物资列表-麻精药 - */ - @Override - public List queryList(StudyMaterialMjy studyMaterialMjy) - { - QueryWrapper queryWrapper = Wrappers.query(); - return this.list(queryWrapper); - } - -} diff --git a/hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialGyzjMapper.xml b/hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialGyzjMapper.xml deleted file mode 100644 index a7cb8e3..0000000 --- a/hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialGyzjMapper.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialMjyMapper.xml b/hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialMjyMapper.xml deleted file mode 100644 index 95b0afc..0000000 --- a/hxhq-modules/hxhq-system/src/main/resources/mapper/business/StudyMaterialMjyMapper.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file