Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
// QxJzxt/OrgCRUD/PositionTypeDelete public ActionResult PositionTypeDelete(string position_type_id) { if (position_type_id.HasValue()) { if (!_IOrgService.FindPositionTypeIsRelation(position_type_id)) { return(Alert(_position_type.Delete(position_type_id) ? "删除成功" : "删除失败")); } else { return(Alert("该职位类型已经有相关联的职位,不能删除,若想删除,请先将所关联的职位删除")); } } else { return(Alert("参数请求错误")); } }