|
|
@@ -42,8 +42,9 @@ func QueryUserESignRecord(userId int) (rsp []account.Useresignrecord, err error)
|
|
|
e = modifyContractStatus(data.CONTRACTNO, strconv.Itoa(rspCTStatus.Data.Status))
|
|
|
if e != nil {
|
|
|
// 从新获取记录
|
|
|
+ recordId := data.RECORDID
|
|
|
data = new(account.Useresignrecord)
|
|
|
- has, e := global.M2A_DB.Where("RECORDID = ?", data.RECORDID, userId).Get(data)
|
|
|
+ has, e := global.M2A_DB.Where("RECORDID = ?", recordId).Get(data)
|
|
|
if e != nil || !has {
|
|
|
err = e
|
|
|
global.M2A_LOG.Error("【QueryUserESignRecord】 获取用户电子签记录失败", zap.Error(err))
|