成达更新人员接口
This commit is contained in:
parent
7f09e37c5c
commit
a8dbc0502b
|
@ -694,7 +694,7 @@ namespace WebAPI.Controllers
|
||||||
{
|
{
|
||||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||||
{
|
{
|
||||||
var getPerson = db.SitePerson_Person_Bak.FirstOrDefault(e => e.PersonId == personId);
|
var getPerson = db.SitePerson_Person.FirstOrDefault(e => e.PersonId == personId);
|
||||||
if (getPerson != null && !string.IsNullOrEmpty(type))
|
if (getPerson != null && !string.IsNullOrEmpty(type))
|
||||||
{
|
{
|
||||||
if (type == "1")
|
if (type == "1")
|
||||||
|
|
Loading…
Reference in New Issue