| | |
| | | |
| | | |
| | | <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} |