| | |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.assetStatus != null and query.assetStatus!=''"> |
| | | and t1.asset_status like concat('%',#{query.assetStatus},'%') |
| | | </if> |
| | | and t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | |
| | | order by t1.create_time desc |
| | | |
| | |
| | | left join t_dept t4 on t4.id = t1.ownership_dept_id |
| | | where 1=1 |
| | | AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | and t1.asset_status = '闲置' |
| | | <if test="query.assetMainIds != null and query.assetMainIds.size()>0"> |
| | | AND t1.id IN |
| | | <foreach collection="query.assetMainIds" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="query.assetStatus != null and query.assetStatus!=''"> |
| | | and t1.asset_status like concat('%',#{query.assetStatus},'%') |
| | | </if> |
| | | |
| | | order by t1.create_time desc |
| | | </select> |
| | |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | |
| | | <if test="query.assetStatus != null and query.assetStatus!=''"> |
| | | and t1.asset_status like concat('%',#{query.assetStatus},'%') |
| | | </if> |
| | | and t1.asset_status = '闲置' |
| | | |
| | | order by t1.create_time desc |
| | | </select> |