| | |
| | | <if test="dto.selfUnit != null and dto.selfUnit.size>0"> |
| | | and |
| | | <foreach collection="dto.selfUnit" item="item" index="index" open="(" separator="or" close=")"> |
| | | si.SELF_UNIT Like CONCAT(CONCAT('%', #{item}), '%') |
| | | si.CONSTRUCTION_UNIT Like CONCAT(CONCAT('%', #{item}), '%') |
| | | </foreach> |
| | | </if> |
| | | <if test="dto.userUnit != null and dto.userUnit.size>0"> |
| | |
| | | <if test="dto.selfUnit != null and dto.selfUnit.size>0"> |
| | | and |
| | | <foreach collection="dto.selfUnit" item="item" index="index" open="(" separator="or" close=")"> |
| | | info.SELF_UNIT Like CONCAT(CONCAT('%', #{item}), '%') |
| | | info.CONSTRUCTION_UNIT Like CONCAT(CONCAT('%', #{item}), '%') |
| | | </foreach> |
| | | </if> |
| | | <if test="dto.userUnit != null and dto.userUnit.size>0"> |
| | |
| | | <if test="dto.selfUnit != null and dto.selfUnit.size>0"> |
| | | and |
| | | <foreach collection="dto.selfUnit" item="item" index="index" open="(" separator="or" close=")"> |
| | | pro.SELF_UNIT Like CONCAT(CONCAT('%', #{item}), '%') |
| | | pro.CONSTRUCTION_UNIT Like CONCAT(CONCAT('%', #{item}), '%') |
| | | </foreach> |
| | | </if> |
| | | <if test="dto.userUnit != null and dto.userUnit.size>0"> |