bug修复
This commit is contained in:
parent
2b00d7f2ed
commit
f6522597a0
@ -148,7 +148,7 @@ public class SystemUserController {
|
|||||||
return Result.success(systemUserService.getSystemUserBySn(map));
|
return Result.success(systemUserService.getSystemUserBySn(map));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "根据企业或项目SN查找账号分页列表", notes = "根据企业或项目SN查找账号分页列表", httpMethod = "POST")
|
@ApiOperation(value = "根据企业或项目SN查找账号分页列表", notes = "根据企业或项目SN查找账号分页列表1", httpMethod = "POST")
|
||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "sn", required = true, value = "企业或项目SN", paramType = "body"),
|
@ApiImplicitParam(name = "sn", required = true, value = "企业或项目SN", paramType = "body"),
|
||||||
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
@ApiImplicitParam(name = "pageNo", value = "第几页", paramType = "query", required = true, dataType = "Integer"),
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
LEFT JOIN xz_project_org po on po.id=a.xz_project_org_id
|
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 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 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}
|
WHERE a.sn = #{projectSn}
|
||||||
and a.account_type = 6
|
and a.account_type = 6
|
||||||
<if test="workerName != null and workerName != ''">
|
<if test="workerName != null and workerName != ''">
|
||||||
@ -37,7 +37,7 @@
|
|||||||
and pe.enterprise_type_id = #{enterpriseTypeId}
|
and pe.enterprise_type_id = #{enterpriseTypeId}
|
||||||
</if>
|
</if>
|
||||||
<if test="xzProjectOrgId != null and xzProjectOrgId != ''">
|
<if test="xzProjectOrgId != null and xzProjectOrgId != ''">
|
||||||
and po.id = #{xzProjectOrgId}
|
and xpo.id = #{xzProjectOrgId}
|
||||||
</if>
|
</if>
|
||||||
<if test="userId != null and userId != ''">
|
<if test="userId != null and userId != ''">
|
||||||
and a.user_id = #{userId}
|
and a.user_id = #{userId}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user