Browse Source

党建积分列表调整

master
yinzuomei 3 years ago
parent
commit
9b6b7ce186
  1. 8
      epmet-module/epmet-point/epmet-point-server/src/main/resources/mapper/UserPointActionLogDao.xml

8
epmet-module/epmet-point/epmet-point-server/src/main/resources/mapper/UserPointActionLogDao.xml

@ -179,15 +179,23 @@
AND SOURCE_TYPE = #{type}
</if>
<if test='"1" == dateType'>
<if test="startDate != null and startDate != '' ">
AND DATE_FORMAT(CREATED_TIME,'%Y') = #{startDate}
</if>
</if>
<if test='"2" == dateType'>
<if test="startDate != null and startDate != '' ">
AND DATE_FORMAT(CREATED_TIME,'%Y%m') = #{startDate}
</if>
</if>
<if test='"3" == dateType'>
<if test="startDate != null and startDate != '' ">
AND DATE_FORMAT(CREATED_TIME,'%Y%m') &gt;= #{startDate}
</if>
<if test="endDate != null and endDate != '' ">
AND DATE_FORMAT(CREATED_TIME,'%Y%m') &lt;= #{endDate}
</if>
</if>
ORDER BY
CREATED_TIME DESC
</select>

Loading…
Cancel
Save