|
@@ -106,10 +106,11 @@ func Edit(sealId, userId, contractId, fileNum int, use, companyName, userCompany
|
|
sealInfo.FileUrl = fileUrl
|
|
sealInfo.FileUrl = fileUrl
|
|
sealInfo.FileNum = fileNum
|
|
sealInfo.FileNum = fileNum
|
|
sealInfo.ContractId = contractId
|
|
sealInfo.ContractId = contractId
|
|
|
|
+ sealInfo.CreateTime = time.Now() // 重提更新提交时间
|
|
sealInfo.ModifyTime = time.Now()
|
|
sealInfo.ModifyTime = time.Now()
|
|
sealInfo.Status = "待提交" //用印状态
|
|
sealInfo.Status = "待提交" //用印状态
|
|
|
|
|
|
- err = sealInfo.Update([]string{"Use", "CompanyName", "UseCompanyName", "CreditCode", "ServiceType", "SealType", "Remark", "FileUrl", "ModifyTime", "Status"})
|
|
|
|
|
|
+ err = sealInfo.Update([]string{"Use", "CompanyName", "UseCompanyName", "CreditCode", "ServiceType", "SealType", "Remark", "FileUrl", "FileNum", "ContractId", "CreateTime", "ModifyTime", "Status"})
|
|
if err != nil {
|
|
if err != nil {
|
|
err = errors.New("新增用印日志失败")
|
|
err = errors.New("新增用印日志失败")
|
|
return
|
|
return
|