bug修复

This commit is contained in:
guoshengxiong 2024-04-30 23:40:50 +08:00
parent 2b00d7f2ed
commit f6522597a0
2 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ public class SystemUserController {
return Result.success(systemUserService.getSystemUserBySn(map));
}
@ApiOperation(value = "根据企业或项目SN查找账号分页列表", notes = "根据企业或项目SN查找账号分页列表", httpMethod = "POST")
@ApiOperation(value = "根据企业或项目SN查找账号分页列表", notes = "根据企业或项目SN查找账号分页列表1", httpMethod = "POST")
@ApiImplicitParams({
@ApiImplicitParam(name = "sn", required = true, value = "企业或项目SN", paramType = "body"),
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),

View File

@ -18,7 +18,7 @@
LEFT JOIN xz_project_org po on po.id=a.xz_project_org_id
LEFT JOIN enterprise_info ei on ei.id=d.enterprise_id
LEFT JOIN project_enterprise pe on pe.enterprise_id=ei.id and pe.project_sn=a.sn
left join xz_project_org po on po.id=a.xz_project_org_id
left join xz_project_org xpo on xpo.id=a.xz_project_org_id
WHERE a.sn = #{projectSn}
and a.account_type = 6
<if test="workerName != null and workerName != ''">
@ -37,7 +37,7 @@
and pe.enterprise_type_id = #{enterpriseTypeId}
</if>
<if test="xzProjectOrgId != null and xzProjectOrgId != ''">
and po.id = #{xzProjectOrgId}
and xpo.id = #{xzProjectOrgId}
</if>
<if test="userId != null and userId != ''">
and a.user_id = #{userId}