| | |
| | | --> |
| | | <!--工控网首页文件查询--> |
| | | <select id="pageQuery" resultType="org.springblade.mdm.machinefile.entity.MachineFile"> |
| | | select f.id,f.name,f.machine_code,f.file_create_time, f.file_modify_time,f.md5,f.file_size,f.create_time,f.update_time |
| | | select f.id,f.name,f.machine_code,f.dir_type,f.file_create_time, f.file_modify_time,f.md5,f.oss_name,f.file_size,f.create_time,f.update_time |
| | | from mdm_machine_file f join mdm_machine m on f.machine_code=m.code and m.is_deleted=0 |
| | | <where> |
| | | f.is_deleted=0 and f.status <> 4 |
| | |
| | | select f.id,f.name,f.machine_code,f.file_create_time, f.file_modify_time,f.md5,f.file_size,f.exception_type,f.create_time,f.update_time |
| | | from mdm_machine_file f join mdm_machine m on f.machine_code=m.code and m.is_deleted=0 |
| | | <where> |
| | | f.dir_type='REC' and f.is_deleted=0 and f.exception_type is not null and f.exception_type <> 0 |
| | | f.status <> 4 and f.dir_type='REC' and f.is_deleted=0 and f.exception_type is not null and f.exception_type <> 0 |
| | | |
| | | <if test="query.name!=null and query.name!=''"> |
| | | and f.name like CONCAT('%', #{query.name,jdbcType=VARCHAR},'%') |