and op.wrt_user_seq = #{wrtUserSeq}
and op.wrt_user_nm like '%'||#{wrtUserNm}||'%'
and op.wrt_organ = #{wrtOrgan}
and op.op_state = #{opState}
and op.wrt_dt >= #{startDate}::date
and op.wrt_dt <= #{endDate}::date+1
and op.wrt_organ in
#{organCd}
and op_state in ('DST002')
and op_state in ('DST003', 'DST004', 'DST005', 'DST006')
and op_state in ('DST003', 'DST004', 'DST005', 'DST006')
and op_state in ('DST002')
and op_state in ('DST003', 'DST004', 'DST005', 'DST006')