修改管理员下架企业和岗位信息查询条件

This commit is contained in:
chenshaohua
2026-07-10 16:57:55 +08:00
parent c7714083df
commit 1027530803
3 changed files with 19 additions and 2 deletions

View File

@@ -333,6 +333,6 @@ public class CmsAppUserController extends BaseController
}
appUser.setLcUserid(SecurityUtils.getlcUserid());
appUserService.changeLcCompanyStatus(appUser);
return success("密码重置成功");
return success("操作成功!");
}
}

View File

@@ -74,4 +74,8 @@ public class AppUserJobComplaint extends BaseEntity {
private String jobTitle;
@TableField(exist = false)
private String name;
@TableField(exist = false)
private String jobStatus;
@TableField(exist = false)
private String companyStatus;
}

View File

@@ -25,6 +25,8 @@
<result column="company_name" property="companyName"/>
<result column="job_title" property="jobTitle"/>
<result column="name" property="name"/>
<result column="job_status" property="jobStatus"/>
<result column="company_status" property="companyStatus"/>
</resultMap>
<sql id="selectAppUserJobComplaintVo">
@@ -37,9 +39,11 @@
<sql id="selectAppUserInfoJobComplaintVo">
select t.id, t.user_id, t.job_id, t.complaint_type, t.complaint_content, t.evidence_url, t.contact_phone,
t.complaint_status, t.handle_user_id, t.handle_content, t.handle_time, t.del_flag,
t.create_by, t.create_time, t.update_by, t.update_time, t.remark,j.job_title,j.company_name,j.company_id,u.name
t.create_by, t.create_time, t.update_by, t.update_time, t.remark,j.job_title,j.company_name,
j.company_id,j.job_status,u.name,ca.company_status
from app_user_job_complaint t
LEFT JOIN job j ON t.job_id = j.job_id
LEFT JOIN company ca ON ca.company_id = j.company_id
LEFT JOIN app_user u ON t.user_id = u.user_id
</sql>
@@ -62,6 +66,15 @@
<if test="handleUserId != null">
and t.handle_user_id = #{handleUserId}
</if>
<if test="companyName != null and companyName!='' ">
and ca.name like '%' || #{companyName} || '%'
</if>
<if test="jobTitle != null and jobTitle!='' ">
and j.job_title like '%' || #{jobTitle} || '%'
</if>
<if test="name != null and name!='' ">
and u.name like '%' || #{name} || '%'
</if>
</where>
order by t.create_time desc
</select>