Commit 9359d1be authored by 侯彦文's avatar 侯彦文

供应商管理

parent ad8034bf
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 lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
import java.util.List;
/**
* @description: ExtQualifications-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtQualificationsVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtQualificationsVO extends IdOnlyVO implements IdVO {
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String CERTIFICATE_NUMBER_PROP_NAME = "certificateNumber";
public static final String CERTIFICATE_TIME_PROP_NAME = "certificateTime";
public static final String EXT_SUPPLIER_MANAGE_LINKS_PROP_NAME = "extSupplierManageLinks";
public static final String QUALIFICATIONS_CONTENT_PROP_NAME = "qualificationsContent";
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 证书编号
*/
private String certificateNumber;
/**
* 证书有效期
*/
private LocalDateTime certificateTime;
/**
* ExtSupplierManageLink集合
*/
@RelationProperty(refProperty = "target")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private List<ExtSupplierManageLinkVO> extSupplierManageLinks;
/**
* 资质内容
*/
private String qualificationsContent;
}
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.DexTypeVersionProp;
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.linkdata.plugin.common.DxLinkDataVOEmbeddable;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
* @description: ExtSupplierManageLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtSupplierManageLinkVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@DexTypeVersionProp(propName = "source", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION))
public class ExtSupplierManageLinkVO extends IdOnlyVO implements IdVO, DxLinkDataVOHolder<ExtSupplierManageVO, ExtQualificationsVO> {
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable";
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLinkDataVOEmbeddable<ExtSupplierManageVO, ExtQualificationsVO> dxLinkDataEmbeddable;
}
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.logicdelete.plugin.common.entity.DxLogicDeleteVOEmbeddable;
import com.yonde.dex.logicdelete.plugin.common.entity.DxLogicDeleteVOHolder;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOEmbeddable;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder;
import com.yonde.dex.version.plugin.common.entity.DxIterationVOEmbeddable;
import com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.time.LocalDateTime;
import java.util.List;
/**
* @description: ExtSupplierManage-VO
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtSupplierManageVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtSupplierManageVO extends IdOnlyVO implements DxIterationVOHolder<ExtSupplierManageVO>, IdVO, DxLifecycleManageBaseVOHolder, DxObjFileLinkVOHolder, DxLogicDeleteVOHolder, 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_LOGIC_DELETE_EMBEDDABLE_PROP_NAME = "dxLogicDeleteEmbeddable";
public static final String DX_ITERATION_EMBEDDABLE_PROP_NAME = "dxIterationEmbeddable";
public static final String DX_SECRET_EMBEDDABLE_PROP_NAME = "dxSecretEmbeddable";
public static final String CQC_NUMBER_PROP_NAME = "cqcNumber";
public static final String CQC_VALIDITY_TIME_PROP_NAME = "cqcValidityTime";
public static final String CQM_NUMBER_PROP_NAME = "cqmNumber";
public static final String CQM_VALIDITY_TIME_PROP_NAME = "cqmValidityTime";
public static final String DIRECTORY_VALIDITY_PROP_NAME = "directoryValidity";
public static final String EXT_SUPPLIER_MANAGE_LINKS_PROP_NAME = "extSupplierManageLinks";
public static final String OPERATE_TYPE_PROP_NAME = "operateType";
public static final String QSC_NUMBER_PROP_NAME = "qscNumber";
public static final String QSC_VALIDITY_TIME_PROP_NAME = "qscValidityTime";
public static final String REGISTRATION_FUND_PROP_NAME = "registrationFund";
public static final String REGISTRATION_TIME_PROP_NAME = "registrationTime";
public static final String STUDY_PERMIT_NUMBER_PROP_NAME = "studyPermitNumber";
public static final String STUDY_PERMIT_TIME_PROP_NAME = "studyPermitTime";
public static final String SUPPLIER_ADDRESS_PROP_NAME = "supplierAddress";
public static final String SUPPLIER_TYPE_PROP_NAME = "supplierType";
public static final String UNIFIED_SOCIETY_CODE_PROP_NAME = "unifiedSocietyCode";
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxObjFileLinkVOEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLifecycleManageBaseVOEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLogicDeleteVOEmbeddable dxLogicDeleteEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxIterationVOEmbeddable<ExtSupplierManageVO> dxIterationEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxSecretVOEmbeddable dxSecretEmbeddable;
/**
* 保密资质证书编号
*/
private String cqcNumber;
/**
* 保密资质证书有效期
*/
private String cqcValidityTime;
/**
* 承制资格证书
*/
private String cqmNumber;
/**
* 承制资格证书有效期
*/
private LocalDateTime cqmValidityTime;
/**
* 名录有效期
*/
private String directoryValidity;
/**
* ExtSupplierManageLink集合
*/
@RelationProperty(refProperty = "source")
@VersionProperty(curVersion = VersionRelationType.ITERATION, refVersion = VersionRelationType.NONE)
private List<ExtSupplierManageLinkVO> extSupplierManageLinks;
/**
* 经营类别
*/
private String operateType;
/**
* 质量体系证书编号
*/
private String qscNumber;
/**
* 质量体系有效期
*/
private LocalDateTime qscValidityTime;
/**
* 注册资金
*/
private String registrationFund;
/**
* 注册时间
*/
private LocalDateTime registrationTime;
/**
* 科研许可证编号
*/
private String studyPermitNumber;
/**
* 科研许可证有效期
*/
private LocalDateTime studyPermitTime;
/**
* 供方地址
*/
private String supplierAddress;
/**
* 供方类别
*/
private String supplierType;
/**
* 统一社会信用引用代码
*/
private String unifiedSocietyCode;
}
package com.yonde.dcs.plan.core.controller;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import com.yonde.dcs.plan.core.controller.shadow.ExtQualificationsControllerShadow;
import com.yonde.dcs.plan.core.service.ExtQualificationsService;
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: ExtQualifications-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Api(tags = "ExtQualifications管理服务")
@RequestMapping("/ExtQualifications")
@ResponseBody()
@Controller(ExtQualificationsController.BEAN_NAME)
public class ExtQualificationsController<V extends ExtQualificationsVO, S extends ExtQualificationsService<V>> extends ExtQualificationsControllerShadow<V, S> {
}
package com.yonde.dcs.plan.core.controller;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import com.yonde.dcs.plan.core.controller.shadow.ExtSupplierManageControllerShadow;
import com.yonde.dcs.plan.core.service.ExtSupplierManageService;
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: ExtSupplierManage-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
@Api(tags = "ExtSupplierManage管理服务")
@RequestMapping("/ExtSupplierManage")
@ResponseBody()
@Controller(ExtSupplierManageController.BEAN_NAME)
public class ExtSupplierManageController<V extends ExtSupplierManageVO, S extends ExtSupplierManageService<V>> extends ExtSupplierManageControllerShadow<V, S> {
}
package com.yonde.dcs.plan.core.controller;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import com.yonde.dcs.plan.core.controller.shadow.ExtSupplierManageLinkControllerShadow;
import com.yonde.dcs.plan.core.service.ExtSupplierManageLinkService;
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: ExtSupplierManageLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Api(tags = "ExtSupplierManageLink管理服务")
@RequestMapping("/ExtSupplierManageLink")
@ResponseBody()
@Controller(ExtSupplierManageLinkController.BEAN_NAME)
public class ExtSupplierManageLinkController<V extends ExtSupplierManageLinkVO, S extends ExtSupplierManageLinkService<V>> extends ExtSupplierManageLinkControllerShadow<V, S> {
}
package com.yonde.dcs.plan.core.controller.shadow;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import com.yonde.dcs.plan.core.service.ExtQualificationsService;
import com.yonde.dcs.plan.core.service.impl.ExtQualificationsServiceImpl;
import com.yonde.dex.baseweb.AbstractBaseController;
import javax.annotation.Resource;
/**
* @description: ExtQualifications-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public class ExtQualificationsControllerShadow<V extends ExtQualificationsVO, S extends ExtQualificationsService<V>> implements AbstractBaseController<V, S> {
public static final String BEAN_NAME = "extQualificationsController";
/**
* 注入
*/
@Resource(name = ExtQualificationsServiceImpl.BEAN_NAME)
private ExtQualificationsService<V> extQualificationsService;
/**
* getService
*/
@Override
public S getService() {
return (S) this.extQualificationsService;
}
}
package com.yonde.dcs.plan.core.controller.shadow;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import com.yonde.dcs.plan.core.service.ExtSupplierManageService;
import com.yonde.dcs.plan.core.service.impl.ExtSupplierManageServiceImpl;
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 com.yonde.dex.version.plugin.core.controller.AbstractVersionBaseController;
import javax.annotation.Resource;
/**
* @description: ExtSupplierManage-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
public class ExtSupplierManageControllerShadow<V extends ExtSupplierManageVO, S extends ExtSupplierManageService<V>> implements AbstractBaseController<V, S>, AbstractLifecycleBaseController<V, S>, AbstractVersionBaseController<V, S>, DxObjFileLinkController<V, S> {
public static final String BEAN_NAME = "extSupplierManageController";
/**
* 注入
*/
@Resource(name = ExtSupplierManageServiceImpl.BEAN_NAME)
private ExtSupplierManageService<V> extSupplierManageService;
/**
* getService
*/
@Override
public S getService() {
return (S) this.extSupplierManageService;
}
}
package com.yonde.dcs.plan.core.controller.shadow;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import com.yonde.dcs.plan.core.service.ExtSupplierManageLinkService;
import com.yonde.dcs.plan.core.service.impl.ExtSupplierManageLinkServiceImpl;
import com.yonde.dex.baseweb.AbstractBaseController;
import com.yonde.dex.linkdata.plugin.core.controller.DxLinkDataController;
import javax.annotation.Resource;
/**
* @description: ExtSupplierManageLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public class ExtSupplierManageLinkControllerShadow<V extends ExtSupplierManageLinkVO, S extends ExtSupplierManageLinkService<V>> implements AbstractBaseController<V, S>, DxLinkDataController<V, S> {
public static final String BEAN_NAME = "extSupplierManageLinkController";
/**
* 注入
*/
@Resource(name = ExtSupplierManageLinkServiceImpl.BEAN_NAME)
private ExtSupplierManageLinkService<V> extSupplierManageLinkService;
/**
* getService
*/
@Override
public S getService() {
return (S) this.extSupplierManageLinkService;
}
}
package com.yonde.dcs.plan.core.repository;
import com.yonde.dcs.plan.core.repository.shadow.ExtQualificationsRepositoryShadow;
import com.yonde.dcs.plan.entity.po.ExtQualifications;
/**
* @description: ExtQualifications-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtQualificationsRepository<P extends ExtQualifications> extends ExtQualificationsRepositoryShadow<P> {
}
package com.yonde.dcs.plan.core.repository;
import com.yonde.dcs.plan.core.repository.shadow.ExtSupplierManageLinkRepositoryShadow;
import com.yonde.dcs.plan.entity.po.ExtSupplierManageLink;
/**
* @description: ExtSupplierManageLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtSupplierManageLinkRepository<P extends ExtSupplierManageLink> extends ExtSupplierManageLinkRepositoryShadow<P> {
}
package com.yonde.dcs.plan.core.repository;
import com.yonde.dcs.plan.core.repository.shadow.ExtSupplierManageRepositoryShadow;
import com.yonde.dcs.plan.entity.po.ExtSupplierManage;
/**
* @description: ExtSupplierManage-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
public interface ExtSupplierManageRepository<P extends ExtSupplierManage> extends ExtSupplierManageRepositoryShadow<P> {
}
package com.yonde.dcs.plan.core.repository.shadow;
import com.yonde.dcs.plan.entity.po.ExtQualifications;
import com.yonde.dex.dao.business.repository.BaseRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtQualifications-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@NoRepositoryBean
public interface ExtQualificationsRepositoryShadow<P extends ExtQualifications> extends BaseRepository<P> {
String BEAN_NAME = "extQualificationsRepository";
}
package com.yonde.dcs.plan.core.repository.shadow;
import com.yonde.dcs.plan.entity.po.ExtSupplierManageLink;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtSupplierManageLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@NoRepositoryBean
public interface ExtSupplierManageLinkRepositoryShadow<P extends ExtSupplierManageLink> extends BaseRepository<P>, DxLinkDataRepository<P> {
String BEAN_NAME = "extSupplierManageLinkRepository";
}
package com.yonde.dcs.plan.core.repository.shadow;
import com.yonde.dcs.plan.entity.po.ExtSupplierManage;
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.logicdelete.plugin.core.repository.DxLogicDeleteRepository;
import com.yonde.dex.secretcode.plugin.core.repositroy.DxSecretCodePluginRepository;
import com.yonde.dex.version.plugin.core.repository.DxIterationRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* @description: ExtSupplierManage-repository
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
@NoRepositoryBean
public interface ExtSupplierManageRepositoryShadow<P extends ExtSupplierManage> extends DxObjFileLinkPluginRepository<P>, DxLifecycleManageBaseRepository<P>, BaseRepository<P>, DxLogicDeleteRepository<P>, DxIterationRepository<P>, DxSecretCodePluginRepository<P> {
String BEAN_NAME = "extSupplierManageRepository";
}
package com.yonde.dcs.plan.core.service;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import com.yonde.dcs.plan.core.service.shadow.ExtQualificationsServiceShadow;
/**
* @description: ExtQualifications-service
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtQualificationsService<V extends ExtQualificationsVO> extends ExtQualificationsServiceShadow<V> {
}
package com.yonde.dcs.plan.core.service;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import com.yonde.dcs.plan.core.service.shadow.ExtSupplierManageLinkServiceShadow;
/**
* @description: ExtSupplierManageLink-service
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtSupplierManageLinkService<V extends ExtSupplierManageLinkVO> extends ExtSupplierManageLinkServiceShadow<V> {
}
package com.yonde.dcs.plan.core.service;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import com.yonde.dcs.plan.core.service.shadow.ExtSupplierManageServiceShadow;
/**
* @description: ExtSupplierManage-service
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
public interface ExtSupplierManageService<V extends ExtSupplierManageVO> extends ExtSupplierManageServiceShadow<V> {
}
package com.yonde.dcs.plan.core.service.impl;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import com.yonde.dcs.plan.core.repository.ExtQualificationsRepository;
import com.yonde.dcs.plan.core.service.ExtQualificationsService;
import com.yonde.dcs.plan.entity.po.ExtQualifications;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtQualifications-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Slf4j
@Service(ExtQualificationsServiceImpl.BEAN_NAME)
public class ExtQualificationsServiceImpl<V extends ExtQualificationsVO> implements ExtQualificationsService<V> {
public static final String BEAN_NAME = "extQualificationsServiceImpl";
@Autowired
ExtQualificationsRepository<ExtQualifications> extQualificationsRepository;
}
package com.yonde.dcs.plan.core.service.impl;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import com.yonde.dcs.plan.core.repository.ExtSupplierManageLinkRepository;
import com.yonde.dcs.plan.core.service.ExtSupplierManageLinkService;
import com.yonde.dcs.plan.entity.po.ExtSupplierManageLink;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtSupplierManageLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Slf4j
@Service(ExtSupplierManageLinkServiceImpl.BEAN_NAME)
public class ExtSupplierManageLinkServiceImpl<V extends ExtSupplierManageLinkVO> implements ExtSupplierManageLinkService<V> {
public static final String BEAN_NAME = "extSupplierManageLinkServiceImpl";
@Autowired
ExtSupplierManageLinkRepository<ExtSupplierManageLink> extSupplierManageLinkRepository;
}
package com.yonde.dcs.plan.core.service.impl;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import com.yonde.dcs.plan.core.repository.ExtSupplierManageRepository;
import com.yonde.dcs.plan.core.service.ExtSupplierManageService;
import com.yonde.dcs.plan.entity.po.ExtSupplierManage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* @description: ExtSupplierManage-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
@Slf4j
@Service(ExtSupplierManageServiceImpl.BEAN_NAME)
public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> implements ExtSupplierManageService<V> {
public static final String BEAN_NAME = "extSupplierManageServiceImpl";
@Autowired
ExtSupplierManageRepository<ExtSupplierManage> extSupplierManageRepository;
}
package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import com.yonde.dcs.plan.feign.ExtQualificationsServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
/**
* @description: ExtQualifications-service
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtQualificationsServiceShadow<V extends ExtQualificationsVO> extends ExtQualificationsServiceFeign<V>, BaseIdEntityService<V> {
}
package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import com.yonde.dcs.plan.feign.ExtSupplierManageLinkServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
import com.yonde.dex.linkdata.plugin.core.service.DxLinkDataService;
/**
* @description: ExtSupplierManageLink-service
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtSupplierManageLinkServiceShadow<V extends ExtSupplierManageLinkVO> extends ExtSupplierManageLinkServiceFeign<V>, BaseIdEntityService<V>, DxLinkDataService<V> {
}
package com.yonde.dcs.plan.core.service.shadow;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import com.yonde.dcs.plan.feign.ExtSupplierManageServiceFeign;
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.logicdelete.plugin.core.service.LogicDeleteService;
import com.yonde.dex.secretcode.plugin.core.service.SecretCodePluginService;
import com.yonde.dex.version.plugin.core.service.IterationService;
/**
* @description: ExtSupplierManage-service
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
public interface ExtSupplierManageServiceShadow<V extends ExtSupplierManageVO> extends ExtSupplierManageServiceFeign<V>, ObjFileLinkPluginService<V>, LifecycleBaseService<V>, BaseIdEntityService<V>, LogicDeleteService<V>, IterationService<V>, SecretCodePluginService<V> {
}
package com.yonde.dcs.plan.entity.po;
import org.springframework.data.annotation.CreatedBy;
import javax.persistence.UniqueConstraint;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.LastModifiedDate;
import com.yonde.dex.dao.entity.base.IdEntity;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.Column;
import org.springframework.data.annotation.CreatedDate;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
/**
* @description: ExtQualifications-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_QUALIFICATIONS")
public class ExtQualifications extends IdOnlyEntity implements IdEntity{
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 证书编号
*/
private String certificateNumber;
/**
* 证书有效期
*/
private LocalDateTime certificateTime;
/**
* 资质内容的类型
*/
private String qualificationsContent;
}
package com.yonde.dcs.plan.entity.po;
import org.springframework.data.annotation.CreatedBy;
import javax.persistence.UniqueConstraint;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.LastModifiedDate;
import com.yonde.dex.dao.entity.base.IdEntity;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.Column;
import org.springframework.data.annotation.CreatedDate;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder;
import com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable;
import com.yonde.dex.history.plugin.entities.DxHistoryPlugin;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.version.plugin.entities.DxIterationHolder;
import com.yonde.dex.logicdelete.plugin.entities.DxLogicDeleteHolder;
import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column;
import com.yonde.dex.secretcode.plugin.entities.DxSecretHolder;
import com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseHolder;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
import com.yonde.dex.logicdelete.plugin.entities.DxLogicDeleteEmbeddable;
import com.yonde.dex.version.plugin.entities.DxIterationEmbeddable;
/**
* @description: ExtSupplierManage-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:16
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_SUPPLIER_MANAGE")
public class ExtSupplierManage extends IdOnlyEntity implements DxObjFileLinkHolder ,DxLifecycleManageBaseHolder ,DxHistoryPlugin<ExtSupplierManageHistory,ExtSupplierManageCurrent> ,IdEntity ,DxLogicDeleteHolder ,DxIterationHolder ,DxSecretHolder{
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLifecycleManageBaseEmbeddable dxLifecycleManageBaseEmbeddable;
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLogicDeleteEmbeddable dxLogicDeleteEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxIterationEmbeddable dxIterationEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxSecretEmbeddable dxSecretEmbeddable;
/**
* 保密资质证书编号
*/
private String cqcNumber;
/**
* 保密资质证书有效期
*/
private String cqcValidityTime;
/**
* 承制资格证书
*/
private String cqmNumber;
/**
* 承制资格证书有效期
*/
private LocalDateTime cqmValidityTime;
/**
* 名录有效期
*/
private String directoryValidity;
/**
* 经营类别
*/
private String operateType;
/**
* 质量体系证书编号
*/
private String qscNumber;
/**
* 质量体系有效期
*/
private LocalDateTime qscValidityTime;
/**
* 注册资金
*/
private String registrationFund;
/**
* 注册时间
*/
private LocalDateTime registrationTime;
/**
* 科研许可证编号
*/
private String studyPermitNumber;
/**
* 科研许可证有效期
*/
private LocalDateTime studyPermitTime;
/**
* 供方地址
*/
private String supplierAddress;
/**
* 供方类别的类型
*/
private String supplierType;
/**
* 统一社会信用引用代码
*/
private String unifiedSocietyCode;
}
package com.yonde.dcs.plan.entity.po;
import org.springframework.data.annotation.CreatedBy;
import javax.persistence.UniqueConstraint;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.LastModifiedDate;
import com.yonde.dex.dao.entity.base.IdEntity;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.Column;
import org.springframework.data.annotation.CreatedDate;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
/**
* @description: ExtSupplierManageLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_SUPPLIER_MANAGE_LINK")
public class ExtSupplierManageLink extends IdOnlyEntity implements IdEntity ,DxLinkDataHolder{
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLinkDataEmbeddable dxLinkDataEmbeddable;
}
package com.yonde.dcs.plan.feign;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dcs.plan.feign.shadow.ExtQualificationsServiceFeignShadow;
/**
* @description: ExtQualifications-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Api(tags = "ExtQualifications-FEIGN")
@FeignClient(value = "${dcs.feign.INET-PLAN}", path = "/ExtQualifications")
public interface ExtQualificationsServiceFeign<V extends ExtQualificationsVO> extends ExtQualificationsServiceFeignShadow<V> {
}
package com.yonde.dcs.plan.feign;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dcs.plan.feign.shadow.ExtSupplierManageLinkServiceFeignShadow;
/**
* @description: ExtSupplierManageLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Api(tags = "ExtSupplierManageLink-FEIGN")
@FeignClient(value = "${dcs.feign.INET-PLAN}", path = "/ExtSupplierManageLink")
public interface ExtSupplierManageLinkServiceFeign<V extends ExtSupplierManageLinkVO> extends ExtSupplierManageLinkServiceFeignShadow<V> {
}
package com.yonde.dcs.plan.feign;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dcs.plan.feign.shadow.ExtSupplierManageServiceFeignShadow;
/**
* @description: ExtSupplierManage-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
@Api(tags = "ExtSupplierManage-FEIGN")
@FeignClient(value = "${dcs.feign.INET-PLAN}", path = "/ExtSupplierManage")
public interface ExtSupplierManageServiceFeign<V extends ExtSupplierManageVO> extends ExtSupplierManageServiceFeignShadow<V> {
}
package com.yonde.dcs.plan.feign.shadow;
import com.yonde.dcs.plan.common.vo.ExtQualificationsVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.dao.service.remotes.BaseFeign;
/**
* @description: ExtQualifications-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtQualificationsServiceFeignShadow<V extends ExtQualificationsVO> extends BaseFeign<V> {
String BEAN_NAME = "extQualificationsServiceFeign";
}
package com.yonde.dcs.plan.feign.shadow;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageLinkVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.linkdata.plugin.feign.DxLinkDataFeign;
/**
* @description: ExtSupplierManageLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtSupplierManageLinkServiceFeignShadow<V extends ExtSupplierManageLinkVO> extends BaseFeign<V> ,DxLinkDataFeign<V> {
String BEAN_NAME = "extSupplierManageLinkServiceFeign";
}
package com.yonde.dcs.plan.feign.shadow;
import com.yonde.dcs.plan.common.vo.ExtSupplierManageVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.lcycle.plugin.feign.BaseLifecycleManageFeign;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.secretcode.plugin.feign.SecretCodeFeign;
import com.yonde.dex.version.plugin.feign.BaseVersionFeign;
import com.yonde.dex.history.plugin.feign.DxHistoryFeign;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder;
import com.yonde.dex.logicdelete.plugin.feign.LogicDeleteFeign;
/**
* @description: ExtSupplierManage-Feign
* @author: dexadmin
* @version: V
* @date: 2024-9-18 15:26:17
**/
public interface ExtSupplierManageServiceFeignShadow<V extends ExtSupplierManageVO> extends DxHistoryFeign<V> ,BaseLifecycleManageFeign<V> ,BaseFeign<V> ,LogicDeleteFeign<V> ,BaseVersionFeign<V> ,SecretCodeFeign<V> {
String BEAN_NAME = "extSupplierManageServiceFeign";
}
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