| | |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | |
| | | <select id="selectLowerOrgIds" resultType="java.lang.Integer"> |
| | | call proc_lowerOrgIds_GetByOrgId(#{orgId,jdbcType=INTEGER}); |
| | | </select> |
| | | |
| | | <select id="getOrganizationList" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from organization |
| | | where is_delete=0 |
| | | <if test="organizationName != 'null'"> |
| | | and name like concat('%',#{organizationName},'%') |
| | | </if> |
| | | </select> |
| | | </mapper> |