|
|
@ -29,12 +29,14 @@ using System.Data; |
|
|
|
using System.IO.Compression; |
|
|
|
using System.IO.Compression; |
|
|
|
using System.Linq; |
|
|
|
using System.Linq; |
|
|
|
using System.Net.WebSockets; |
|
|
|
using System.Net.WebSockets; |
|
|
|
|
|
|
|
using System.Runtime.InteropServices; |
|
|
|
using System.Text; |
|
|
|
using System.Text; |
|
|
|
using static _24Hour.TwentySystemProxyClient; |
|
|
|
using static _24Hour.TwentySystemProxyClient; |
|
|
|
using static com.sun.tools.@internal.xjc.reader.xmlschema.bindinfo.BIConversion; |
|
|
|
using static com.sun.tools.@internal.xjc.reader.xmlschema.bindinfo.BIConversion; |
|
|
|
using static NPOI.HSSF.Util.HSSFColor; |
|
|
|
using static NPOI.HSSF.Util.HSSFColor; |
|
|
|
using Exception = System.Exception; |
|
|
|
using Exception = System.Exception; |
|
|
|
using Path = System.IO.Path; |
|
|
|
using Path = System.IO.Path; |
|
|
|
|
|
|
|
using StringBuilder = System.Text.StringBuilder; |
|
|
|
using User = Elight.Utility.User; |
|
|
|
using User = Elight.Utility.User; |
|
|
|
|
|
|
|
|
|
|
|
namespace _24Hour.Controllers.Common |
|
|
|
namespace _24Hour.Controllers.Common |
|
|
@ -1810,6 +1812,7 @@ namespace _24Hour.Controllers.Common |
|
|
|
userim.departmentPhoto = departments; |
|
|
|
userim.departmentPhoto = departments; |
|
|
|
userim.unitCode = _userdata.unitCode; |
|
|
|
userim.unitCode = _userdata.unitCode; |
|
|
|
userim.identity = "律师"; |
|
|
|
userim.identity = "律师"; |
|
|
|
|
|
|
|
userim.IsDeleted = 0; |
|
|
|
_db.BeginTran(); |
|
|
|
_db.BeginTran(); |
|
|
|
var num = await _db.Insertable(userim).ExecuteCommandAsync(); |
|
|
|
var num = await _db.Insertable(userim).ExecuteCommandAsync(); |
|
|
|
_db.CommitTran(); |
|
|
|
_db.CommitTran(); |
|
|
@ -1821,6 +1824,7 @@ namespace _24Hour.Controllers.Common |
|
|
|
user.departmentPhoto = departments; |
|
|
|
user.departmentPhoto = departments; |
|
|
|
user.unitCode = _userdata.unitCode; |
|
|
|
user.unitCode = _userdata.unitCode; |
|
|
|
user.identity = "律师"; |
|
|
|
user.identity = "律师"; |
|
|
|
|
|
|
|
user.IsDeleted = 0; |
|
|
|
_db.BeginTran(); |
|
|
|
_db.BeginTran(); |
|
|
|
var num = await _db.Updateable(user) |
|
|
|
var num = await _db.Updateable(user) |
|
|
|
.UpdateColumns(x => new |
|
|
|
.UpdateColumns(x => new |
|
|
@ -1829,7 +1833,8 @@ namespace _24Hour.Controllers.Common |
|
|
|
x.identityphoto, |
|
|
|
x.identityphoto, |
|
|
|
x.departmentPhoto, |
|
|
|
x.departmentPhoto, |
|
|
|
x.unitCode, |
|
|
|
x.unitCode, |
|
|
|
x.identity |
|
|
|
x.identity, |
|
|
|
|
|
|
|
x.IsDeleted |
|
|
|
}) |
|
|
|
}) |
|
|
|
.IgnoreColumns(ignoreAllNullColumns: true) |
|
|
|
.IgnoreColumns(ignoreAllNullColumns: true) |
|
|
|
.ExecuteCommandAsync(); |
|
|
|
.ExecuteCommandAsync(); |
|
|
@ -1908,6 +1913,7 @@ namespace _24Hour.Controllers.Common |
|
|
|
svc.relationshipProofPhoto = relationshipProofPhotos; |
|
|
|
svc.relationshipProofPhoto = relationshipProofPhotos; |
|
|
|
svc.otherPhoto = otherPhotos; |
|
|
|
svc.otherPhoto = otherPhotos; |
|
|
|
svc.IsAssigned = false; |
|
|
|
svc.IsAssigned = false; |
|
|
|
|
|
|
|
svc.IsDeleted = 0; |
|
|
|
_db.BeginTran(); |
|
|
|
_db.BeginTran(); |
|
|
|
var num = await _db.Updateable(svc) |
|
|
|
var num = await _db.Updateable(svc) |
|
|
|
.UpdateColumns(x => new |
|
|
|
.UpdateColumns(x => new |
|
|
@ -1916,7 +1922,8 @@ namespace _24Hour.Controllers.Common |
|
|
|
x.createuserId, |
|
|
|
x.createuserId, |
|
|
|
x.relationshipProofPhoto, |
|
|
|
x.relationshipProofPhoto, |
|
|
|
x.otherPhoto, |
|
|
|
x.otherPhoto, |
|
|
|
x.legalAidPhoto |
|
|
|
x.legalAidPhoto, |
|
|
|
|
|
|
|
x.IsDeleted |
|
|
|
}) |
|
|
|
}) |
|
|
|
.IgnoreColumns(ignoreAllNullColumns: true) |
|
|
|
.IgnoreColumns(ignoreAllNullColumns: true) |
|
|
|
.ExecuteCommandAsync(); |
|
|
|
.ExecuteCommandAsync(); |
|
|
|