| | |
| | | <if test="departmentId!=null"> |
| | | and id in ( |
| | | select classify_id from automessage_transaction_event where department_id=#{departmentId} UNION |
| | | select parent_id from automessage_classify_administration where id in (select classify_id FROM automessage_transaction_event where department_id=#{departmentId}) ) |
| | | select parent_id from automessage_classify_administration |
| | | where id in (select classify_id FROM automessage_transaction_event |
| | | where department_id=#{departmentId})) |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | <select id="selectParent" resultType="string"> |
| | | select id from automessage_classify_administration |
| | | <where> |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | |
| | | |
| | | </mapper> |