|
@@ -8,7 +8,7 @@ import com.lantone.qc.pub.util.StringUtil;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @Description:
|
|
|
|
|
|
+ * @Description: 特殊嗜好未描述
|
|
* @author: rengb
|
|
* @author: rengb
|
|
* @time: 2020/3/10 14:02
|
|
* @time: 2020/3/10 14:02
|
|
*/
|
|
*/
|
|
@@ -18,7 +18,9 @@ public class BEH0049 extends QCCatalogue {
|
|
@Override
|
|
@Override
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
public void start(InputInfo inputInfo, OutputInfo outputInfo) {
|
|
SpecialHobby specialHobby = inputInfo.getBeHospitalizedDoc().getPersonalLabel().getSpecialHobby();
|
|
SpecialHobby specialHobby = inputInfo.getBeHospitalizedDoc().getPersonalLabel().getSpecialHobby();
|
|
- if (specialHobby != null && StringUtil.isNotBlank(specialHobby.getName())) {
|
|
|
|
|
|
+ if (specialHobby == null
|
|
|
|
+ || StringUtil.isBlank(specialHobby.getName())
|
|
|
|
+ || (specialHobby.getNegative() != null && StringUtil.isNotBlank(specialHobby.getNegative().getName()))) {
|
|
status = "0";
|
|
status = "0";
|
|
}
|
|
}
|
|
}
|
|
}
|