|
|
@@ -123,7 +123,6 @@ func AddSpotContractApply(spotContractApply Erms3SpotContractApply) error {
|
|
|
DETAILJSON,
|
|
|
APPLYSTATUS,
|
|
|
APPLYSRC,
|
|
|
- MARKETID,
|
|
|
CREATORID,
|
|
|
CREATETIME)
|
|
|
VALUES(?,
|
|
|
@@ -144,7 +143,6 @@ func AddSpotContractApply(spotContractApply Erms3SpotContractApply) error {
|
|
|
?,
|
|
|
?,
|
|
|
?,
|
|
|
- ?,
|
|
|
sysdate)`
|
|
|
_, err := engine.Exec(sql,
|
|
|
spotContractApply.SpotContractID,
|
|
|
@@ -164,12 +162,12 @@ func AddSpotContractApply(spotContractApply Erms3SpotContractApply) error {
|
|
|
spotContractApply.DetailJSON,
|
|
|
spotContractApply.ApplyStatus,
|
|
|
spotContractApply.ApplySrc,
|
|
|
- spotContractApply.MarketID,
|
|
|
spotContractApply.CreatorID)
|
|
|
|
|
|
return err
|
|
|
}
|
|
|
|
|
|
+// QueryErms3SpotContractInfo 查询现货合同信息
|
|
|
func QueryErms3SpotContractInfo(accountids []int64, contracttype, contractmode, status int32) ([]Erms3SpotContractInfo, error) {
|
|
|
datas := make([]Erms3SpotContractInfo, 0)
|
|
|
engine := db.GetEngine()
|