| | |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectBaseOrganizationVo"> |
| | |
| | | bankaccount, |
| | | pid, |
| | | guid, |
| | | orgid |
| | | orgid, |
| | | OrganizationID as campusid, |
| | | from base_organization |
| | | </sql> |
| | | |
| | | <select id="selectBaseOrganizationList" parameterType="com.smartor.domain.BaseOrganization" |
| | | resultMap="BaseOrganizationResult"> |
| | | <include refid="selectBaseOrganizationVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | <if test="OrganizationName != null and OrganizationName != ''"> |
| | | and OrganizationName like concat('%', #{OrganizationName}, '%') |
| | | </if> |
| | |
| | | <if test="orgid != null "> |
| | | and orgid = #{orgid} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectBaseOrganizationByID" parameterType="Long" |