| | |
| | | <!--文件记录查询--> |
| | | |
| | | <select id="pageQuery" resultType="org.springblade.mdm.machinefile.vo.FileSendRecordVO"> |
| | | select f.id,f.name,f.machine_code,f.file_size,f.create_time,f.update_time,u.name create_user_name |
| | | select f.id,f.name,f.machine_code,f.file_size,f.oss_name,f.create_time,f.update_time,u.name create_user_name |
| | | from mdm_file_send_record f left join blade_user u on f.create_user=u.id |
| | | <where> |
| | | f.is_deleted=0 |
| | |
| | | and f.machine_code= #{query.machineCode,jdbcType=VARCHAR} |
| | | </if> |
| | | <if test="query.createTimeBegin!=null"> |
| | | and h.create_time >=#{query.createTimeBegin} |
| | | and f.create_time >=#{query.createTimeBegin} |
| | | </if> |
| | | <if test="query.createTimeEnd!=null"> |
| | | and h.create_time <=#{query.createTimeEnd} |
| | | and f.create_time <=#{query.createTimeEnd} |
| | | </if> |
| | | <!-- |
| | | <if test="query.deptIds!=null and query.deptIds.size()>0"> |