|
|
@@ -461,7 +461,7 @@
|
|
461
|
461
|
FROM (SELECT * FROM business_agent_fcbgz where 1=1 ORDER BY fssj desc) fcbgz
|
|
462
|
462
|
LEFT JOIN business_agent b ON b.id=agent_id
|
|
463
|
463
|
LEFT JOIN business_agent_depot c ON c.id=dck_id
|
|
464
|
|
- where 1=1 and fcbgz.shr AND fcbgz.shr IS NOT NULL
|
|
|
464
|
+ where 1=1 AND fcbgz.shr IS NOT NULL
|
|
465
|
465
|
<if test="orgId != null">
|
|
466
|
466
|
AND fcbgz.org_id = #{orgId,jdbcType=INTEGER}
|
|
467
|
467
|
</if>
|