| | |
| | | ja_gd_data_objection do |
| | | left join |
| | | ja_gd_data_objection_attachment da |
| | | on do.id = da.objection_id and da.is_deleted = 0 |
| | | on do.id = da.objection_id::VARCHAR and da.is_deleted = 0 |
| | | left join |
| | | blade_dept bd on bd.id = do.create_dept |
| | | blade_dept bd on bd.id = do.create_dept::VARCHAR |
| | | <where> |
| | | do.is_deleted = 0 |
| | | and da.is_deleted = 0 |
| | |
| | | from |
| | | ja_gd_data_objection do |
| | | left join |
| | | ja_gd_data_objection_attachment da on do.id = da.objection_id |
| | | ja_gd_data_objection_attachment da on do.id = da.objection_id::VARCHAR |
| | | <where> |
| | | and da.is_deleted = 0 |
| | | <if test="id != null "> |