关于if语句&&运算符先判断空异常
if (Session["stability_provide"]!=null&&Session["stability_provide"].ToString() == "True") { model.personnel_stability_provide_time = DateTime.Now; }
防止空异常
if (Session["stability_provide"]!=null&&Session["stability_provide"].ToString() == "True") { model.personnel_stability_provide_time = DateTime.Now; }
防止空异常