|
@@ -40,7 +40,7 @@ func SyncLisLgty() (err error) {
|
40
|
40
|
if inspectionLastInfo.ID > 0 {
|
41
|
41
|
sync_time = inspectionLastInfo.CreatedTime
|
42
|
42
|
} else {
|
43
|
|
- sync_time = 1640966400
|
|
43
|
+ sync_time = 1672502400
|
44
|
44
|
}
|
45
|
45
|
}
|
46
|
46
|
|
|
@@ -63,7 +63,7 @@ func SyncLisLgty() (err error) {
|
63
|
63
|
}
|
64
|
64
|
middleReportHandle := models.MiddleReportHandle{
|
65
|
65
|
OrgId: org_id,
|
66
|
|
- HisUserId: patient.AdmissionNumber,
|
|
66
|
+ HisUserId: patient.IdCardNo,
|
67
|
67
|
ApplyNo: head.ApplyNo,
|
68
|
68
|
ReportId: head.ReportId,
|
69
|
69
|
Name: head.Name,
|
|
@@ -107,7 +107,7 @@ func SyncLisLgty() (err error) {
|
107
|
107
|
}
|
108
|
108
|
var syncInfo models.MiddleSyncInfo
|
109
|
109
|
syncInfo.OrgId = org_id
|
110
|
|
- syncInfo.HisUserId = patient.AdmissionNumber
|
|
110
|
+ syncInfo.HisUserId = patient.IdCardNo
|
111
|
111
|
syncInfo.SyncTime = time.Now().Unix()
|
112
|
112
|
syncInfo.SyncResultType = 1
|
113
|
113
|
syncInfo.SyncRsultRemark = "同步成功"
|
|
@@ -126,7 +126,7 @@ func SyncLisLgty() (err error) {
|
126
|
126
|
// 未同步到检验检查头部信息
|
127
|
127
|
var syncInfo models.MiddleSyncInfo
|
128
|
128
|
syncInfo.OrgId = org_id
|
129
|
|
- syncInfo.HisUserId = patient.AdmissionNumber
|
|
129
|
+ syncInfo.HisUserId = patient.IdCardNo
|
130
|
130
|
syncInfo.SyncTime = time.Now().Unix()
|
131
|
131
|
syncInfo.SyncResultType = 1
|
132
|
132
|
syncInfo.SyncRsultRemark = "该患者这个时间段没有任何检验检查数据"
|