1、修改分公司、相关方类型统计
parent
6f3958f297
commit
0f8427ba41
|
|
@ -27,4 +27,7 @@ public class UserBasicInfo {
|
|||
@ApiModelProperty(value = "岗位名称")
|
||||
private String postName;
|
||||
|
||||
@ApiModelProperty(value = "用户岗位名称")
|
||||
private String userPostName;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@
|
|||
1 = 1
|
||||
<if test="params.corpType != null">
|
||||
AND (
|
||||
(#{params.corpType} = 0 AND ci.type IN (0,1))
|
||||
OR (#{params.corpType} = 1 AND ci.type IN (3,4,5,6))
|
||||
(#{params.corpType} = 0 AND ci.type IN (0,1,6))
|
||||
OR (#{params.corpType} = 1 AND ci.type IN (3,4,5))
|
||||
)
|
||||
</if>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
u.employment_flag AS employmentStatus,
|
||||
d.name AS departmentName,
|
||||
p.corpinfo_name AS corpinfoName,
|
||||
p.post_name AS postName
|
||||
uc.post_name AS postName
|
||||
FROM
|
||||
user_certificate uc
|
||||
LEFT JOIN
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
u.employment_flag AS employmentStatus,
|
||||
d.name AS departmentName,
|
||||
p.corpinfo_name AS corpinfoName,
|
||||
p.post_name AS postName
|
||||
uc.post_name AS postName
|
||||
FROM
|
||||
user_certificate uc
|
||||
LEFT JOIN
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
<select id="selectUserNamesByUserIds" resultType="com.zcloud.certificate.domain.model.UserBasicInfo">
|
||||
SELECT
|
||||
u.id AS userId,
|
||||
u.username AS userName,
|
||||
u.username AS userName,
|
||||
u.name AS name,
|
||||
d.name AS departmentName,
|
||||
c.corp_name AS corpinfoName,
|
||||
|
|
@ -184,8 +184,8 @@
|
|||
|
||||
<if test="params.corpType != null">
|
||||
AND (
|
||||
(#{params.corpType} = 0 AND ci.type IN (0,1))
|
||||
OR (#{params.corpType} = 1 AND ci.type IN (3,4,5,6))
|
||||
(#{params.corpType} = 0 AND ci.type IN (0,1,6))
|
||||
OR (#{params.corpType} = 1 AND ci.type IN (3,4,5))
|
||||
)
|
||||
</if>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue