设备资产修改完成

This commit is contained in:
lupeng_zz 2026-05-31 14:05:18 +08:00
parent 93e1f2623a
commit 2834bf2ec8
4 changed files with 716 additions and 108 deletions

12
data.go
View File

@ -37,6 +37,8 @@ type devToolata struct {
Instrument string `json:"instrument_id"`
ProductName string `json:"product_name"` // 产品名称
WellName string `json:"wellname"` // 井名
PInTime string `json:"person_in_time"` // 入井时间(可能为null)
POutTime string `json:"person_out_time"` // 出井时间(可能为null)
InTime string `json:"in_time"` // 入井时间(可能为null)
OutTime string `json:"out_time"` // 出井时间(可能为null)
Engineer string `json:"engineer"` // 上井工程师(可能为null)
@ -181,15 +183,15 @@ type WellDetailReqData struct {
type SeirDetailReqData struct {
Opuser string `json:"opuser"`
OpuserUuid string `json:"opuser_uuid"`
Series []string `json:"series"`
Instrument []string `json:"instrument"`
Series []string `json:"serial"`
Instrument []string `json:"number"`
ProductName []string `json:"productName"`
WellName []string `json:"wellName"`
WellName []string `json:"wellname"`
Engineer []string `json:"engineer"`
Location []string `json:"location"`
ServiceType []string `json:"serviceType"`
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
StartTime string `json:"in_time_start"`
EndTime string `json:"in_time_end"`
Index int `json:"index"`
Count int `json:"count"`
}

789
main.go

File diff suppressed because it is too large Load Diff

1
req.go
View File

@ -364,6 +364,7 @@ type get_well_ex1_req struct {
EndTime string `json:"EndTime"`
Checked bool `json:"checked"`
If_warn bool `json:"if_warn"`
Type int `json:"type"` // 新增:类型筛选(位掩码)
}
type GetWellExReq struct {

4
res.go
View File

@ -363,6 +363,8 @@ type wellExData struct {
Upload_user string `json:"upload_user"`
Tool_state_warning bool `json:"tsw"`
TypeName string `json:"type_name"`
}
type SeriesWarning struct {
@ -798,6 +800,8 @@ type devRespData struct {
Serial string `json:"serial"` // 系列号
Number string `json:"number"` // 编号
WellName string `json:"wellname"` // 井名
PInTime string `json:"p_in_time"` // 入井时间(可能为null)
POutTime string `json:"p_out_time"` // 出井时间(可能为null)
InTime string `json:"in_time"` // 入井时间(可能为null)
OutTime string `json:"out_time"` // 出井时间(可能为null)
Engineer string `json:"engineer"` // 上井工程师(可能为null)