| | |
| | | <if test="recordPerson != null and recordPerson != ''"> and record_person = #{recordPerson}</if> |
| | | <if test="description != null and description != ''"> and description = #{description}</if> |
| | | <!-- 开始时间检索 --> |
| | | <if test="params.beginTime != null and params.beginTime != ''"> |
| | | <if test="params.beginCreateTime != null and params.beginCreateTime != ''"> |
| | | and date_format(create_time,'%y%m%d') >= date_format(#{params.beginCreateTime},'%y%m%d') |
| | | </if> |
| | | <!-- 结束时间检索 --> |
| | | <if test="params.endTime != null and params.endTime != ''"> |
| | | <if test="params.endCreateTime != null and params.endCreateTime != ''"> |
| | | and date_format(create_time,'%y%m%d') <= date_format(#{params.endCreateTime},'%y%m%d') |
| | | </if> |
| | | </where> |