仪器状态报告开发完毕

This commit is contained in:
lupeng 2025-08-11 16:44:55 +08:00
parent ba787bd601
commit 2a0437402d
4 changed files with 852 additions and 577 deletions

Binary file not shown.

1370
main.go

File diff suppressed because it is too large Load Diff

13
req.go
View File

@ -117,6 +117,8 @@ type download_file_req struct {
OpUser string `json:"opuser"` OpUser string `json:"opuser"`
OpUserUuid string `json:"opuser_uuid"` OpUserUuid string `json:"opuser_uuid"`
Filename string `json:"filename"` Filename string `json:"filename"`
RealFileName string `json:"realFileName"`
ID string `json:"id"`
} }
type add_dev_manage_req struct { type add_dev_manage_req struct {
@ -676,3 +678,14 @@ type QualityData struct {
WellName string `json:"wellName"` WellName string `json:"wellName"`
Value string `json:"value"` Value string `json:"value"`
} }
type LinkDataReq struct {
ID string `json:"id"`
Instrument string `json:"instrument"`
Link string `json:"link"`
OpUser string `json:"opuser"`
Opuser_uuid string `json:"opuser_uuid"`
Series string `json:"series"`
WellName string `json:"wellName"`
Type string `json:"type"`
}

6
res.go
View File

@ -244,6 +244,8 @@ type GetLcmRespData struct {
Note string `json:"note"` Note string `json:"note"`
Time string `json:"time"` Time string `json:"time"`
IfShowOp bool `json:"if_show_op"` IfShowOp bool `json:"if_show_op"`
Link string `json:"link"`
Data []uploadRes `json:"data"`
} }
type getWellAnalysisResultResp struct { type getWellAnalysisResultResp struct {
@ -756,6 +758,7 @@ type InstrumentMessRespdata struct {
WorkMessList []WellMessRespdata `json:"data"` //上井情况汇总 WorkMessList []WellMessRespdata `json:"data"` //上井情况汇总
GetLcmRespData []GetLcmRespData `json:"data1"` //维保情况 GetLcmRespData []GetLcmRespData `json:"data1"` //维保情况
GetToolMess []Tool_warning `json:"data2"` //异常信息 GetToolMess []Tool_warning `json:"data2"` //异常信息
QualityData QualityDataResp `json:"data3"` //质检数据
} }
// 上井情况汇总 // 上井情况汇总
@ -769,6 +772,7 @@ type WellMessRespdata struct {
PersonnelList string `json:"personnelList"` //累计工作时间 PersonnelList string `json:"personnelList"` //累计工作时间
Content string `json:"content"` //仪器工作情况 Content string `json:"content"` //仪器工作情况
Flag string `json:"flag"` //仪器工作情况标识 Flag string `json:"flag"` //仪器工作情况标识
Link string `json:"link"` //文档链接
Data []uploadRes `json:"data"` Data []uploadRes `json:"data"`
} }
@ -781,9 +785,9 @@ type QualityDataResp struct {
type uploadRes struct { type uploadRes struct {
ID string `json:"id"` ID string `json:"id"`
FileName string `json:"fileName"` FileName string `json:"fileName"`
RealFileName string `json:"realFileName"`
CreateUser string `json:"createUser"` CreateUser string `json:"createUser"`
CreateTime string `json:"createTime"` CreateTime string `json:"createTime"`
WellFileId string `json:"wellFileId"` WellFileId string `json:"wellFileId"`
Types string `json:"type"` Types string `json:"type"`
RealFileName string `json:"realFileName"`
} }