The power input and output of the dcdc module cannot be on the same ground
If the DC input ground is isolated from the mains AC ground, it can be connected. If the front level is not isolated from the mains, it can also be connected, but it is more dangerous and people can not touch it