|
@@ -1122,9 +1122,10 @@ func AddChartInfo(req data_manage.AddChartInfoReq, source int, sysUser *system.A
|
|
|
chartInfo.UniqueCode = utils.MD5(utils.CHART_PREFIX + "_" + timestamp)
|
|
|
chartInfo.ChartType = 1 // 区间计算图
|
|
|
chartInfo.Calendar = "公历"
|
|
|
- chartInfo.DateType = 6
|
|
|
+ chartInfo.DateType = req.DateType
|
|
|
chartInfo.StartDate = req.StartDate
|
|
|
chartInfo.EndDate = req.EndDate
|
|
|
+ chartInfo.StartYear = req.StartYear
|
|
|
chartInfo.SeasonStartDate = req.StartDate
|
|
|
chartInfo.SeasonEndDate = req.EndDate
|
|
|
chartInfo.LeftMin = req.LeftMin
|