Spatio-temporal traffic prediction is important in intelligent transportation systems.Traditional Graph Convolutional Networks (GCNs) face challenges with static adjacency matrices and learnable matrices.The study introduces a novel Multi-Task Learning (MTL) framework called DG-STMTL.DG-STMTL combines static and dynamic adjacency matrices and includes a group-wise GCN module.