|
@@ -2,6 +2,7 @@ package service
|
|
|
|
|
|
import (
|
|
|
"app.yhyue.com/moapp/jybase/common"
|
|
|
+ "app.yhyue.com/moapp/jybase/encrypt"
|
|
|
P "app.yhyue.com/moapp/jybase/mapping"
|
|
|
T "bp.jydev.jianyu360.cn/CRM/application/api/common"
|
|
|
"bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
|
|
@@ -51,7 +52,7 @@ type ProjectEntry struct {
|
|
|
|
|
|
func GetProjectList(req *types.ProjectListReq) (resultList []*ProjectEntry, hasNextPage bool, total int) {
|
|
|
|
|
|
- buyerM := BuyerList(req.PartyA, req.Supplier, req.Heterotophy, req.Intermediary, req.Agency)
|
|
|
+ buyerM := BuyerList(req.PartyA, req.Supplier, req.Heterotophy, req.Intermediary, req.Agency, req.PositionId)
|
|
|
MonitorStatusInit(req.PositionId, buyerM, "0")
|
|
|
buyerArr := make([]string, len(*buyerM))
|
|
|
for b := range *buyerM {
|
|
@@ -72,6 +73,7 @@ func GetProjectList(req *types.ProjectListReq) (resultList []*ProjectEntry, hasN
|
|
|
for rows.Next() {
|
|
|
project := ProjectEntry{}
|
|
|
_ = rows.ScanStruct(&project)
|
|
|
+ project.ProjectId = encrypt.CommonEncodeArticle("content", project.ProjectId)
|
|
|
resultList = append(resultList, &project)
|
|
|
}
|
|
|
|