| | |
| | | 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> |
| | | |
| | |
| | | from sys_company |
| | | <include refid="where"/> |
| | | order by id desc |
| | | limit 1 |
| | | </select> |
| | | |
| | | <!--定义根据-SysCompany当作查询条件返回对象集合--> |