Can the lawyer on duty provide testimony of confession and punishment for multiple defendants in the same criminal case?

A lawyer on duty can provide testimony of confession and punishment for multiple defendants in the same criminal case. According to the relevant judicial interpretation, the lawyer on duty can provide defense for more than two accomplices. The lawyer on duty has its particularity. The cases that need the lawyer on duty are often that the criminal suspect and the defendant have not entrusted a defense lawyer, but the public security organs, procuratorial organs and courts notify the lawyer on duty to provide legal services in order to safeguard their legitimate rights and interests. Those who meet the requirements for notification of defense shall notify the legal aid institution to provide defense for them. We can see that the legal services provided by duty lawyers and defense lawyers are different. The lawyer on duty is not a defender, so there is no need to follow the rule that a defender cannot defend more than two accomplices.