设备资产修改完成
This commit is contained in:
parent
93e1f2623a
commit
2834bf2ec8
12
data.go
12
data.go
|
|
@ -37,6 +37,8 @@ type devToolata struct {
|
||||||
Instrument string `json:"instrument_id"`
|
Instrument string `json:"instrument_id"`
|
||||||
ProductName string `json:"product_name"` // 产品名称
|
ProductName string `json:"product_name"` // 产品名称
|
||||||
WellName string `json:"wellname"` // 井名
|
WellName string `json:"wellname"` // 井名
|
||||||
|
PInTime string `json:"person_in_time"` // 入井时间(可能为null)
|
||||||
|
POutTime string `json:"person_out_time"` // 出井时间(可能为null)
|
||||||
InTime string `json:"in_time"` // 入井时间(可能为null)
|
InTime string `json:"in_time"` // 入井时间(可能为null)
|
||||||
OutTime string `json:"out_time"` // 出井时间(可能为null)
|
OutTime string `json:"out_time"` // 出井时间(可能为null)
|
||||||
Engineer string `json:"engineer"` // 上井工程师(可能为null)
|
Engineer string `json:"engineer"` // 上井工程师(可能为null)
|
||||||
|
|
@ -181,15 +183,15 @@ type WellDetailReqData struct {
|
||||||
type SeirDetailReqData struct {
|
type SeirDetailReqData struct {
|
||||||
Opuser string `json:"opuser"`
|
Opuser string `json:"opuser"`
|
||||||
OpuserUuid string `json:"opuser_uuid"`
|
OpuserUuid string `json:"opuser_uuid"`
|
||||||
Series []string `json:"series"`
|
Series []string `json:"serial"`
|
||||||
Instrument []string `json:"instrument"`
|
Instrument []string `json:"number"`
|
||||||
ProductName []string `json:"productName"`
|
ProductName []string `json:"productName"`
|
||||||
WellName []string `json:"wellName"`
|
WellName []string `json:"wellname"`
|
||||||
Engineer []string `json:"engineer"`
|
Engineer []string `json:"engineer"`
|
||||||
Location []string `json:"location"`
|
Location []string `json:"location"`
|
||||||
ServiceType []string `json:"serviceType"`
|
ServiceType []string `json:"serviceType"`
|
||||||
StartTime string `json:"startTime"`
|
StartTime string `json:"in_time_start"`
|
||||||
EndTime string `json:"endTime"`
|
EndTime string `json:"in_time_end"`
|
||||||
Index int `json:"index"`
|
Index int `json:"index"`
|
||||||
Count int `json:"count"`
|
Count int `json:"count"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
req.go
1
req.go
|
|
@ -364,6 +364,7 @@ type get_well_ex1_req struct {
|
||||||
EndTime string `json:"EndTime"`
|
EndTime string `json:"EndTime"`
|
||||||
Checked bool `json:"checked"`
|
Checked bool `json:"checked"`
|
||||||
If_warn bool `json:"if_warn"`
|
If_warn bool `json:"if_warn"`
|
||||||
|
Type int `json:"type"` // 新增:类型筛选(位掩码)
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetWellExReq struct {
|
type GetWellExReq struct {
|
||||||
|
|
|
||||||
4
res.go
4
res.go
|
|
@ -363,6 +363,8 @@ type wellExData struct {
|
||||||
Upload_user string `json:"upload_user"`
|
Upload_user string `json:"upload_user"`
|
||||||
|
|
||||||
Tool_state_warning bool `json:"tsw"`
|
Tool_state_warning bool `json:"tsw"`
|
||||||
|
|
||||||
|
TypeName string `json:"type_name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SeriesWarning struct {
|
type SeriesWarning struct {
|
||||||
|
|
@ -798,6 +800,8 @@ type devRespData struct {
|
||||||
Serial string `json:"serial"` // 系列号
|
Serial string `json:"serial"` // 系列号
|
||||||
Number string `json:"number"` // 编号
|
Number string `json:"number"` // 编号
|
||||||
WellName string `json:"wellname"` // 井名
|
WellName string `json:"wellname"` // 井名
|
||||||
|
PInTime string `json:"p_in_time"` // 入井时间(可能为null)
|
||||||
|
POutTime string `json:"p_out_time"` // 出井时间(可能为null)
|
||||||
InTime string `json:"in_time"` // 入井时间(可能为null)
|
InTime string `json:"in_time"` // 入井时间(可能为null)
|
||||||
OutTime string `json:"out_time"` // 出井时间(可能为null)
|
OutTime string `json:"out_time"` // 出井时间(可能为null)
|
||||||
Engineer string `json:"engineer"` // 上井工程师(可能为null)
|
Engineer string `json:"engineer"` // 上井工程师(可能为null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue