From f65ae5f58e1173d4423f93e46ab299d30295ab5b Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期四, 12 六月 2025 11:07:28 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override --- north-glass-erp/src/main/java/com/example/erp/controller/pp/OtherSystemInfoController.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/OtherSystemInfoController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/OtherSystemInfoController.java new file mode 100644 index 0000000..ac0a53f --- /dev/null +++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/OtherSystemInfoController.java @@ -0,0 +1,26 @@ +package com.example.erp.controller.pp; + +import com.example.erp.common.Result; +import com.example.erp.dto.otherSystem.OptimizeProject; +import com.example.erp.service.pp.OtherSystemInfoService; +import io.swagger.annotations.Api; +import lombok.RequiredArgsConstructor; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.validation.Valid; + +@RequiredArgsConstructor +@RestController +@Api(tags = "鍏朵粬绯荤粺淇℃伅") +@RequestMapping("/getOtherSystemInfo") +public class OtherSystemInfoController { + private final OtherSystemInfoService otherSystemInfoService; + + @PostMapping("/getGlassInfo") + public Result getGlassInfo(@Valid @RequestBody OptimizeProject glassInfo) { + return Result.seccess(otherSystemInfoService.saveGlassInfo(glassInfo)); + } +} -- Gitblit v1.8.0