activity_special.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. package controllers
  2. import (
  3. "encoding/json"
  4. "github.com/rdlucklib/rdluck_tools/paging"
  5. "hongze/hongze_cygx/models"
  6. "hongze/hongze_cygx/services"
  7. "hongze/hongze_cygx/utils"
  8. "strconv"
  9. "time"
  10. )
  11. // 专项调研活动
  12. type ActivitySpecialCoAntroller struct {
  13. BaseAuthController
  14. }
  15. // @Title 专项产业调研列表
  16. // @Description 获取专项产业调研列表接口
  17. // @Param PageSize query int true "每页数据条数"
  18. // @Param CurrentIndex query int true "当前页页码,从1开始"
  19. // @Success 200 {object} models.GetCygxActivitySpecialDetailListResp
  20. // @router /list [get]
  21. func (this *ActivitySpecialCoAntroller) SpecialList() {
  22. br := new(models.BaseResponse).Init()
  23. defer func() {
  24. this.Data["json"] = br
  25. this.ServeJSON()
  26. }()
  27. user := this.User
  28. if user == nil {
  29. br.Msg = "请登录"
  30. br.ErrMsg = "请登录,SysUser Is Empty"
  31. return
  32. }
  33. pageSize, _ := this.GetInt("PageSize")
  34. currentIndex, _ := this.GetInt("CurrentIndex")
  35. if pageSize <= 0 {
  36. pageSize = utils.PageSize20
  37. }
  38. if currentIndex <= 0 {
  39. currentIndex = 1
  40. }
  41. list, total, errList := services.GetActivitySpecialList(user, currentIndex, pageSize, "")
  42. if errList != nil {
  43. br.Msg = "获取失败"
  44. br.ErrMsg = "获取失败,Err:" + errList.Error()
  45. return
  46. }
  47. page := paging.GetPaging(currentIndex, pageSize, total)
  48. resp := new(models.GetCygxActivitySpecialDetailListResp)
  49. count, err := models.GetCygxUserFollowSpecial(user.UserId)
  50. if err != nil {
  51. br.Msg = "获取数据失败!"
  52. br.ErrMsg = "获取客户详情失败,Err:" + err.Error()
  53. return
  54. }
  55. if count == 1 && user.UserId > 0 {
  56. resp.IsFollow = true
  57. }
  58. if user.Mobile != "" {
  59. resp.IsBindingMobile = true
  60. }
  61. resp.List = list
  62. resp.Paging = page
  63. br.Ret = 200
  64. br.Success = true
  65. br.Msg = "获取成功"
  66. br.Data = resp
  67. }
  68. // @Title 专项产业调研详情
  69. // @Description 获取专项产业调研详情接口
  70. // @Param ActivityId query int true "活动ID"
  71. // @Success Ret=200 {object} models.CygxActivitySpecialResp
  72. // @router /detail [get]
  73. func (this *ActivitySpecialCoAntroller) SpecialDetail() {
  74. br := new(models.BaseResponse).Init()
  75. defer func() {
  76. this.Data["json"] = br
  77. this.ServeJSON()
  78. }()
  79. user := this.User
  80. if user == nil {
  81. br.Msg = "请登录"
  82. br.ErrMsg = "请登录,用户信息为空"
  83. br.Ret = 408
  84. return
  85. }
  86. uid := user.UserId
  87. activityId, _ := this.GetInt("ActivityId")
  88. if activityId < 1 {
  89. br.Msg = "请输入活动ID"
  90. return
  91. }
  92. resp := new(models.CygxActivitySpecialResp)
  93. activityInfo, err := models.GetCygxActivitySpecialDetailById(uid, activityId)
  94. if err != nil && err.Error() != utils.ErrNoRow() {
  95. br.Msg = "获取信息失败"
  96. br.ErrMsg = "活动ID错误,Err:" + "activityId:" + strconv.Itoa(activityId)
  97. return
  98. }
  99. if activityInfo == nil {
  100. br.Msg = "活动不存在"
  101. br.ErrMsg = "活动ID错误,Err:" + "activityId:" + strconv.Itoa(activityId)
  102. return
  103. }
  104. //havePower, err := services.GetSpecialDetailUserPower(user, activityInfo)
  105. //if err != nil {
  106. // br.Msg = "获取信息失败"
  107. // br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
  108. // return
  109. //}
  110. var havePower bool
  111. havePower = true
  112. //判断有没有对应的权限,如果没有则给出对应的状态码
  113. if havePower {
  114. resp.HasPermission = 1
  115. count, err := models.GetCygxUserFollowSpecial(user.UserId)
  116. if err != nil {
  117. br.Msg = "获取数据失败!"
  118. br.ErrMsg = "获取客户详情失败,Err:" + err.Error()
  119. return
  120. }
  121. if count == 1 {
  122. resp.IsFollow = true
  123. }
  124. activityInfo, err = services.HandleActivitySpecialShow(activityInfo, user)
  125. if err != nil {
  126. br.Msg = "获取数据失败!"
  127. br.ErrMsg = "HandleActivitySpecialShow,Err:" + err.Error()
  128. return
  129. }
  130. imgMap := services.GetActivitySpecialImgMap([]*models.CygxActivitySpecialDetail{activityInfo})
  131. if imgMap[activityId] != nil {
  132. activityInfo.ImgUrl = imgMap[activityId].ImgUrl
  133. }
  134. var condition string
  135. var pars []interface{}
  136. condition += ` AND t.activity_id = ? AND t.is_cancel = 0 `
  137. pars = append(pars, activityInfo.ActivityId)
  138. tripTota, err := models.GetActivitySpecialTripCountByActivityId(condition, pars)
  139. if err != nil {
  140. br.Msg = "获取数据失败!"
  141. br.ErrMsg = "GetActivitySpecialTripCountByActivityId,Err:" + err.Error()
  142. return
  143. }
  144. activityInfo.TripNum = tripTota
  145. activityInfo.ActivityTypeName = "专项调研"
  146. resp.Detail = activityInfo
  147. resp.Detail = activityInfo
  148. } else {
  149. hasPermission, sellerName, sellerMobile, popupMsg, err := services.GetUserHasPermission(user)
  150. if err != nil {
  151. br.Msg = "获取信息失败"
  152. br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
  153. return
  154. }
  155. resp.PopupMsg = popupMsg
  156. resp.HasPermission = hasPermission
  157. resp.SellerName = sellerName
  158. resp.SellerMobile = sellerMobile
  159. }
  160. br.Ret = 200
  161. br.Success = true
  162. br.Msg = "获取成功"
  163. br.Data = resp
  164. }
  165. // @Title报名
  166. // @Description 报名
  167. // @Param request body models.ActivityIdRep true "type json string"
  168. // @Success Ret=200 {object} models.SignupSpecialStatus
  169. // @router /add [post]
  170. func (this *ActivitySpecialCoAntroller) SpecialTripAdd() {
  171. br := new(models.BaseResponse).Init()
  172. defer func() {
  173. this.Data["json"] = br
  174. this.ServeJSON()
  175. }()
  176. user := this.User
  177. if user == nil {
  178. br.Msg = "请登录"
  179. br.ErrMsg = "请登录,用户信息为空"
  180. br.Ret = 408
  181. return
  182. }
  183. uid := user.UserId
  184. var req models.ActivityIdRep
  185. resp := new(models.SignupSpecialStatus)
  186. err := json.Unmarshal(this.Ctx.Input.RequestBody, &req)
  187. if err != nil {
  188. br.Msg = "参数解析异常!"
  189. br.ErrMsg = "参数解析失败,Err:" + err.Error()
  190. return
  191. }
  192. activityId := req.ActivityId
  193. activityInfo, errInfo := models.GetCygxActivitySpecialDetail(activityId)
  194. if activityInfo == nil {
  195. br.Msg = "操作失败"
  196. br.ErrMsg = "活动ID错误,不存在activityId:" + strconv.Itoa(activityId)
  197. return
  198. }
  199. if errInfo != nil {
  200. br.Msg = "操作失败"
  201. br.ErrMsg = "操作失败,Err:" + errInfo.Error()
  202. return
  203. }
  204. havePower, err := services.GetSpecialDetailUserPower(user, activityInfo)
  205. if err != nil {
  206. br.Msg = "获取信息失败"
  207. br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
  208. return
  209. }
  210. //判断有没有对应的权限,如果没有则给出对应的状态码
  211. if havePower {
  212. resp.HasPermission = 1
  213. signupStatus, popupMsg, popupMsg2, err := services.SpecialTripPopupMsg(activityInfo, user)
  214. if err != nil {
  215. br.Msg = "获取信息失败"
  216. br.ErrMsg = "SpecialTripPopupMsg,Err:" + err.Error()
  217. return
  218. }
  219. resp.PopupMsg = popupMsg
  220. resp.PopupMsg2 = popupMsg2
  221. resp.SignupStatus = signupStatus
  222. if signupStatus == 1 {
  223. total, err := models.GetUserActivitySpecialTripCount(user.UserId, activityId)
  224. if err != nil {
  225. br.Msg = "获取信息失败"
  226. br.ErrMsg = "获取日程数量信息失败,Err:" + err.Error()
  227. return
  228. }
  229. go services.SpecialActivityPointsBillSignupAddSpecial(activityId, uid) // 用户报名专项调研活动扣点处理
  230. //流水记录表
  231. //itemBill := new(models.CygxActivitySpecialTripBill)
  232. //itemBill.UserId = user.UserId
  233. //itemBill.ActivityId = activityInfo.ActivityId
  234. //itemBill.CreateTime = time.Now()
  235. //itemBill.Mobile = user.Mobile
  236. //itemBill.Email = user.Email
  237. //itemBill.CompanyId = user.CompanyId
  238. //itemBill.CompanyName = user.CompanyName
  239. //itemBill.RealName = user.RealName
  240. //itemBill.Source = 1
  241. //itemBill.DoType = 1
  242. //itemBill.BillDetailed = -1 // 流水减一
  243. //itemBill.RegisterPlatform = utils.REGISTER_PLATFORM
  244. //itemBill.ChartPermissionId = activityInfo.ChartPermissionId
  245. //itemBill.ChartPermissionName = activityInfo.ChartPermissionName
  246. //
  247. //if utils.InArrayByStr(utils.ACTIVITY_SPECIAL_TRIP_PERMISSION_NAME_OTHER, activityInfo.ChartPermissionName) {
  248. // //如果是策略、固收、周期行业,把代扣行业信息放入流水表,取消报名的时候,返点使用
  249. // maxChartPermissionId, maxChartPermissionName, err := services.GetSpecialBillMaxChartPermissionId(user)
  250. // if err != nil {
  251. // br.Msg = "操作失败"
  252. // br.ErrMsg = "获取销售信息失败,GetSpecialBillMaxChartPermissionId Err:" + err.Error()
  253. // return
  254. // }
  255. // itemBill.ChartPermissionId = maxChartPermissionId
  256. // itemBill.ChartPermissionName = maxChartPermissionName
  257. //}
  258. var itemMeeting = new(models.CygxActivitySpecialMeetingDetail)
  259. itemMeeting.UserId = user.UserId
  260. itemMeeting.ActivityId = activityId
  261. itemMeeting.CreateTime = time.Now()
  262. itemMeeting.Mobile = user.Mobile
  263. itemMeeting.Email = user.Email
  264. itemMeeting.CompanyId = user.CompanyId
  265. itemMeeting.CompanyName = user.CompanyName
  266. itemMeeting.RealName = user.RealName
  267. go services.ActivitySpecialUserRmind(user, activityId, 2)
  268. go services.ActivitySpecialUserAddTrip(user, activityId)
  269. //判断是删除还是添加
  270. if total == 0 {
  271. //获取销售信息
  272. sellerItem, err := models.GetSellerByCompanyIdCheckFicc(user.CompanyId, 2)
  273. if err != nil {
  274. br.Msg = "操作失败"
  275. br.ErrMsg = "获取销售信息失败,Err:" + err.Error()
  276. return
  277. }
  278. item := new(models.CygxActivitySpecialTrip)
  279. item.UserId = uid
  280. item.RealName = user.RealName
  281. item.ActivityId = activityId
  282. item.CreateTime = time.Now()
  283. item.Mobile = user.Mobile
  284. item.Email = user.Email
  285. item.CompanyId = user.CompanyId
  286. item.CompanyName = user.CompanyName
  287. item.IsValid = 1
  288. if sellerItem != nil {
  289. item.SellerName = sellerItem.RealName
  290. }
  291. if user.OutboundMobile != "" {
  292. item.OutboundMobile = user.OutboundMobile
  293. if user.OutboundCountryCode == "" {
  294. item.CountryCode = "86"
  295. } else {
  296. item.CountryCode = user.OutboundCountryCode
  297. }
  298. } else {
  299. item.OutboundMobile = user.Mobile
  300. if user.CountryCode == "" {
  301. item.CountryCode = "86"
  302. } else {
  303. item.CountryCode = user.CountryCode
  304. }
  305. }
  306. err = services.DeductTripRemainingtimesByUser(user, activityInfo) //扣除用户专项调研剩余次数
  307. if err != nil {
  308. br.Msg = "操作失败"
  309. br.ErrMsg = "操作失败,Err:" + err.Error()
  310. return
  311. }
  312. err = models.AddCygxActivitySpecialTrip(item)
  313. if err != nil {
  314. br.Msg = "操作失败"
  315. br.ErrMsg = "操作失败,Err:" + err.Error()
  316. return
  317. }
  318. //SignupStatus int `description:"返回状态:1:成功 、2 :人数已满 、3:调研次数已用完、 4:超时"`
  319. } else {
  320. updateParams := make(map[string]interface{})
  321. updateParams["IsValid"] = 1
  322. updateParams["CreateTime"] = time.Now()
  323. updateParams["IsCancel"] = 0
  324. whereParam := map[string]interface{}{"user_id": user.UserId, "activity_id": activityId}
  325. err = models.UpdateByExpr(models.CygxActivitySpecialTrip{}, whereParam, updateParams)
  326. if err != nil {
  327. br.Msg = "报名失败,"
  328. br.ErrMsg = "二次报名,更改报名是否有效状态失败,Err:" + err.Error()
  329. return
  330. }
  331. //resultTime := utils.StrTimeToTime(activityInfo.ActivityTime)
  332. ////48小时之内的取消也扣除一次参会记录
  333. //if time.Now().Add(+time.Hour * 48).After(resultTime) {
  334. // itemBill.BillDetailed = 0 //48小时之内,取消报名之后二次报名,不扣除流水记录
  335. //} else {
  336. // err = services.DeductTripRemainingtimesByUser(user, activityInfo) //扣除用户专项调研剩余次数
  337. // if err != nil {
  338. // br.Msg = "操作失败"
  339. // br.ErrMsg = "操作失败,Err:" + err.Error()
  340. // return
  341. // }
  342. //}
  343. }
  344. //userType, tripRemaining, mapChartName, err := services.GetChartPermissionSpecialSurplusByCompany(user.CompanyId)
  345. //if err != nil {
  346. // br.Msg = "获取专项调研剩余次数失败"
  347. // br.ErrMsg = "获取专项调研剩余次数失败,err:" + err.Error()
  348. // return
  349. //}
  350. //if userType == 2 {
  351. // tripRemaining = tripRemaining + itemBill.BillDetailed
  352. // itemBill.Total = strconv.Itoa(tripRemaining) + "次"
  353. //} else {
  354. // for k, num := range mapChartName {
  355. // if activityInfo.ChartPermissionName == k {
  356. // num = num + itemBill.BillDetailed
  357. // }
  358. // itemBill.Total += k + strconv.Itoa(num) + "次+"
  359. // }
  360. // itemBill.Total = strings.TrimRight(itemBill.Total, "+")
  361. //}
  362. //totalText, err := services.HandleActivitySpecialTripBillTotalText(user.CompanyId)
  363. //if err != nil {
  364. // br.Msg = "报名失败,"
  365. // br.ErrMsg = "二次报名,更改报名是否有效状态失败,Err:" + err.Error()
  366. // return
  367. //}
  368. //itemBill.Total = totalText
  369. //添加流水记录
  370. //err = models.AddCygxActivitySpecialTripBill(itemBill)
  371. //if err != nil {
  372. // br.Msg = "报名失败,"
  373. // br.ErrMsg = "AddCygxActivitySpecialTripBill,Err:" + err.Error()
  374. // return
  375. //}
  376. //添加数据到会信息
  377. err = models.AddCygxActivitySpecialMeetingDetail(itemMeeting)
  378. if err != nil {
  379. br.Msg = "报名失败,"
  380. br.ErrMsg = "AddCygxActivitySpecialMeetingDetail,Err:" + err.Error()
  381. return
  382. }
  383. }
  384. } else {
  385. hasPermission, sellerName, sellerMobile, popupMsg, err := services.GetUserHasPermission(user)
  386. if err != nil {
  387. br.Msg = "获取信息失败"
  388. br.ErrMsg = "判断是否已申请过试用失败,Err:" + err.Error()
  389. return
  390. }
  391. resp.PopupMsg = popupMsg
  392. resp.HasPermission = hasPermission
  393. resp.SellerName = sellerName
  394. resp.SellerMobile = sellerMobile
  395. }
  396. resp.ActivityId = activityId
  397. br.Ret = 200
  398. br.Success = true
  399. br.Msg = "操作成功"
  400. br.Data = resp
  401. }
  402. // @Title 取消报名
  403. // @Description 取消报名
  404. // @Param request body models.ActivityIdRep true "type json string"
  405. // @Success Ret=200 {object} models.SignupStatus
  406. // @router /trip/cancel [post]
  407. func (this *ActivitySpecialCoAntroller) Tripcancel() {
  408. br := new(models.BaseResponse).Init()
  409. defer func() {
  410. this.Data["json"] = br
  411. this.ServeJSON()
  412. }()
  413. user := this.User
  414. if user == nil {
  415. br.Msg = "请登录"
  416. br.ErrMsg = "请登录,用户信息为空"
  417. br.Ret = 408
  418. return
  419. }
  420. uid := user.UserId
  421. var req models.ActivityIdRep
  422. err := json.Unmarshal(this.Ctx.Input.RequestBody, &req)
  423. if err != nil {
  424. br.Msg = "参数解析异常!"
  425. br.ErrMsg = "参数解析失败,Err:" + err.Error()
  426. return
  427. }
  428. activityId := req.ActivityId
  429. total, err := models.GetUserActivitySpecialTripCount(user.UserId, activityId)
  430. if err != nil {
  431. br.Msg = "获取信息失败"
  432. br.ErrMsg = "获取日程数量信息失败,Err:" + err.Error()
  433. return
  434. }
  435. if total == 0 {
  436. br.Msg = "已取消报名!"
  437. return
  438. }
  439. activityInfo, errInfo := models.GetCygxActivitySpecialDetailById(uid, activityId)
  440. if activityInfo == nil {
  441. br.Msg = "操作失败"
  442. br.ErrMsg = "活动ID错误,不存在activityId:" + strconv.Itoa(activityId)
  443. return
  444. }
  445. if errInfo != nil {
  446. br.Msg = "操作失败"
  447. br.ErrMsg = "操作失败,Err:" + errInfo.Error()
  448. return
  449. }
  450. ////流水记录表
  451. //itemBill := new(models.CygxActivitySpecialTripBill)
  452. //itemBill.UserId = user.UserId
  453. //itemBill.ActivityId = activityInfo.ActivityId
  454. //itemBill.CreateTime = time.Now()
  455. //itemBill.Mobile = user.Mobile
  456. //itemBill.Email = user.Email
  457. //itemBill.CompanyId = user.CompanyId
  458. //itemBill.CompanyName = user.CompanyName
  459. //itemBill.RealName = user.RealName
  460. //itemBill.Source = 1
  461. //itemBill.DoType = 2
  462. //itemBill.BillDetailed = 1 // 流水加一
  463. //itemBill.RegisterPlatform = utils.REGISTER_PLATFORM
  464. //itemBill.ChartPermissionId = activityInfo.ChartPermissionId
  465. //itemBill.ChartPermissionName = activityInfo.ChartPermissionName
  466. resultTime := utils.StrTimeToTime(activityInfo.ActivityTime)
  467. //if utils.InArrayByStr(utils.ACTIVITY_SPECIAL_TRIP_PERMISSION_NAME_OTHER, activityInfo.ChartPermissionName) {
  468. // //如果是策略、固收、周期行业,把代扣行业信息放入流水表,取消报名的时候,返点使用
  469. // lastTripBill, err := models.GetCygxActivitySpecialTripBillLastDetialByActivityId(activityInfo.ActivityId, user.UserId)
  470. // if err != nil {
  471. // br.Msg = "操作失败"
  472. // br.ErrMsg = "获取销售信息失败,GetSpecialBillMaxChartPermissionId Err:" + err.Error()
  473. // return
  474. // }
  475. // itemBill.ChartPermissionId = lastTripBill.ChartPermissionId
  476. // itemBill.ChartPermissionName = lastTripBill.ChartPermissionName
  477. //}
  478. //48小时之内的取消也扣除一次参会记录
  479. var isValid int
  480. if time.Now().Add(+time.Hour * 48).After(resultTime) {
  481. isValid = 1
  482. //itemBill.BillDetailed = 0 //48小时之内取消的活动扣点不返回
  483. }
  484. //else {
  485. // err = services.RebateTripRemainingtimesByUser(user, activityInfo) // 返点
  486. // if err != nil {
  487. // br.Msg = "操作失败"
  488. // br.ErrMsg = "操作失败,RebateTripRemainingtimesByUserErr:" + err.Error()
  489. // return
  490. // }
  491. //}
  492. //userType, tripRemaining, mapChartName, err := services.GetChartPermissionSpecialSurplusByCompany(user.CompanyId)
  493. //if err != nil {
  494. // br.Msg = "获取专项调研剩余次数失败"
  495. // br.ErrMsg = "获取专项调研剩余次数失败,err:" + err.Error()
  496. // return
  497. //}
  498. //if userType == 2 {
  499. // tripRemaining += itemBill.BillDetailed
  500. // itemBill.Total = strconv.Itoa(tripRemaining) + "次"
  501. //} else {
  502. // for k, num := range mapChartName {
  503. // if activityInfo.ChartPermissionName == k {
  504. // num += itemBill.BillDetailed
  505. // }
  506. // itemBill.Total += k + strconv.Itoa(num) + "次+"
  507. // }
  508. // itemBill.Total = strings.TrimRight(itemBill.Total, "+")
  509. //}
  510. //totalText, err := services.HandleActivitySpecialTripBillTotalText(user.CompanyId)
  511. //if err != nil {
  512. // br.Msg = "操作失败,"
  513. // br.ErrMsg = "HandleActivitySpecialTripBillTotalText,Err:" + err.Error()
  514. // return
  515. //}
  516. //itemBill.Total = totalText
  517. err = models.CancelActivitySpecialTripIsValid(isValid, activityInfo.ActivityId, uid)
  518. if err != nil {
  519. br.Msg = "操作失败"
  520. br.ErrMsg = "CancelActivitySpecialTrip,Err:" + err.Error()
  521. return
  522. }
  523. err = models.CancelCygxActivitySpecialMeetingDetail(uid, activityId)
  524. if err != nil {
  525. br.Msg = "操作失败"
  526. br.ErrMsg = "CancelCygxActivitySpecialMeetingDetail,Err:" + err.Error()
  527. return
  528. }
  529. go services.ActivityPointsBillSignupCancelSpecial(activityId, uid) // 用户取消报名专项调研活动扣点处理
  530. //go models.AddCygxActivitySpecialTripBill(itemBill)
  531. br.Ret = 200
  532. br.Success = true
  533. br.Msg = "已取消"
  534. }