| | |
| | | <mapper namespace="com.kidgrow.usercenter.mapper.SysCompanyMapper"> |
| | | <!--定义查询列--> |
| | | <sql id="Column_List"> |
| | | * |
| | | DISTINCT * |
| | | </sql> |
| | | |
| | | <!--sql查询片段--> |
| | |
| | | and org_id = #{p.orgId} |
| | | </if> |
| | | <if test="p.companyName != null and p.companyName !=''"> |
| | | and company_name = #{p.companyName} |
| | | and company_name like '%${p.companyName}%' |
| | | </if> |
| | | <if test="p.companyArea != null and p.companyArea !=''"> |
| | | and company_area = #{p.companyArea} |
| | |
| | | <if test="p.updateTime != null and p.updateTime !=''"> |
| | | and update_time = #{p.updateTime} |
| | | </if> |
| | | <include refid="com.kidgrow.usercenter.mapper.SysRoleOrganizationMapper.Role_Organization"></include> |
| | | </where> |
| | | </sql> |
| | | |