|
@@ -148,7 +148,7 @@ func (this *MarketAnalysis) DoAnalysisPdf() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
phone := qutil.ObjToString(sessVal["phone"])
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
if phone == "" || !strings.Contains(config.Config.AnalysisPDFPhone, phone) {
|
|
@@ -196,7 +196,7 @@ func (this *MarketAnalysis) AnalysisPdfList() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
phone := qutil.ObjToString(sessVal["phone"])
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
if phone == "" || !strings.Contains(config.Config.AnalysisPDFPhone, phone) {
|
|
@@ -234,7 +234,7 @@ func (this *MarketAnalysis) DoAnalysis() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
phone := qutil.ObjToString(sessVal["phone"])
|
|
|
positionType := qutil.IntAll(sessVal["positionType"])
|
|
|
entId := qutil.IntAll(sessVal["entId"])
|
|
@@ -300,7 +300,7 @@ func (this *MarketAnalysis) GetAnalysisResult() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
pid, isEquity, powerErr := CheckPowerEquity(this.Session())
|
|
|
if powerErr != nil {
|
|
@@ -343,7 +343,7 @@ func (this *MarketAnalysis) Cancel() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
pid, powerErr := checkPower(this.Session())
|
|
|
if powerErr != nil {
|
|
@@ -364,7 +364,7 @@ func (this *MarketAnalysis) IsOffline() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
phone := qutil.ObjToString(sessVal["phone"])
|
|
|
positionType := qutil.IntAll(sessVal["positionType"])
|
|
|
entId := qutil.IntAll(sessVal["entId"])
|
|
@@ -433,7 +433,7 @@ func (this *MarketAnalysis) Delete() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
rData, errMsg := func() (interface{}, error) {
|
|
|
pid, powerErr := checkPower(this.Session())
|
|
|
if powerErr != nil {
|
|
@@ -454,7 +454,7 @@ func (this *MarketAnalysis) AnalysisHistory() {
|
|
|
sessVal := this.Session().GetMultiple()
|
|
|
mgoUserId := qutil.ObjToString(sessVal["mgoUserId"])
|
|
|
userId := qutil.ObjToString(sessVal["userId"])
|
|
|
- positionId := qutil.IntAll(sessVal["positionId"])
|
|
|
+ positionId := qutil.Int64All(sessVal["positionId"])
|
|
|
positionType := qutil.IntAll(sessVal["positionType"])
|
|
|
entId := qutil.IntAll(sessVal["entId"])
|
|
|
entUserId := qutil.IntAll(sessVal["entUserId"])
|