修改关联条件
This commit is contained in:
parent
e10b5a9283
commit
9473d6952e
|
|
@ -259,7 +259,7 @@
|
|||
LEFT JOIN bm_sub_relation bsr ON bsr.sub_contract_id = bsc.id
|
||||
AND bsr.type = '3'
|
||||
AND bsr.is_active = '1'
|
||||
LEFT JOIN bm_sub_team bst ON bst.id = bsr.`value`
|
||||
LEFT JOIN bm_sub_team bst ON bst.id = bsr.`v`
|
||||
AND bst.is_active = '1'
|
||||
WHERE bst.id is not null and bsc.is_active = '1'
|
||||
<if test="proId != null and proId != '' ">
|
||||
|
|
|
|||
Loading…
Reference in New Issue