|
|
@@ -6,6 +6,7 @@ import com.malk.utils.UtilMap;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
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;
|
|
|
|
|
|
@@ -46,6 +47,11 @@ public class PkProjectController {
|
|
|
}
|
|
|
return McR.success();
|
|
|
}
|
|
|
+ @PostMapping("/testTrain")
|
|
|
+ public void testTrain(@RequestBody Map data){
|
|
|
+ pkProjectService.getTrainInternal(data.get("startDate").toString(),data.get("endDate").toString());
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|