forked from kidgrow-microservices-platform

克 刘
2020-06-12 8ca61f6d6b0c9ae6dae5e8f7ef0a06a838e7ca95
kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysRoleOrganizationMapper.xml
@@ -12,27 +12,27 @@
                    <choose>
                        <when test="inx.type == 1"></when>
                        <when test="inx == 1"></when>
                        <when test="inx.type==2">
                        <when test="inx==2">
                            AND
                            <foreach item="itemtoto" collection="itemto" separator="or" open="(" close=")" index="">
                                create_user_org_code like '${itemtoto.orgCode}%'
                            </foreach>
                        </when>
                        <when test="inx.type == 3">
                        <when test="inx == 3">
                            AND
                            <foreach item="itemtoto" collection="itemto" separator="or" open="(" close=")" index="">
                                create_user_org_code = #{itemtoto.orgCode}
                            </foreach>
                        </when>
                        <when test="inx.type == 4">
                        <when test="inx == 4">
                            AND
                            <foreach item="itemtoto" collection="itemto" separator="or" open="(" close=")" index="">
                                create_user_org_code like '${itemtoto.orgCode}%'
                            </foreach>
                        </when>
                        <when test="inx.type == 5">
                        <when test="inx == 5">
                            AND
                            <foreach item="itemtoto" collection="itemto" separator="or" open="(" close=")" index="">
                                create_user_id = #{itemtoto.orgCode}