diff --git a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml index 81c5c7d..c8a0d8e 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml @@ -158,7 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and tp.sex = #{sex} and tp.identifier like concat('%', #{identifier}, '%') - and td.del_flag = '0' and tp.del_flag = '0' and tr.del_flag = '0' and th.del_flag = '0' + and td.del_flag = '0' and tp.del_flag = '0' and tr.del_flag = '0' and DATE_FORMAT(tp.create_time,'%Y-%m') = #{createTime}