Commit de36b4cb authored by wangqiang's avatar wangqiang

季报和行动项功能开发

parent 52c540a9
package com.yonde.dcs.plan.common.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.basedata.entity.annotation.ReferenceProperty;
import com.yonde.dex.basedata.entity.annotation.VersionProperty;
import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOEmbeddable;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder;
import com.yonde.dex.user.common.vo.DxUserInfoVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
/**
* @description: ExtActionItem-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtActionItemVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtActionItemVO extends IdOnlyVO implements IdVO ,DxLifecycleManageBaseVOHolder ,DxObjFileLinkVOHolder ,DxSecretVOHolder{
public static final String DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME = "dxObjFileLinkEmbeddable";
public static final String DX_LIFECYCLE_MANAGE_BASE_EMBEDDABLE_PROP_NAME = "dxLifecycleManageBaseEmbeddable";
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_SECRET_EMBEDDABLE_PROP_NAME = "dxSecretEmbeddable";
public static final String ACTION_ITEM_NUMBER_PROP_NAME = "actionItemNumber";
public static final String ACTION_ITEM_TYPE_PROP_NAME = "actionItemType";
public static final String EXT_QUARTERLY_REPORT_PROP_NAME = "extQuarterlyReport";
public static final String EXT_QUARTERLY_REPORT_ID_PROP_NAME = "extQuarterlyReportId";
public static final String EXT_QUARTERLY_REPORT_ID_TYPE_PROP_NAME = "extQuarterlyReportIdType";
public static final String PLAN_COMPLETE_DATE_PROP_NAME = "planCompleteDate";
public static final String PRINCIPAL_PROP_NAME = "principal";
public static final String PRINCIPAL_ID_PROP_NAME = "principalId";
public static final String PRINCIPAL_ID_TYPE_PROP_NAME = "principalIdType";
public static final String PROJECT_CLASS_PROP_NAME = "projectClass";
public static final String PROJECT_NAME_PROP_NAME = "projectName";
public static final String PROJECT_SOURCE_PROP_NAME = "projectSource";
public static final String REAL_COMPLETE_TIME_PROP_NAME = "realCompleteTime";
public static final String SERIAL_NUMBER_PROP_NAME = "serialNumber";
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxObjFileLinkVOEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLifecycleManageBaseVOEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxSecretVOEmbeddable dxSecretEmbeddable;
/**
* 行动项编号
*/
private String actionItemNumber;
/**
* 行动项类型
*/
private String actionItemType;
/**
* 季报基本属性
*/
@ReferenceProperty(baseProperty = "extQuarterlyReportId")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private ExtQuarterlyReportVO extQuarterlyReport;
/**
* 季报基本属性
*/
private Long extQuarterlyReportId;
/**
* 季报基本属性
*/
private String extQuarterlyReportIdType;
/**
* 计划完成日期
*/
private LocalDateTime planCompleteDate;
/**
* 责任人
*/
@ReferenceProperty(baseProperty = "principalId")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private DxUserInfoVO principal;
/**
* 责任人
*/
private Long principalId;
/**
* 责任人
*/
private String principalIdType;
/**
* 根据项目信息自动带入,项目主管可修改。 将项目的‘项目分类’字段带过来
*/
private String projectClass;
/**
* 项目名称为所选项目的项目名称 任务名称由用户填写
*/
private String projectName;
/**
* 项目来源
*/
private String projectSource;
/**
* 实际完成时间
*/
private LocalDateTime realCompleteTime;
/**
* 序号,只有项目进展类型有
*/
private String serialNumber;
}
package com.yonde.dcs.plan.common.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.basedata.entity.annotation.RelationProperty;
import com.yonde.dex.basedata.entity.annotation.VersionProperty;
import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOHolder;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOEmbeddable;
import com.yonde.dex.lcycle.plugin.common.entity.DxLifecycleManageBaseVOHolder;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
import java.util.List;
/**
* @description: ExtQuarterlyReport-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtQuarterlyReportVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtQuarterlyReportVO extends IdOnlyVO implements IdVO ,DxLifecycleManageBaseVOHolder ,DxObjFileLinkVOHolder ,DxSecretVOHolder{
public static final String DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME = "dxObjFileLinkEmbeddable";
public static final String DX_LIFECYCLE_MANAGE_BASE_EMBEDDABLE_PROP_NAME = "dxLifecycleManageBaseEmbeddable";
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_SECRET_EMBEDDABLE_PROP_NAME = "dxSecretEmbeddable";
public static final String EXT_ACTION_ITEMS_PROP_NAME = "extActionItems";
public static final String FILE_NAME_PROP_NAME = "fileName";
public static final String FILE_NUMBER_PROP_NAME = "fileNumber";
public static final String QUARTER_PROP_NAME = "quarter";
public static final String QUARTERLY_REPORT_TIME_PROP_NAME = "quarterlyReportTime";
public static final String QUARTERLY_REPORT_TYPE_PROP_NAME = "quarterlyReportType";
public static final String STATISTICAL_DATE_PROP_NAME = "statisticalDate";
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxObjFileLinkVOEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLifecycleManageBaseVOEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxSecretVOEmbeddable dxSecretEmbeddable;
/**
* 季报行动项集合
*/
@RelationProperty(refProperty = "extQuarterlyReport")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private List<ExtActionItemVO> extActionItems;
/**
* 文件名称
*/
private String fileName;
/**
* 文件编号
*/
private String fileNumber;
/**
* 季度
*/
private String quarter;
/**
* 季报时间
*/
private LocalDateTime quarterlyReportTime;
/**
* 季报类型
*/
private String quarterlyReportType;
/**
* 经费数据统计截止日期
*/
private LocalDateTime statisticalDate;
}
package com.yonde.dcs.plan.core.controller;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dcs.plan.core.controller.shadow.ExtActionItemControllerShadow;
import com.yonde.dcs.plan.core.service.ExtActionItemService;
import com.yonde.dex.basedata.auth.annos.BasePermission;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @description: ExtActionItem-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@Api(tags = "ExtActionItem管理服务")
@RequestMapping("/ExtActionItem")
@ResponseBody()
@BasePermission("INET-QUARTERLYREPORT:ExtActionItem")
@Controller(ExtActionItemController.BEAN_NAME)
public class ExtActionItemController<V extends ExtActionItemVO, S extends ExtActionItemService<V>> extends ExtActionItemControllerShadow<V, S> {
}
package com.yonde.dcs.plan.core.controller;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dcs.plan.core.controller.shadow.ExtQuarterlyReportControllerShadow;
import com.yonde.dcs.plan.core.service.ExtQuarterlyReportService;
import com.yonde.dex.basedata.auth.annos.BasePermission;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* @description: ExtQuarterlyReport-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Api(tags = "ExtQuarterlyReport管理服务")
@RequestMapping("/ExtQuarterlyReport")
@ResponseBody()
@BasePermission("INET-QUARTERLYREPORT:ExtQuarterlyReport")
@Controller(ExtQuarterlyReportController.BEAN_NAME)
public class ExtQuarterlyReportController<V extends ExtQuarterlyReportVO, S extends ExtQuarterlyReportService<V>> extends ExtQuarterlyReportControllerShadow<V, S> {
}
package com.yonde.dcs.plan.core.controller.shadow;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dcs.plan.core.service.ExtActionItemService;
import com.yonde.dcs.plan.core.service.impl.ExtActionItemServiceImpl;
import com.yonde.dex.basedata.auth.annos.BasePermission;
import com.yonde.dex.baseweb.AbstractBaseController;
import com.yonde.dex.dfs.objfilelink.plugin.core.controller.DxObjFileLinkController;
import com.yonde.dex.lcycle.plugin.core.controller.AbstractLifecycleBaseController;
import javax.annotation.Resource;
/**
* @description: ExtActionItem-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@BasePermission("INET-QUARTERLYREPORT:ExtActionItem")
public class ExtActionItemControllerShadow<V extends ExtActionItemVO, S extends ExtActionItemService<V>> implements AbstractBaseController<V, S> ,AbstractLifecycleBaseController<V, S> ,DxObjFileLinkController<V, S>{
public static final String BEAN_NAME = "extActionItemController";
/**
* 注入
*/
@Resource(name = ExtActionItemServiceImpl.BEAN_NAME)
private ExtActionItemService<V> extActionItemService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extActionItemService;
}
}
package com.yonde.dcs.plan.core.controller.shadow;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dcs.plan.core.service.ExtQuarterlyReportService;
import com.yonde.dcs.plan.core.service.impl.ExtQuarterlyReportServiceImpl;
import com.yonde.dex.basedata.auth.annos.BasePermission;
import com.yonde.dex.baseweb.AbstractBaseController;
import com.yonde.dex.dfs.objfilelink.plugin.core.controller.DxObjFileLinkController;
import com.yonde.dex.lcycle.plugin.core.controller.AbstractLifecycleBaseController;
import javax.annotation.Resource;
/**
* @description: ExtQuarterlyReport-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@BasePermission("INET-QUARTERLYREPORT:ExtQuarterlyReport")
public class ExtQuarterlyReportControllerShadow<V extends ExtQuarterlyReportVO, S extends ExtQuarterlyReportService<V>> implements AbstractBaseController<V, S> ,AbstractLifecycleBaseController<V, S> ,DxObjFileLinkController<V, S>{
public static final String BEAN_NAME = "extQuarterlyReportController";
/**
* 注入
*/
@Resource(name = ExtQuarterlyReportServiceImpl.BEAN_NAME)
private ExtQuarterlyReportService<V> extQuarterlyReportService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extQuarterlyReportService;
}
}
package com.yonde.dcs.plan.core.repository;
import com.yonde.dcs.plan.core.repository.shadow.ExtActionItemRepositoryShadow;
import com.yonde.dcs.plan.entity.po.ExtActionItem;
/**
* @description: ExtActionItem-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public interface ExtActionItemRepository<P extends ExtActionItem> extends ExtActionItemRepositoryShadow<P> {
}
package com.yonde.dcs.plan.core.repository;
import com.yonde.dcs.plan.core.repository.shadow.ExtQuarterlyReportRepositoryShadow;
import com.yonde.dcs.plan.entity.po.ExtQuarterlyReport;
/**
* @description: ExtQuarterlyReport-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public interface ExtQuarterlyReportRepository<P extends ExtQuarterlyReport> extends ExtQuarterlyReportRepositoryShadow<P> {
}
package com.yonde.dcs.plan.core.repository.shadow;
import com.yonde.dcs.plan.entity.po.ExtActionItem;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.dfs.objfilelink.plugin.core.repository.DxObjFileLinkPluginRepository;
import com.yonde.dex.lcycle.plugin.core.repository.DxLifecycleManageBaseRepository;
import com.yonde.dex.secretcode.plugin.core.repositroy.DxSecretCodePluginRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtActionItem-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@NoRepositoryBean
public interface ExtActionItemRepositoryShadow<P extends ExtActionItem> extends DxObjFileLinkPluginRepository<P> ,DxLifecycleManageBaseRepository<P> ,BaseRepository<P> ,DxSecretCodePluginRepository<P> {
String BEAN_NAME = "extActionItemRepository";
}
package com.yonde.dcs.plan.core.repository.shadow;
import com.yonde.dcs.plan.entity.po.ExtQuarterlyReport;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.dfs.objfilelink.plugin.core.repository.DxObjFileLinkPluginRepository;
import com.yonde.dex.lcycle.plugin.core.repository.DxLifecycleManageBaseRepository;
import com.yonde.dex.secretcode.plugin.core.repositroy.DxSecretCodePluginRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtQuarterlyReport-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@NoRepositoryBean
public interface ExtQuarterlyReportRepositoryShadow<P extends ExtQuarterlyReport> extends DxObjFileLinkPluginRepository<P> ,DxLifecycleManageBaseRepository<P> ,BaseRepository<P> ,DxSecretCodePluginRepository<P> {
String BEAN_NAME = "extQuarterlyReportRepository";
}
package com.yonde.dcs.plan.core.service;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dcs.plan.core.service.shadow.ExtActionItemServiceShadow;
/**
* @description: ExtActionItem-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public interface ExtActionItemService<V extends ExtActionItemVO> extends ExtActionItemServiceShadow<V> {
}
package com.yonde.dcs.plan.core.service;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dcs.plan.core.service.shadow.ExtQuarterlyReportServiceShadow;
/**
* @description: ExtQuarterlyReport-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public interface ExtQuarterlyReportService<V extends ExtQuarterlyReportVO> extends ExtQuarterlyReportServiceShadow<V> {
}
package com.yonde.dcs.plan.core.service.impl;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dcs.plan.core.repository.ExtActionItemRepository;
import com.yonde.dcs.plan.core.service.ExtActionItemService;
import com.yonde.dcs.plan.entity.po.ExtActionItem;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtActionItem-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@Slf4j
@Service(ExtActionItemServiceImpl.BEAN_NAME)
public class ExtActionItemServiceImpl<V extends ExtActionItemVO> implements ExtActionItemService<V>{
public static final String BEAN_NAME = "extActionItemServiceImpl";
@Autowired
ExtActionItemRepository<ExtActionItem> extActionItemRepository;
}
package com.yonde.dcs.plan.core.service.impl;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dcs.plan.core.repository.ExtQuarterlyReportRepository;
import com.yonde.dcs.plan.core.service.ExtQuarterlyReportService;
import com.yonde.dcs.plan.entity.po.ExtQuarterlyReport;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtQuarterlyReport-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Slf4j
@Service(ExtQuarterlyReportServiceImpl.BEAN_NAME)
public class ExtQuarterlyReportServiceImpl<V extends ExtQuarterlyReportVO> implements ExtQuarterlyReportService<V>{
public static final String BEAN_NAME = "extQuarterlyReportServiceImpl";
@Autowired
ExtQuarterlyReportRepository<ExtQuarterlyReport> extQuarterlyReportRepository;
}
package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dcs.plan.feign.ExtActionItemServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginService;
import com.yonde.dex.lcycle.plugin.core.service.LifecycleBaseService;
import com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService;
/**
* @description: ExtActionItem-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public interface ExtActionItemServiceShadow<V extends ExtActionItemVO> extends ExtActionItemServiceFeign<V>, ObjFileLinkPluginService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,SecretCodePluginService<V> {
}
package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dcs.plan.feign.ExtQuarterlyReportServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.dfs.objfilelink.plugin.core.service.ObjFileLinkPluginService;
import com.yonde.dex.lcycle.plugin.core.service.LifecycleBaseService;
import com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService;
/**
* @description: ExtQuarterlyReport-service
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public interface ExtQuarterlyReportServiceShadow<V extends ExtQuarterlyReportVO> extends ExtQuarterlyReportServiceFeign<V>, ObjFileLinkPluginService<V> ,LifecycleBaseService<V> ,BaseIdEntityService<V> ,SecretCodePluginService<V> {
}
package com.yonde.dcs.plan.entity.po;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseHolder;
import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
import com.yonde.dex.secretcode.plugin.entities.DxSecretHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;
/**
* @description: ExtActionItem-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_ACTION_ITEM")
public class ExtActionItem extends IdOnlyEntity implements DxObjFileLinkHolder ,DxLifecycleManageBaseHolder ,IdEntity ,DxSecretHolder{
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLifecycleManageBaseEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxSecretEmbeddable dxSecretEmbeddable;
/**
* 行动项编号
*/
private String actionItemNumber;
/**
* 行动项类型
*/
private String actionItemType;
/**
* 季报基本属性的id
*/
private Long extQuarterlyReportId;
/**
* 季报基本属性的类型
*/
private String extQuarterlyReportIdType;
/**
* 计划完成日期
*/
private LocalDateTime planCompleteDate;
/**
* 责任人的id
*/
private Long principalId;
/**
* 责任人的类型
*/
private String principalIdType;
/**
* 根据项目信息自动带入,项目主管可修改。 将项目的‘项目分类’字段带过来
*/
private String projectClass;
/**
* 项目名称为所选项目的项目名称 任务名称由用户填写
*/
private String projectName;
/**
* 项目来源
*/
private String projectSource;
/**
* 实际完成时间
*/
private LocalDateTime realCompleteTime;
/**
* 序号,只有项目进展类型有
*/
private String serialNumber;
}
package com.yonde.dcs.plan.entity.po;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdEntity;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseHolder;
import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
import com.yonde.dex.secretcode.plugin.entities.DxSecretHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;
/**
* @description: ExtQuarterlyReport-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_QUARTERLY_REPORT")
public class ExtQuarterlyReport extends IdOnlyEntity implements DxObjFileLinkHolder ,DxLifecycleManageBaseHolder ,IdEntity ,DxSecretHolder{
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLifecycleManageBaseEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxSecretEmbeddable dxSecretEmbeddable;
/**
* 文件名称
*/
private String fileName;
/**
* 文件编号
*/
private String fileNumber;
/**
* 季度
*/
private String quarter;
/**
* 季报时间
*/
private LocalDateTime quarterlyReportTime;
/**
* 季报类型
*/
private String quarterlyReportType;
/**
* 经费数据统计截止日期
*/
private LocalDateTime statisticalDate;
}
package com.yonde.dcs.plan.feign;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dcs.plan.feign.shadow.ExtActionItemServiceFeignShadow;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
/**
* @description: ExtActionItem-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
@Api(tags = "ExtActionItem-FEIGN")
@FeignClient(value = "${dcs.feign.INET-PLAN}", path = "/ExtActionItem")
public interface ExtActionItemServiceFeign<V extends ExtActionItemVO> extends ExtActionItemServiceFeignShadow<V> {
}
package com.yonde.dcs.plan.feign;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dcs.plan.feign.shadow.ExtQuarterlyReportServiceFeignShadow;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
/**
* @description: ExtQuarterlyReport-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
@Api(tags = "ExtQuarterlyReport-FEIGN")
@FeignClient(value = "${dcs.feign.INET-PLAN}", path = "/ExtQuarterlyReport")
public interface ExtQuarterlyReportServiceFeign<V extends ExtQuarterlyReportVO> extends ExtQuarterlyReportServiceFeignShadow<V> {
}
package com.yonde.dcs.plan.feign.shadow;
import com.yonde.dcs.plan.common.vo.ExtActionItemVO;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.lcycle.plugin.feign.BaseLifecycleManageFeign;
import com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign;
/**
* @description: ExtActionItem-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:12
**/
public interface ExtActionItemServiceFeignShadow<V extends ExtActionItemVO> extends BaseLifecycleManageFeign<V> ,BaseFeign<V> ,SecretCodeFeign<V> {
String BEAN_NAME = "extActionItemServiceFeign";
}
package com.yonde.dcs.plan.feign.shadow;
import com.yonde.dcs.plan.common.vo.ExtQuarterlyReportVO;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.lcycle.plugin.feign.BaseLifecycleManageFeign;
import com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign;
/**
* @description: ExtQuarterlyReport-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-5 10:16:11
**/
public interface ExtQuarterlyReportServiceFeignShadow<V extends ExtQuarterlyReportVO> extends BaseLifecycleManageFeign<V> ,BaseFeign<V> ,SecretCodeFeign<V> {
String BEAN_NAME = "extQuarterlyReportServiceFeign";
}
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