|
@@ -52,9 +52,7 @@
|
|
pu.user_id AS userId,
|
|
pu.user_id AS userId,
|
|
pu.is_monitor AS isMonitor
|
|
pu.is_monitor AS isMonitor
|
|
FROM capital_repair cr
|
|
FROM capital_repair cr
|
|
- <if test="request.currentRoleCode == 'REGION_DIRECTOR' or request.currentRoleCode == 'CLERK' or request.currentRoleCode == 'ROLEMTWORK' ">
|
|
|
|
- LEFT JOIN project_user pu ON cr.id = pu.project_id
|
|
|
|
- </if>
|
|
|
|
|
|
+ LEFT JOIN project_user pu ON cr.id = pu.project_id
|
|
WHERE 1=1
|
|
WHERE 1=1
|
|
<if test="request.mtCompanyId!=null and request.mtCompanyId!=''">
|
|
<if test="request.mtCompanyId!=null and request.mtCompanyId!=''">
|
|
AND cr.mt_company_id = #{request.mtCompanyId,jdbcType=BIGINT}
|
|
AND cr.mt_company_id = #{request.mtCompanyId,jdbcType=BIGINT}
|