Commit b4158d7d authored by wangqiang's avatar wangqiang

IED计划添加项目上下文对象;添加ExcelUtils对象

parent 087cdb96
package com.yonde.dcs.plan.core.controller;
import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder;
import org.springframework.stereotype.Controller;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
......@@ -25,7 +26,7 @@ import org.springframework.stereotype.Controller;
@RequestMapping("/ExtIDEPlan")
@ResponseBody()
@Controller(ExtIDEPlanController.BEAN_NAME)
public class ExtIDEPlanController<V extends ExtIDEPlanVO, S extends ExtIDEPlanService<V>> extends ExtIDEPlanControllerShadow<V, S> {
public class ExtIDEPlanController<V extends ExtIDEPlanVO & DxContextVOHolder, S extends ExtIDEPlanService<V>> extends ExtIDEPlanControllerShadow<V, S> {
}
......
package com.yonde.dcs.plan.core.controller.shadow;
import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
......@@ -29,7 +30,7 @@ import com.yonde.dex.basedata.entity.api.ApiResult;
* @version: V
* @date: 2024-8-29 9:31:22
**/
public class ExtIDEPlanControllerShadow<V extends ExtIDEPlanVO, S extends ExtIDEPlanService<V>> implements AbstractBaseController<V, S> ,AbstractLifecycleBaseController<V, S> ,AbstractVersionBaseController<V, S> ,DxObjFileLinkController<V, S>{
public class ExtIDEPlanControllerShadow<V extends ExtIDEPlanVO & DxContextVOHolder, S extends ExtIDEPlanService<V>> implements AbstractBaseController<V, S> ,AbstractLifecycleBaseController<V, S> ,AbstractVersionBaseController<V, S> ,DxObjFileLinkController<V, S>{
public static final String BEAN_NAME = "extIDEPlanController";
......
......@@ -2,12 +2,14 @@ package com.yonde.dcs.plan.core.service;
import com.yonde.dcs.plan.common.vo.ExtIDEPlanVO;
import com.yonde.dcs.plan.core.service.shadow.ExtIDEPlanServiceShadow;
import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder;
/**
* @description: ExtIDEPlan-service
* @author: dexadmin
* @version: V
* @date: 2024-8-29 9:31:22
**/
public interface ExtIDEPlanService<V extends ExtIDEPlanVO> extends ExtIDEPlanServiceShadow<V> {
public interface ExtIDEPlanService<V extends ExtIDEPlanVO & DxContextVOHolder> extends ExtIDEPlanServiceShadow<V> {
}
package com.yonde.dcs.plan.core.service.impl;
import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder;
import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation;
import java.util.List;
......@@ -21,7 +22,7 @@ import javax.annotation.Resource;
**/
@Slf4j
@Service(ExtIDEPlanServiceImpl.BEAN_NAME)
public class ExtIDEPlanServiceImpl<V extends ExtIDEPlanVO> implements ExtIDEPlanService<V>{
public class ExtIDEPlanServiceImpl<V extends ExtIDEPlanVO & DxContextVOHolder> implements ExtIDEPlanService<V>{
public static final String BEAN_NAME = "extIDEPlanServiceImpl";
......
......@@ -2,17 +2,19 @@ package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtIDEPlanVO;
import com.yonde.dcs.plan.feign.ExtIDEPlanServiceFeign;
import com.yonde.dex.context.plugin.common.entity.DxContextVOHolder;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService;
import com.yonde.dex.version.plugin.core.service.IterationService;
import com.yonde.dex.context.plugin.core.service.ContextPluginService;
import com.yonde.dex.lcycle.plugin.core.service.LifecycleBaseService;
import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginService;
/**
* @description: ExtIDEPlan-service
* @author: dexadmin
* @version: V
* @date: 2024-8-29 9:31:22
* @date: 2024-8-30 10:28:37
**/
public interface ExtIDEPlanServiceShadow<V extends ExtIDEPlanVO> extends ExtIDEPlanServiceFeign<V>, ObjFileLinkPluginService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,SecretCodePluginService<V> ,IterationService<V> {
public interface ExtIDEPlanServiceShadow<V extends ExtIDEPlanVO & DxContextVOHolder> extends ExtIDEPlanServiceFeign<V>, ContextPluginService<V> ,ObjFileLinkPluginService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,SecretCodePluginService<V> ,IterationService<V> {
}
......@@ -8,7 +8,7 @@ import com.yonde.dex.dao.service.BaseIdEntityService;
* @description: ExtIEDPlanDocLink-service
* @author: dexadmin
* @version: V
* @date: 2024-8-29 9:31:22
* @date: 2024-8-30 10:28:37
**/
public interface ExtIEDPlanDocLinkServiceShadow<V extends ExtIEDPlanDocLinkVO> extends ExtIEDPlanDocLinkServiceFeign<V>, BaseIdEntityService<V> ,DxLinkDataService<V> {
......
......@@ -3,7 +3,9 @@ package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtPlanVO;
import com.yonde.dcs.plan.feign.ExtPlanServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService;
import com.yonde.dex.version.plugin.core.service.IterationService;
import com.yonde.dex.context.plugin.core.service.ContextPluginService;
import com.yonde.dex.lcycle.plugin.core.service.LifecycleBaseService;
import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginService;
import com.yonde.dex.tree.plugin.core.service.BaseTreeService;
......@@ -11,8 +13,8 @@ import com.yonde.dex.tree.plugin.core.service.BaseTreeService;
* @description: ExtPlan-service
* @author: dexadmin
* @version: V
* @date: 2024-7-26 9:34:06
* @date: 2024-8-30 10:28:36
**/
public interface ExtPlanServiceShadow<V extends ExtPlanVO> extends ExtPlanServiceFeign<V>, ObjFileLinkPluginService<V> ,BaseTreeService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,IterationService<V> {
public interface ExtPlanServiceShadow<V extends ExtPlanVO> extends ExtPlanServiceFeign<V>, ContextPluginService<V> ,ObjFileLinkPluginService<V> ,BaseTreeService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,IterationService<V> ,SecretCodePluginService<V> {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment