大屏获取试验室修复

This commit is contained in:
lhx
2025-11-12 16:48:01 +08:00
parent d88837942b
commit 61e8c8c434
3 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ import java.util.List;
*/ */
public interface LaboratoryMapper extends BaseMapper<Laboratory> { public interface LaboratoryMapper extends BaseMapper<Laboratory> {
List<Laboratory> getList(Long id, String name, int type, Long standardId); List<Laboratory> getList(Long id, String name, Integer type, Long standardId);
List<Integer> getCategoryIds(Long id); List<Integer> getCategoryIds(Long id);
} }

View File

@@ -19,7 +19,7 @@ public class LaboratoryDto{
/** /**
* 实验室类型 * 实验室类型
*/ */
private int type; private Integer type;
/** /**
* 行业 * 行业

View File

@@ -59,6 +59,7 @@ public class LaboratoryVo {
public static LaboratoryVo getLaboratoryVo(Laboratory laboratory){ public static LaboratoryVo getLaboratoryVo(Laboratory laboratory){
LaboratoryVo laboratoryVo = new LaboratoryVo(); LaboratoryVo laboratoryVo = new LaboratoryVo();
laboratoryVo.setId(laboratory.getId()); laboratoryVo.setId(laboratory.getId());
laboratoryVo.setName(laboratory.getName());
laboratoryVo.setCoordinateA(laboratory.getCoordinateA()); laboratoryVo.setCoordinateA(laboratory.getCoordinateA());
laboratoryVo.setCoordinateB(laboratory.getCoordinateB()); laboratoryVo.setCoordinateB(laboratory.getCoordinateB());
laboratoryVo.setOrgId(laboratory.getOrgId()); laboratoryVo.setOrgId(laboratory.getOrgId());