|
@@ -1,5 +1,12 @@
|
|
|
package com.diagbot.facade;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+import org.assertj.core.util.DateUtil;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.diagbot.dto.GetTopPatientInfoDTO;
|
|
|
import com.diagbot.dto.PatientInfoDTO;
|
|
@@ -10,10 +17,6 @@ import com.diagbot.service.impl.PatientInfoServiceImpl;
|
|
|
import com.diagbot.util.ListUtil;
|
|
|
import com.diagbot.vo.GetTopPatientInfoVO;
|
|
|
import com.diagbot.vo.PatientInfoVO;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* @Description: 患者业务逻辑
|
|
@@ -43,7 +46,10 @@ public class PatientInfoFacade extends PatientInfoServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public GetTopPatientInfoDTO getTopPatientInfo(@RequestBody GetTopPatientInfoVO getTopPatientInfoVO) {
|
|
|
- return baseMapper.getTopPatientInfo(getTopPatientInfoVO);
|
|
|
+ GetTopPatientInfoDTO getTopPatientInfoDTO = baseMapper.getTopPatientInfo(getTopPatientInfoVO);
|
|
|
+ getTopPatientInfoDTO.setSystemTime(DateUtil.now());
|
|
|
+ getTopPatientInfoDTO.setRecordId(getTopPatientInfoVO.getRecordId());
|
|
|
+ return getTopPatientInfoDTO;
|
|
|
}
|
|
|
|
|
|
/**
|