|
@@ -1,4 +1,4 @@
|
|
|
-package tr.cn.module.phototherapy.common.service.impl;
|
|
|
|
|
|
|
+package cn.tr.module.phototherapy.common.service.impl;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import cn.hutool.core.collection.CollectionUtil;
|
|
import cn.hutool.core.collection.CollectionUtil;
|
|
@@ -6,13 +6,13 @@ import cn.hutool.core.util.ObjectUtil;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import cn.tr.core.exception.ServiceException;
|
|
import cn.tr.core.exception.ServiceException;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
-import tr.cn.module.phototherapy.common.repository.BusPatientRepository;
|
|
|
|
|
-import tr.cn.module.phototherapy.common.po.BusPatientPO;
|
|
|
|
|
-import tr.cn.module.phototherapy.common.dto.BusPatientDTO;
|
|
|
|
|
-import tr.cn.module.phototherapy.common.dto.BusPatientQueryDTO;
|
|
|
|
|
|
|
+import cn.tr.module.phototherapy.common.repository.BusPatientRepository;
|
|
|
|
|
+import cn.tr.module.phototherapy.common.po.BusPatientPO;
|
|
|
|
|
+import cn.tr.module.phototherapy.common.dto.BusPatientDTO;
|
|
|
|
|
+import cn.tr.module.phototherapy.common.dto.BusPatientQueryDTO;
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
-import tr.cn.module.phototherapy.common.service.IBusPatientService;
|
|
|
|
|
-import tr.cn.module.phototherapy.common.mapper.BusPatientMapper;
|
|
|
|
|
|
|
+import cn.tr.module.phototherapy.common.service.IBusPatientService;
|
|
|
|
|
+import cn.tr.module.phototherapy.common.mapper.BusPatientMapper;
|
|
|
import jakarta.annotation.Resource;
|
|
import jakarta.annotation.Resource;
|
|
|
import cn.tr.core.exception.TRExcCode;
|
|
import cn.tr.core.exception.TRExcCode;
|
|
|
|
|
|
|
@@ -43,7 +43,6 @@ public class BusPatientServiceImpl implements IBusPatientService {
|
|
|
.eq(ObjectUtil.isNotNull(query.getGender()), BusPatientPO::getGender, query.getGender())
|
|
.eq(ObjectUtil.isNotNull(query.getGender()), BusPatientPO::getGender, query.getGender())
|
|
|
.eq(ObjectUtil.isNotNull(query.getTherapyId()), BusPatientPO::getTherapyId, query.getTherapyId())
|
|
.eq(ObjectUtil.isNotNull(query.getTherapyId()), BusPatientPO::getTherapyId, query.getTherapyId())
|
|
|
.eq(ObjectUtil.isNotNull(query.getIsDelete()), BusPatientPO::getIsDelete, query.getIsDelete())
|
|
.eq(ObjectUtil.isNotNull(query.getIsDelete()), BusPatientPO::getIsDelete, query.getIsDelete())
|
|
|
- .eq(ObjectUtil.isNotNull(query.getTenantId()), BusPatientPO::getTenantId, query.getTenantId())
|
|
|
|
|
.eq(ObjectUtil.isNotNull(query.getDeviceId()), BusPatientPO::getDeviceId, query.getDeviceId())
|
|
.eq(ObjectUtil.isNotNull(query.getDeviceId()), BusPatientPO::getDeviceId, query.getDeviceId())
|
|
|
.eq(ObjectUtil.isNotNull(query.getAge()), BusPatientPO::getAge, query.getAge())
|
|
.eq(ObjectUtil.isNotNull(query.getAge()), BusPatientPO::getAge, query.getAge())
|
|
|
.like(ObjectUtil.isNotNull(query.getPhone()), BusPatientPO::getPhone, query.getPhone())
|
|
.like(ObjectUtil.isNotNull(query.getPhone()), BusPatientPO::getPhone, query.getPhone())
|