|
|
@@ -59,10 +59,10 @@ type settleAccountMainColumns struct {
|
|
|
UpdateUserId string // 更新者ID
|
|
|
UpdateBy string // 更新者
|
|
|
UpdateOn string // 更新时间
|
|
|
- VerificationUserId string // 确认人Id
|
|
|
- VerificationUser string // 确认人
|
|
|
- VerificationDate string // 确认时间
|
|
|
- AccountStatus string // 结算状态 0未结算 1已结算
|
|
|
+ VerificationUserId string // 确认人Id
|
|
|
+ VerificationUser string // 确认人
|
|
|
+ VerificationDate string // 确认时间
|
|
|
+ AccountStatus string // 结算状态 0未结算 1已结算
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -72,44 +72,44 @@ var (
|
|
|
DB: g.DB("default"),
|
|
|
Table: "settle_account_main",
|
|
|
Columns: settleAccountMainColumns{
|
|
|
- Id: "Id",
|
|
|
- BillId: "BillId",
|
|
|
- AppointId: "AppointId",
|
|
|
- AppointUserId: "AppointUserId",
|
|
|
- AppointUser: "AppointUser",
|
|
|
- MainUserId: "MainUserId",
|
|
|
- MainUser: "MainUser",
|
|
|
- FeeType: "FeeType",
|
|
|
- SettleStatus: "SettleStatus",
|
|
|
- TotalPrice: "TotalPrice",
|
|
|
- SettleTime: "SettleTime",
|
|
|
- CreateUserId: "CreateUserId",
|
|
|
- CreateBy: "CreateBy",
|
|
|
- CreateOn: "CreateOn",
|
|
|
- DeletedAt: "DeletedAt",
|
|
|
- AttachUserId: "AttachUserId",
|
|
|
- AttachUser: "AttachUser",
|
|
|
- Status: "Status",
|
|
|
- AppointStartDate: "AppointStartDate",
|
|
|
- AppointEndDate: "AppointEndDate",
|
|
|
- ActualStartDate: "ActualStartDate",
|
|
|
- ActualEndDate: "ActualEndDate",
|
|
|
- ActualMachineHour: "ActualMachineHour",
|
|
|
- InstrumentId: "InstrumentId",
|
|
|
- InstrumentCode: "InstrumentCode",
|
|
|
- InstrumentName: "InstrumentName",
|
|
|
- SettleUserId: "SettleUserId",
|
|
|
- SettleUser: "SettleUser",
|
|
|
- SettleDate: "SettleDate",
|
|
|
- FeeTime: "FeeTime",
|
|
|
- Remark: "Remark",
|
|
|
- UpdateUserId: "UpdateUserId",
|
|
|
- UpdateBy: "UpdateBy",
|
|
|
- UpdateOn: "UpdateOn",
|
|
|
- VerificationUserId: "VerificationUserId",
|
|
|
- VerificationUser: "VerificationUser",
|
|
|
- VerificationDate: "VerificationDate",
|
|
|
- AccountStatus: "AccountStatus",
|
|
|
+ Id: "Id",
|
|
|
+ BillId: "BillId",
|
|
|
+ AppointId: "AppointId",
|
|
|
+ AppointUserId: "AppointUserId",
|
|
|
+ AppointUser: "AppointUser",
|
|
|
+ MainUserId: "MainUserId",
|
|
|
+ MainUser: "MainUser",
|
|
|
+ FeeType: "FeeType",
|
|
|
+ SettleStatus: "SettleStatus",
|
|
|
+ TotalPrice: "TotalPrice",
|
|
|
+ SettleTime: "SettleTime",
|
|
|
+ CreateUserId: "CreateUserId",
|
|
|
+ CreateBy: "CreateBy",
|
|
|
+ CreateOn: "CreateOn",
|
|
|
+ DeletedAt: "DeletedAt",
|
|
|
+ AttachUserId: "AttachUserId",
|
|
|
+ AttachUser: "AttachUser",
|
|
|
+ Status: "Status",
|
|
|
+ AppointStartDate: "AppointStartDate",
|
|
|
+ AppointEndDate: "AppointEndDate",
|
|
|
+ ActualStartDate: "ActualStartDate",
|
|
|
+ ActualEndDate: "ActualEndDate",
|
|
|
+ ActualMachineHour: "ActualMachineHour",
|
|
|
+ InstrumentId: "InstrumentId",
|
|
|
+ InstrumentCode: "InstrumentCode",
|
|
|
+ InstrumentName: "InstrumentName",
|
|
|
+ SettleUserId: "SettleUserId",
|
|
|
+ SettleUser: "SettleUser",
|
|
|
+ SettleDate: "SettleDate",
|
|
|
+ FeeTime: "FeeTime",
|
|
|
+ Remark: "Remark",
|
|
|
+ UpdateUserId: "UpdateUserId",
|
|
|
+ UpdateBy: "UpdateBy",
|
|
|
+ UpdateOn: "UpdateOn",
|
|
|
+ VerificationUserId: "VerificationUserId",
|
|
|
+ VerificationUser: "VerificationUser",
|
|
|
+ VerificationDate: "VerificationDate",
|
|
|
+ AccountStatus: "AccountStatus",
|
|
|
},
|
|
|
}
|
|
|
)
|
|
|
@@ -121,44 +121,44 @@ func NewSettleAccountMainDao(tenant string) SettleAccountMainDao {
|
|
|
DB: g.DB(tenant),
|
|
|
Table: "settle_account_main",
|
|
|
Columns: settleAccountMainColumns{
|
|
|
- Id: "Id",
|
|
|
- BillId: "BillId",
|
|
|
- AppointId: "AppointId",
|
|
|
- AppointUserId: "AppointUserId",
|
|
|
- AppointUser: "AppointUser",
|
|
|
- MainUserId: "MainUserId",
|
|
|
- MainUser: "MainUser",
|
|
|
- FeeType: "FeeType",
|
|
|
- SettleStatus: "SettleStatus",
|
|
|
- TotalPrice: "TotalPrice",
|
|
|
- SettleTime: "SettleTime",
|
|
|
- CreateUserId: "CreateUserId",
|
|
|
- CreateBy: "CreateBy",
|
|
|
- CreateOn: "CreateOn",
|
|
|
- DeletedAt: "DeletedAt",
|
|
|
- AttachUserId: "AttachUserId",
|
|
|
- AttachUser: "AttachUser",
|
|
|
- Status: "Status",
|
|
|
- AppointStartDate: "AppointStartDate",
|
|
|
- AppointEndDate: "AppointEndDate",
|
|
|
- ActualStartDate: "ActualStartDate",
|
|
|
- ActualEndDate: "ActualEndDate",
|
|
|
- ActualMachineHour: "ActualMachineHour",
|
|
|
- InstrumentId: "InstrumentId",
|
|
|
- InstrumentCode: "InstrumentCode",
|
|
|
- InstrumentName: "InstrumentName",
|
|
|
- SettleUserId: "SettleUserId",
|
|
|
- SettleUser: "SettleUser",
|
|
|
- SettleDate: "SettleDate",
|
|
|
- FeeTime: "FeeTime",
|
|
|
- Remark: "Remark",
|
|
|
- UpdateUserId: "UpdateUserId",
|
|
|
- UpdateBy: "UpdateBy",
|
|
|
- UpdateOn: "UpdateOn",
|
|
|
- VerificationUserId: "VerificationUserId",
|
|
|
- VerificationUser: "VerificationUser",
|
|
|
- VerificationDate: "VerificationDate",
|
|
|
- AccountStatus: "AccountStatus",
|
|
|
+ Id: "Id",
|
|
|
+ BillId: "BillId",
|
|
|
+ AppointId: "AppointId",
|
|
|
+ AppointUserId: "AppointUserId",
|
|
|
+ AppointUser: "AppointUser",
|
|
|
+ MainUserId: "MainUserId",
|
|
|
+ MainUser: "MainUser",
|
|
|
+ FeeType: "FeeType",
|
|
|
+ SettleStatus: "SettleStatus",
|
|
|
+ TotalPrice: "TotalPrice",
|
|
|
+ SettleTime: "SettleTime",
|
|
|
+ CreateUserId: "CreateUserId",
|
|
|
+ CreateBy: "CreateBy",
|
|
|
+ CreateOn: "CreateOn",
|
|
|
+ DeletedAt: "DeletedAt",
|
|
|
+ AttachUserId: "AttachUserId",
|
|
|
+ AttachUser: "AttachUser",
|
|
|
+ Status: "Status",
|
|
|
+ AppointStartDate: "AppointStartDate",
|
|
|
+ AppointEndDate: "AppointEndDate",
|
|
|
+ ActualStartDate: "ActualStartDate",
|
|
|
+ ActualEndDate: "ActualEndDate",
|
|
|
+ ActualMachineHour: "ActualMachineHour",
|
|
|
+ InstrumentId: "InstrumentId",
|
|
|
+ InstrumentCode: "InstrumentCode",
|
|
|
+ InstrumentName: "InstrumentName",
|
|
|
+ SettleUserId: "SettleUserId",
|
|
|
+ SettleUser: "SettleUser",
|
|
|
+ SettleDate: "SettleDate",
|
|
|
+ FeeTime: "FeeTime",
|
|
|
+ Remark: "Remark",
|
|
|
+ UpdateUserId: "UpdateUserId",
|
|
|
+ UpdateBy: "UpdateBy",
|
|
|
+ UpdateOn: "UpdateOn",
|
|
|
+ VerificationUserId: "VerificationUserId",
|
|
|
+ VerificationUser: "VerificationUser",
|
|
|
+ VerificationDate: "VerificationDate",
|
|
|
+ AccountStatus: "AccountStatus",
|
|
|
},
|
|
|
}
|
|
|
return dao
|