| | |
| | | left join mdm_machine_file mf on f.machine_file_id=mf.id |
| | | left join mdm_machine m on mf.machine_code=m.code |
| | | <where> |
| | | f.status=1 and f.is_deleted=0 |
| | | |
| | | f.status=#{query.status} and f.is_deleted=0 |
| | | <if test="query.status!=null and query.status!=''"> |
| | | and f.status like #{query.status} |
| | | </if> |
| | | <if test="query.name!=null and query.name!=''"> |
| | | <bind name="fname" value="'%'+query.name+'%'"/> |
| | | and f.name like #{fname} |
| | | </if> |
| | | <if test="query.confirmTimeBegin!=null"> |
| | | and m.confirm_time$gt;=#{query.confirmTimeBegin} |
| | | </if> |