Parcourir la source

王耀栋--工作台模块测试报告bug修改,自动运行功能开发

wangyaodong il y a 3 ans
Parent
commit
074d7d5d82

+ 1 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/project/ctrl/SimulationProjectCtrl.java

@@ -238,7 +238,7 @@ public class SimulationProjectCtrl {
      * 删除自动运行工作(支持批量删除)
      * @return
      */
-    @RequestMapping("deleteProjectByids")
+    @RequestMapping("deleteAutomaticProjectByids")
     @ResponseBody
     public ResponseBodyVO deleteAutomaticProjectByids(@RequestBody SimulationManualProjectParam param){
         return service.deleteAutomaticProjectByids(param);

+ 1 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/project/service/SimulationProjectService.java

@@ -59,6 +59,6 @@ public interface SimulationProjectService {
 
     ResponseBodyVO addOrUpdateAutomaticProject(SimulationManualProjectParam param);
 
-    ResponseBodyVO deleteAutomaticProjectByids(SimulationManualProjectParam param)
+    ResponseBodyVO deleteAutomaticProjectByids(SimulationManualProjectParam param);
 
 }

+ 1 - 1
simulation-resource-server/src/main/resources/mapper/project/SimulationAutomaticProjectMapper.xml

@@ -92,7 +92,7 @@
         algorithm_type = #{algorithmType,jdbcType=VARCHAR},
         vehicle = #{vehicle,jdbcType=VARCHAR},
         scene = #{scene,jdbcType=VARCHAR},
-        operation_cycle = #{operation_cycle,jdbcType=VARCHA},
+        operation_cycle = #{operation_cycle,jdbcType=VARCHAR},
         parallelism = #{parallelism,jdbcType=VARCHAR},
         is_choice_gpu = #{isChoiceGpu,jdbcType=VARCHAR}
         where id = #{id,jdbcType=VARCHAR} and is_deleted = '0'