zxc 3 years ago
parent
commit
7cf0214500
  1. 1
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcEpidemicSpecialAttentionServiceImpl.java
  2. 5
      epmet-user/epmet-user-server/src/main/resources/mapper/IcEpidemicSpecialAttentionDao.xml

1
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcEpidemicSpecialAttentionServiceImpl.java

@ -162,6 +162,7 @@ public class IcEpidemicSpecialAttentionServiceImpl extends BaseServiceImpl<IcEpi
result.setTotal(list.size());
}
}else if (formDTO.getAttentionType().equals(NumConstant.TWO)){
formDTO.setIsHistory(NumConstant.ZERO_STR);
if (formDTO.getIsPage()){
PageInfo<VaccinationListResultDTO> pageInfo = PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize()).doSelectPageInfo(() -> baseDao.natList(formDTO));
result.setList(pageInfo.getList());

5
epmet-user/epmet-user-server/src/main/resources/mapper/IcEpidemicSpecialAttentionDao.xml

@ -108,7 +108,10 @@
<if test='null != isolatedState and "" != isolatedState'>
AND a.isolated_state = #{isolatedState}
</if>
<if test='null != isHistory and "" != isHistory'>
<if test='null != isHistory and "" != isHistory and isHistory == "0"'>
AND a.IS_ATTENTION = 1
</if>
<if test='null != isHistory and "" != isHistory and isHistory == "1"'>
AND a.is_history = 1
</if>
<if test='null != name and "" != name'>

Loading…
Cancel
Save