Partial Functional Dynamic Backdoor Diffusion-based Causal Model