|
@@ -260,7 +260,7 @@
|
|
|
LEFT JOIN RMS_COMPANY RC ON RC .COMPANY_ID = RCC .COMPANY_ID
|
|
LEFT JOIN RMS_COMPANY RC ON RC .COMPANY_ID = RCC .COMPANY_ID
|
|
|
LEFT JOIN RMS_CAPACITY_TYPE RCT ON RCA.CAPACITY_TYPE_ID = RCT.CAPACITY_TYPE_ID
|
|
LEFT JOIN RMS_CAPACITY_TYPE RCT ON RCA.CAPACITY_TYPE_ID = RCT.CAPACITY_TYPE_ID
|
|
|
WHERE RCA .DELETED = 0
|
|
WHERE RCA .DELETED = 0
|
|
|
- <if test="orgCode!=null and orgCode !='' and roleCodes.contains('chengyunshang')">
|
|
|
|
|
|
|
+ <if test="orgCode!=null and orgCode !='' and roleCodes.contains('chengYunShang')">
|
|
|
AND RC.SSO_CODE = #{orgCode}
|
|
AND RC.SSO_CODE = #{orgCode}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="capacityType != null and capacityType != '' ">
|
|
<if test="capacityType != null and capacityType != '' ">
|