Commit e86c43b7 by guojuxing

数据配置:年龄段配置

parent c1de5a98
......@@ -8,6 +8,7 @@ import com.gic.enterprise.web.vo.data.*;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -98,7 +99,7 @@ public class DataConfigController {
@RequestMapping("/config-generation")
public RestResponse configGeneration(List<DataGenerationConfigDTO> dtoList) {
public RestResponse configGeneration(@RequestBody List<DataGenerationConfigDTO> dtoList) {
return OperationResultUtils.operationResult(dataConfigApiService.saveGenerationConfig(dtoList.stream()
.map(e -> e.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId())).collect(Collectors.toList())),
OperationResultUtils.LOG_EDIT + "数据统计配置-年龄段配置",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment