|
|
@@ -79,7 +79,8 @@
|
|
|
(SELECT json_agg(t.*) from dkic_a.t_cp_trade t
|
|
|
where activity_id = ti.activity_id
|
|
|
and activity_item_id = ti.item_id
|
|
|
- and trade_status = '交易状态-生效' ) AS "trade",
|
|
|
+ and trade_status = '交易状态-生效'
|
|
|
+ and cp_id = #{cpId} ) AS "trade",
|
|
|
(SELECT json_agg(m.*) from sys.t_app_menu m where fun_uuid = ANY(T.fun_ids::uuid[])) AS "funIds",
|
|
|
T.activity_type AS "activityType"
|
|
|
FROM
|