Browse Source

sql 错误修改

feature/dangjian
zhangyongzhangyong 6 years ago
parent
commit
a7fdc5fe76
  1. 2
      esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml

2
esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/resources/mapper/activity/ActInfoDao.xml

@ -245,7 +245,7 @@
</if>
<if test='actType != null and actType != "" and actType == "5"'>
<![CDATA[ AND DATE_FORMAT(actInfo.ACT_END_TIME,'%Y-%m-%d %H:%i:%s') < ]]> #{timestamp}
|| actInfo.ACT_STATUS = '0' and relation.USER_ID = #{userId}
or actInfo.ACT_STATUS = '0' and relation.USER_ID = #{userId}
</if>
<if test='actType != null and actType != "" and actType != "5"'>
AND relation.STATUS = #{actType}

Loading…
Cancel
Save