@ -57,8 +57,12 @@ public interface SignPatientLabelInfoDao extends
* @param status
* @return
*/
@Modifying
int deleteByPatientAndLabelTypeAndStatus(String patient, String labelType, Integer status);
int deleteByLabel(String labelCode);
/**
* 更新某个标签名称
*
@ -125,6 +125,8 @@ public class SignPatientLabelService extends BaseService {
return -2;
}
labelInfoDao.deleteByLabel(labelCode);
SignPatientLabelLog log = new SignPatientLabelLog();
log.setLabelCode(labelCode);