|
@@ -22,6 +22,7 @@ import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -74,5 +75,14 @@ public class PlanController {
|
|
|
boolean res = planFacade.revStopPlan(planRevStopVO);
|
|
|
return RespDTO.onSuc(res);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "获取默认方案配置[by:wangfeng]", notes = "获取默认方案配置")
|
|
|
+ @PostMapping("/getPlansDefault")
|
|
|
+ @SysLogger("getPlansDefault")
|
|
|
+ @Transactional
|
|
|
+ public RespDTO<List<PlanInfoPagesDTO>> getPlansDefault() {
|
|
|
+ List<PlanInfoPagesDTO> data = planFacade.getPlansDefaults();
|
|
|
+ return RespDTO.onSuc(data);
|
|
|
+ }
|
|
|
}
|
|
|
|