...
|
...
|
@@ -7,6 +7,7 @@ import ( |
|
|
"oppmg/common/log"
|
|
|
"oppmg/models"
|
|
|
"oppmg/protocol"
|
|
|
"oppmg/utils"
|
|
|
"oppmg/utils/exceltool"
|
|
|
"oppmg/utils/signature"
|
|
|
"strconv"
|
...
|
...
|
@@ -24,12 +25,12 @@ func GetAuditListForExcel(param protocol.RequestAuditList, companyid int64, user |
|
|
|
|
|
_, datasql, cond := GetAuditListSql(param, companyid, userid, usercompany.Id)
|
|
|
var soureData []orm.Params
|
|
|
o := orm.NewOrm()
|
|
|
_, err = o.Raw(datasql, cond...).Values(&soureData)
|
|
|
err = utils.ExecuteQueryValue(&soureData, datasql, cond...)
|
|
|
if err != nil {
|
|
|
log.Error("获取机会数据失败err:%s", err)
|
|
|
return nil, nil
|
|
|
}
|
|
|
|
|
|
//https://web-open.fjmaimaimai.com/#/ 生产
|
|
|
// mmm-web-open-test.fjmaimaimai.com/
|
|
|
// SELECT a.id,a.department_id,a.audit_template_id,a.chance_type_id
|
...
|
...
|
|