|
@@ -7,6 +7,7 @@ import com.galaxis.manatee.service.ChuanyunService;
|
|
|
import com.galaxis.manatee.task.ChuanyunBasicDataScheduledTask;
|
|
|
import com.galaxis.manatee.task.ChuanyunHumanResourceScheduledTask;
|
|
|
import com.galaxis.manatee.util.ExcelUtils;
|
|
|
+import lombok.Data;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import net.sf.json.JSON;
|
|
|
import net.sf.json.JSONObject;
|
|
@@ -148,7 +149,23 @@ public class GetController {
|
|
|
@PostMapping("/test/updateEquipment")
|
|
|
public void updateEquipment(@RequestBody ChuanyunOperationInformationDO chuanyunOperationInformationDO){
|
|
|
chuanyunService.updateOperationInformation(chuanyunOperationInformationDO);
|
|
|
- };
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping("/test/hello")
|
|
|
+ public String testGet(){
|
|
|
+ return "hello";
|
|
|
+ }
|
|
|
+
|
|
|
+ @PostMapping("/test/hello")
|
|
|
+ public String testPost(@RequestBody PostObject postObject){
|
|
|
+ return "hello";
|
|
|
+ }
|
|
|
+
|
|
|
+ @Data
|
|
|
+ class PostObject{
|
|
|
+ private String a;
|
|
|
+ private String b;
|
|
|
+ }
|
|
|
|
|
|
// @GetMapping("/test/updateMember")
|
|
|
// public void updateMember(){
|