|
@@ -391,12 +391,14 @@ func (this *RaiServeCoAntroller) List() {
|
|
|
br.ErrMsg = "获取用户信息失败-getServeBillTag!Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
//服务类型筛选
|
|
|
if serveTypeId > 0 {
|
|
|
conditionBill += ` AND serve_type_id = ? `
|
|
|
parsBill = append(parsBill, serveTypeId)
|
|
|
}
|
|
|
|
|
|
+ fmt.Println(conditionBill)
|
|
|
conditionBill += " AND company_id IN (" + utils.GetOrmInReplace(lencompanyIds) + ") "
|
|
|
parsBill = append(parsBill, companyIds)
|
|
|
|
|
@@ -436,6 +438,9 @@ func (this *RaiServeCoAntroller) List() {
|
|
|
item.ShareSellerId = v.ShareSellerId
|
|
|
item.Status = v.Status
|
|
|
item.PermissionName = v.PermissionName
|
|
|
+ if v.IsUserMaker == 0 {
|
|
|
+ item.IsRed = true
|
|
|
+ }
|
|
|
item.ThisWeekAmount = mapWeekAmount[fmt.Sprintf("CID_", v.CompanyId, "WEEK_", 0)]
|
|
|
item.LastWeekAmount = mapWeekAmount[fmt.Sprintf("CID_", v.CompanyId, "WEEK_", 1)]
|
|
|
item.TwoWeekAmount = mapWeekAmount[fmt.Sprintf("CID_", v.CompanyId, "WEEK_", 2)]
|
|
@@ -614,6 +619,9 @@ func RaiServeListExport(this *RaiServeCoAntroller, resp *cygx.CygxRaiServeCompan
|
|
|
|
|
|
// 标签搜索语句筛选
|
|
|
func getServeBillTag(tagType, tagId int) (conditionBill string, parsBill []interface{}, err error) {
|
|
|
+ if tagType == 0 {
|
|
|
+ return
|
|
|
+ }
|
|
|
var activityIds []int
|
|
|
var activitySpecialIds []int
|
|
|
var articleIds []int
|