|
@@ -13,6 +13,7 @@ import java.util.stream.Collectors;
|
|
|
import javax.servlet.ServletOutputStream;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
+import com.diagbot.util.IntegerUtil;
|
|
|
import org.apache.poi.hssf.usermodel.HSSFRow;
|
|
|
import org.apache.poi.hssf.usermodel.HSSFSheet;
|
|
|
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
|
@@ -263,7 +264,9 @@ public class InquiryInfoFacade extends InquiryInfoServiceImpl {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("hospitalId", hospitalInfoDTO.getId());
|
|
|
map.put("patientId", patientInfoDTO.getId());
|
|
|
- map.put("sign", getLastOtherVO.getSign());
|
|
|
+ if (!IntegerUtil.isNull(getLastOtherVO.getSign())){
|
|
|
+ map.put("sign", getLastOtherVO.getSign());
|
|
|
+ }
|
|
|
InquiryInfo inquiryInfo = baseMapper.getPatientLast(map);
|
|
|
|
|
|
if (inquiryInfo != null) {
|