Commit 71df9a6f authored by 黄重's avatar 黄重

京能服务端结构化代码提交

parent ee15398c
/.metadata/
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
package com.gx.obe.server.common.utils;
import java.util.Arrays;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* @author chenxw
* @Description: 枚举工具类
*/
public class EnumUtils {
/**
* @param getKey
* @param enums
* @return
* @Description: 枚举转换为map
* @author chenxw
*/
public static <K, V> Map<K, V> toMap(V[] enums, Function<V, K> getKey) {
return Arrays.stream(enums).collect(Collectors.toMap(getKey, Function.identity()));
}
}
package com.gx.obe.server.common.utils;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.text.NumberFormat;
public class NumberFormatUtils {
private static NumberFormat df = NumberFormat.getInstance();
private static DecimalFormat fmt = new DecimalFormat("##,###,###,###,##0.######");
public static String format(double value, int round){
df.setRoundingMode(RoundingMode.HALF_UP);
df.setMaximumFractionDigits(round);
return df.format(value);
}
public static String format(BigDecimal value, int round){
if(null == value){
return "";
}
df.setRoundingMode(RoundingMode.HALF_UP);
df.setMaximumFractionDigits(round);
return df.format(value);
}
public static String format(BigDecimal value){
if(null != value){
return fmt.format(value);
}
return "";
}
public static String format(Double value){
if(null != value){
return fmt.format(value);
}
return "";
}
public static void main(String[] arges){
System.out.println(NumberFormatUtils.format(new BigDecimal(0.12344343434340000), 10));
System.out.println(BigDecimalUtils.round(new BigDecimal(0.12340000), 10));
System.out.println(BigDecimalUtils.div(new BigDecimal(0.12340000) , new BigDecimal(1), 10));
}
}
package com.gx.obe.server.common.utils;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ApplicationObjectSupport;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
@Component
@Order(1)
public class SpringUtil extends ApplicationObjectSupport {
public static ApplicationContext context;
public static <T> T getBean(String name, Class<T> requiredType) {
return context.getBean(name, requiredType);
}
@Override
protected void initApplicationContext(ApplicationContext context) throws BeansException {
super.initApplicationContext(context);
SpringUtil.context = context;
}
}
......@@ -11,6 +11,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import com.gx.obe.server.management.struct_new.entity.ObeEvaluationContent;
/**
*
......@@ -183,7 +184,8 @@ public class EvaluationFactor extends Model<EvaluationFactor> {
@TableField(exist = false)
// @JsonManagedReference
private List<EvaluationFactor> childFactorList = new ArrayList<EvaluationFactor>();
@TableField(exist = false)
private List<ObeEvaluationContent> evaluationContentList;
public Integer getChildCount() {
return childCount;
}
......@@ -444,6 +446,14 @@ public class EvaluationFactor extends Model<EvaluationFactor> {
this.dataParams = dataParams;
}
public List<ObeEvaluationContent> getEvaluationContentList() {
return evaluationContentList;
}
public void setEvaluationContentList(List<ObeEvaluationContent> evaluationContentList) {
this.evaluationContentList = evaluationContentList;
}
public static final String FACTOR_ID = "FACTOR_ID";
public static final String TENDER_ID = "TENDER_ID";
......@@ -514,6 +524,6 @@ public class EvaluationFactor extends Model<EvaluationFactor> {
+ ", clauseType=" + clauseType + ", evalContent=" + evalContent + ", parentId=" + parentId
+ ", objectiveItem=" + objectiveItem + ", bidPriceCode=" + bidPriceCode + ", computerParams="
+ computerParams + ", scoreStatus=" + scoreStatus + ", dataType=" + dataType + ", dataParams="
+ dataParams + "}";
+ dataParams+", evaluationContentList=" + evaluationContentList + "}";
}
}
......@@ -3,6 +3,8 @@ package com.gx.obe.server.management.evaluation.service.impl;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -29,6 +31,8 @@ import com.gx.obe.server.management.evaluation.entity.EvaluationStepFactor;
import com.gx.obe.server.management.evaluation.service.EvaluationFactorService;
import com.gx.obe.server.management.project.dao.TenderProjectMapper;
import com.gx.obe.server.management.project.entity.TenderProject;
import com.gx.obe.server.management.struct_new.dao.ObeEvaluationContentMapper;
import com.gx.obe.server.management.struct_new.entity.ObeEvaluationContent;
/**
*
......@@ -60,6 +64,9 @@ public class EvaluationFactorServiceImpl extends ServiceImpl<EvaluationFactorMap
@Autowired
private TenderProjectMapper tenderProjectMapper;
@Autowired
private ObeEvaluationContentMapper evaluationContentMapper;
@Override
@Transactional(rollbackFor = Exception.class)
public void delAllEvaluationFactor(String tenderId) {
......@@ -70,6 +77,10 @@ public class EvaluationFactorServiceImpl extends ServiceImpl<EvaluationFactorMap
QueryWrapper<EvaluationStepFactor> evaluationStepFactorWrapper = new QueryWrapper<EvaluationStepFactor>();
evaluationStepFactorWrapper.lambda().eq(EvaluationStepFactor::getTenderId, tenderId);
evaluationStepFactorMapper.delete(evaluationStepFactorWrapper);
QueryWrapper<ObeEvaluationContent> evaluationContentWrapper = new QueryWrapper<>();
evaluationContentWrapper.lambda().eq(ObeEvaluationContent::getTenderId, tenderId);
evaluationContentMapper.delete(evaluationContentWrapper);
}
@Override
......@@ -820,6 +831,16 @@ public class EvaluationFactorServiceImpl extends ServiceImpl<EvaluationFactorMap
if (initWeightPriceFactorList.size() > 0) {
count = batchUpdateProperty(initWeightPriceFactorList, new String[] { "factorWeight", "factorFinalWeight" });
}
// 保存评审内容列表
// ObeEvaluationFactorList.stream().flatMap(t->Optional.ofNullable(t.getEvalContent()));
List<ObeEvaluationContent> evaluationContentList = ObeEvaluationFactorList
.stream()
.flatMap(t -> Optional.ofNullable(t.getEvaluationContentList()).orElseGet(ArrayList::new).stream())
.collect(Collectors.toList());
if (!evaluationContentList.isEmpty()) {
count = evaluationContentMapper.insertByBatch(evaluationContentList);
}
}
return count;
}
......
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeAttachmentFile;
import com.gx.obe.server.management.struct_new.service.ObeAttachmentFileService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeAttachmentFile")
public class ObeAttachmentFileController extends BaseController<ObeAttachmentFileService, ObeAttachmentFile> {
@Autowired
public ObeAttachmentFileService ObeAttachmentFileServices;
/**
* @param ObeAttachmentFileList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeAttachmentFile> ObeAttachmentFileList) {
return ObeAttachmentFileServices.insertByBatch(ObeAttachmentFileList);
}
/**
* @param ObeAttachmentFileList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeAttachmentFile> ObeAttachmentFileList) {
return ObeAttachmentFileServices.updateByBatch(ObeAttachmentFileList);
}
/**
* @param businessId
* @return
* @Description: 获取附件列表
* @author chenxw
*/
@GetMapping("/getAttachmentFileList")
public List<ObeAttachmentFile> getAttachmentFileList(String businessId) {
return ObeAttachmentFileServices.getAttachmentFileList(businessId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeBalanceSheet;
import com.gx.obe.server.management.struct_new.service.ObeBalanceSheetService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeBalanceSheet")
public class ObeBalanceSheetController extends BaseController<ObeBalanceSheetService, ObeBalanceSheet> {
@Autowired
public ObeBalanceSheetService ObeBalanceSheetServices;
/**
* @param ObeBalanceSheetList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeBalanceSheet> ObeBalanceSheetList) {
return ObeBalanceSheetServices.insertByBatch(ObeBalanceSheetList);
}
/**
* @param ObeBalanceSheetList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeBalanceSheet> ObeBalanceSheetList) {
return ObeBalanceSheetServices.updateByBatch(ObeBalanceSheetList);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeBidderBasicInfo;
import com.gx.obe.server.management.struct_new.service.ObeBidderBasicInfoService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeBidderBasicInfo")
public class ObeBidderBasicInfoController extends BaseController<ObeBidderBasicInfoService, ObeBidderBasicInfo> {
@Autowired
public ObeBidderBasicInfoService ObeBidderBasicInfoServices;
/**
* @param ObeBidderBasicInfoList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeBidderBasicInfo> ObeBidderBasicInfoList) {
return ObeBidderBasicInfoServices.insertByBatch(ObeBidderBasicInfoList);
}
/**
* @param ObeBidderBasicInfoList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeBidderBasicInfo> ObeBidderBasicInfoList) {
return ObeBidderBasicInfoServices.updateByBatch(ObeBidderBasicInfoList);
}
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取投标人基本情况列表
* @author chenxw
*/
@GetMapping("/getBidderBasicInfoList")
public List<ObeBidderBasicInfo> getBidderBasicInfoList(String tenderId, String modelDataId) {
return ObeBidderBasicInfoServices.getBidderBasicInfoList(tenderId, modelDataId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeBusinessLicense;
import com.gx.obe.server.management.struct_new.service.ObeBusinessLicenseService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeBusinessLicense")
public class ObeBusinessLicenseController extends BaseController<ObeBusinessLicenseService, ObeBusinessLicense> {
@Autowired
public ObeBusinessLicenseService ObeBusinessLicenseServices;
/**
* @param ObeBusinessLicenseList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeBusinessLicense> ObeBusinessLicenseList) {
return ObeBusinessLicenseServices.insertByBatch(ObeBusinessLicenseList);
}
/**
* @param ObeBusinessLicenseList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeBusinessLicense> ObeBusinessLicenseList) {
return ObeBusinessLicenseServices.updateByBatch(ObeBusinessLicenseList);
}
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取营业执照列表
* @author chenxw
*/
@GetMapping("/getBusinessLicenseList")
public List<ObeBusinessLicense> getBusinessLicenseList(String tenderId, String modelDataId) {
return ObeBusinessLicenseServices.getBusinessLicenseList(tenderId, modelDataId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeCashSheet;
import com.gx.obe.server.management.struct_new.service.ObeCashSheetService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeCashSheet")
public class ObeCashSheetController extends BaseController<ObeCashSheetService, ObeCashSheet> {
@Autowired
public ObeCashSheetService ObeCashSheetServices;
/**
* @param ObeCashSheetList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeCashSheet> ObeCashSheetList) {
return ObeCashSheetServices.insertByBatch(ObeCashSheetList);
}
/**
* @param ObeCashSheetList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeCashSheet> ObeCashSheetList) {
return ObeCashSheetServices.updateByBatch(ObeCashSheetList);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeCertificate;
import com.gx.obe.server.management.struct_new.service.ObeCertificateService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeCertificate")
public class ObeCertificateController extends BaseController<ObeCertificateService, ObeCertificate> {
@Autowired
public ObeCertificateService ObeCertificateServices;
/**
* @param ObeCertificateList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeCertificate> ObeCertificateList) {
return ObeCertificateServices.insertByBatch(ObeCertificateList);
}
/**
* @param ObeCertificateList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeCertificate> ObeCertificateList) {
return ObeCertificateServices.updateByBatch(ObeCertificateList);
}
/**
* @param projectLeaderId
* @return
* @Description: 获取证书列表
* @author chenxw
*/
@GetMapping("/getCertificateList")
public List<ObeCertificate> getCertificateList(String projectLeaderId) {
return ObeCertificateServices.getCertificateList(projectLeaderId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.common.log.SysLogAnnotation;
import com.gx.obe.server.common.vo.RequestBodyEntity;
import com.gx.obe.server.management.struct_new.entity.ObeEvaluationContent;
import com.gx.obe.server.management.struct_new.entity.StructDateInfo;
import com.gx.obe.server.management.struct_new.service.ObeEvaluationContentService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author chenxw
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeEvaluationContent")
public class ObeEvaluationContentController extends BaseController<ObeEvaluationContentService, ObeEvaluationContent> {
@Autowired
public ObeEvaluationContentService obeEvaluationContentServices;
/**
* @param ObeEvaluationContentList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeEvaluationContent> ObeEvaluationContentList) {
return obeEvaluationContentServices.insertByBatch(ObeEvaluationContentList);
}
/**
* @param ObeEvaluationContentList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeEvaluationContent> ObeEvaluationContentList) {
return obeEvaluationContentServices.updateByBatch(ObeEvaluationContentList);
}
/**
* @param tenderId
* @return
* @Description: 获取评审内容
* @author chenxw
*/
@GetMapping("/getEvaluationContentList")
public List<ObeEvaluationContent> getEvaluationContentList(String tenderId) {
return obeEvaluationContentServices.getEvaluationContentList(tenderId);
}
/**
* @param tenderId
* @param factorCode
* @return
* @Description: 根据指标编号获取评审内容列表
* @author chenxw
*/
@GetMapping("/getEvaluationContentListByFactorCode")
public List<ObeEvaluationContent> getEvaluationContentListByFactorCode(String tenderId, String factorCode) {
return obeEvaluationContentServices.getEvaluationContentListByFactorCode(tenderId, factorCode);
}
/**
* @param structDateInfo
* @Description: 保存结构化信息数据
* @author chenxw
*/
@PostMapping("/saveStructDateInfo")
public boolean saveStructDateInfo(@RequestBody StructDateInfo structDateInfo) {
return obeEvaluationContentServices.saveStructDateInfo(structDateInfo);
}
/**
* @param tenderId
* @return
* @Description: 清空结构化信息数据
* @author chenxw
*/
@GetMapping("/deleteStructDateInfo")
public boolean deleteStructDateInfo(String tenderId) {
return obeEvaluationContentServices.deleteStructDateInfo(tenderId);
}
/**
* @param structDateInfoRequestBodyEntity
* @return
* @Description: 清空并保存结构化信息数据
* @author chenxw
*/
@PostMapping("/deleteOrSaveStructDateInfo")
@SysLogAnnotation(detail = "清空并保存结构化信息数据")
public Boolean deleteOrSaveStructDateInfo(@RequestBody RequestBodyEntity<StructDateInfo> structDateInfoRequestBodyEntity) {
String tenderId = (String) structDateInfoRequestBodyEntity.getParam("tenderId");
StructDateInfo structDateInfo = structDateInfoRequestBodyEntity.getEntity();
return obeEvaluationContentServices.deleteOrSaveStructDateInfo(tenderId, structDateInfo);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeFinance;
import com.gx.obe.server.management.struct_new.service.ObeFinanceService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeFinance")
public class ObeFinanceController extends BaseController<ObeFinanceService, ObeFinance> {
@Autowired
public ObeFinanceService ObeFinanceServices;
/**
* @param ObeFinanceList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeFinance> ObeFinanceList) {
return ObeFinanceServices.insertByBatch(ObeFinanceList);
}
/**
* @param ObeFinanceList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeFinance> ObeFinanceList) {
return ObeFinanceServices.updateByBatch(ObeFinanceList);
}
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取财务状况列表
* @author chenxw
*/
@GetMapping("/getFinanceList")
public List<ObeFinance> getFinanceList(String tenderId, String modelDataId) {
return ObeFinanceServices.getFinanceList(tenderId, modelDataId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeModelData;
import com.gx.obe.server.management.struct_new.service.ObeModelDataService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeModelData")
public class ObeModelDataController extends BaseController<ObeModelDataService, ObeModelData> {
@Autowired
public ObeModelDataService ObeModelDataServices;
/**
* @param ObeModelDataList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeModelData> ObeModelDataList) {
return ObeModelDataServices.insertByBatch(ObeModelDataList);
}
/**
* @param ObeModelDataList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeModelData> ObeModelDataList) {
return ObeModelDataServices.updateByBatch(ObeModelDataList);
}
/**
* @param tenderId
* @param supplierId
* @param relChapterType
* @param dataCode
* @return
* @Description: 获取对象结构化数据
* @author chenxw
*/
@GetMapping("/getModelData")
public ObeModelData getModelData(String tenderId, String supplierId, String relChapterType, String dataCode) {
return ObeModelDataServices.getModelData(tenderId, supplierId, relChapterType, dataCode);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObePerformance;
import com.gx.obe.server.management.struct_new.service.ObePerformanceService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obePerformance")
public class ObePerformanceController extends BaseController<ObePerformanceService, ObePerformance> {
@Autowired
public ObePerformanceService ObePerformanceServices;
/**
* @param ObePerformanceList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObePerformance> ObePerformanceList) {
return ObePerformanceServices.insertByBatch(ObePerformanceList);
}
/**
* @param ObePerformanceList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObePerformance> ObePerformanceList) {
return ObePerformanceServices.updateByBatch(ObePerformanceList);
}
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取业绩列表
* @author chenxw
*/
@GetMapping("/getPerformanceList")
public List<ObePerformance> getPerformanceList(String tenderId, String modelDataId) {
return ObePerformanceServices.getPerformanceList(tenderId, modelDataId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeProfitlossSheet;
import com.gx.obe.server.management.struct_new.service.ObeProfitlossSheetService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeProfitlossSheet")
public class ObeProfitlossSheetController extends BaseController<ObeProfitlossSheetService, ObeProfitlossSheet> {
@Autowired
public ObeProfitlossSheetService ObeProfitlossSheetServices;
/**
* @param ObeProfitlossSheetList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeProfitlossSheet> ObeProfitlossSheetList) {
return ObeProfitlossSheetServices.insertByBatch(ObeProfitlossSheetList);
}
/**
* @param ObeProfitlossSheetList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeProfitlossSheet> ObeProfitlossSheetList) {
return ObeProfitlossSheetServices.updateByBatch(ObeProfitlossSheetList);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeProjectLeader;
import com.gx.obe.server.management.struct_new.service.ObeProjectLeaderService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeProjectLeader")
public class ObeProjectLeaderController extends BaseController<ObeProjectLeaderService, ObeProjectLeader> {
@Autowired
public ObeProjectLeaderService ObeProjectLeaderServices;
/**
* @param ObeProjectLeaderList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeProjectLeader> ObeProjectLeaderList) {
return ObeProjectLeaderServices.insertByBatch(ObeProjectLeaderList);
}
/**
* @param ObeProjectLeaderList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeProjectLeader> ObeProjectLeaderList) {
return ObeProjectLeaderServices.updateByBatch(ObeProjectLeaderList);
}
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取项目负责人列表
* @author chenxw
*/
@GetMapping("/getProjectLeaderList")
public List<ObeProjectLeader> getProjectLeaderList(String tenderId, String modelDataId) {
return ObeProjectLeaderServices.getProjectLeaderList(tenderId, modelDataId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeQualification;
import com.gx.obe.server.management.struct_new.service.ObeQualificationService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeQualification")
public class ObeQualificationController extends BaseController<ObeQualificationService, ObeQualification> {
@Autowired
public ObeQualificationService ObeQualificationServices;
/**
* @param ObeQualificationList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeQualification> ObeQualificationList) {
return ObeQualificationServices.insertByBatch(ObeQualificationList);
}
/**
* @param ObeQualificationList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeQualification> ObeQualificationList) {
return ObeQualificationServices.updateByBatch(ObeQualificationList);
}
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取证书列表
* @author chenxw
*/
@GetMapping("/getQualificationList")
public List<ObeQualification> getQualificationList(String tenderId, String modelDataId) {
return ObeQualificationServices.getQualificationList(tenderId, modelDataId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeTemplateDataItem;
import com.gx.obe.server.management.struct_new.service.ObeTemplateDataItemService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeTemplateDataItem")
public class ObeTemplateDataItemController extends BaseController<ObeTemplateDataItemService, ObeTemplateDataItem> {
@Autowired
public ObeTemplateDataItemService ObeTemplateDataItemServices;
/**
* @param ObeTemplateDataItemList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeTemplateDataItem> ObeTemplateDataItemList) {
return ObeTemplateDataItemServices.insertByBatch(ObeTemplateDataItemList);
}
/**
* @param ObeTemplateDataItemList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeTemplateDataItem> ObeTemplateDataItemList) {
return ObeTemplateDataItemServices.updateByBatch(ObeTemplateDataItemList);
}
/**
* @param tenderId
* @param supplierId
* @param factorCode
* @return
* @Description: 获取小范本表单列表
* @author chenxw
*/
@GetMapping("/getTemplateDataItemList")
public List<ObeTemplateDataItem> getTemplateDataItemList(String tenderId, String supplierId, String factorCode) {
return ObeTemplateDataItemServices.getTemplateDataItemList(tenderId, supplierId, factorCode);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeTemplateTable;
import com.gx.obe.server.management.struct_new.service.ObeTemplateTableService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeTemplateTable")
public class ObeTemplateTableController extends BaseController<ObeTemplateTableService, ObeTemplateTable> {
@Autowired
public ObeTemplateTableService ObeTemplateTableServices;
/**
* @param ObeTemplateTableList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeTemplateTable> ObeTemplateTableList) {
return ObeTemplateTableServices.insertByBatch(ObeTemplateTableList);
}
/**
* @param ObeTemplateTableList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeTemplateTable> ObeTemplateTableList) {
return ObeTemplateTableServices.updateByBatch(ObeTemplateTableList);
}
/**
* @param tenderId
* @param supplierId
* @param relChapterType
* @param dataCode
* @return
* @Description: 获取小范本表格
* @author chenxw
*/
@GetMapping("/getTemplateTable")
public ObeTemplateTable getTemplateTable(String tenderId, String supplierId, String relChapterType, String dataCode) {
return ObeTemplateTableServices.getTemplateTable(tenderId, supplierId, relChapterType, dataCode);
}
/**
* @param tenderId
* @param relChapterType
* @param dataCode
* @return
* @Description: 获取小范本表格列表
* @author chenxw
*/
@GetMapping("/getTemplateTableList")
public List<ObeTemplateTable> getTemplateTableList(String tenderId, String relChapterType, String dataCode) {
return ObeTemplateTableServices.getTemplateTableList(tenderId, relChapterType, dataCode);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.controller;
import com.gx.obe.server.common.base.BaseController;
import com.gx.obe.server.management.struct_new.entity.ObeWorkExperience;
import com.gx.obe.server.management.struct_new.service.ObeWorkExperienceService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Api(tags = "")
@RestController
@AllArgsConstructor
@RequestMapping("/obeWorkExperience")
public class ObeWorkExperienceController extends BaseController<ObeWorkExperienceService, ObeWorkExperience> {
@Autowired
public ObeWorkExperienceService ObeWorkExperienceServices;
/**
* @param ObeWorkExperienceList
* @Description: 批量插入
* @author mazc
*/
@PostMapping("/insertByBatch")
public int insertByBatch(@RequestBody List<ObeWorkExperience> ObeWorkExperienceList) {
return ObeWorkExperienceServices.insertByBatch(ObeWorkExperienceList);
}
/**
* @param ObeWorkExperienceList
* @Description: 批量更新
* @author mazc
*/
@PostMapping("/updateByBatch")
public int updateByBatch(@RequestBody List<ObeWorkExperience> ObeWorkExperienceList) {
return ObeWorkExperienceServices.updateByBatch(ObeWorkExperienceList);
}
/**
* @param projectLeaderId
* @return
* @Description: 获取工作经历列表
* @author chenxw
*/
@GetMapping("/getWorkExperienceList")
public List<ObeWorkExperience> getWorkExperienceList(String projectLeaderId) {
return ObeWorkExperienceServices.getWorkExperienceList(projectLeaderId);
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeAttachmentFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeAttachmentFileMapper extends BaseMapper<ObeAttachmentFile> {
/**
* @param ObeAttachmentFileList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeAttachmentFileList") List<ObeAttachmentFile> ObeAttachmentFileList);
/**
* @param ObeAttachmentFileList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeAttachmentFileList") List<ObeAttachmentFile> ObeAttachmentFileList);
/**
* @param ObeAttachmentFile
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeAttachmentFile") ObeAttachmentFile ObeAttachmentFile, @Param("attributes") String[] attributes);
/**
* @param ObeAttachmentFileList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeAttachmentFileList") List<ObeAttachmentFile> ObeAttachmentFileList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeBalanceSheet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeBalanceSheetMapper extends BaseMapper<ObeBalanceSheet> {
/**
* @param ObeBalanceSheetList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeBalanceSheetList") List<ObeBalanceSheet> ObeBalanceSheetList);
/**
* @param ObeBalanceSheetList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeBalanceSheetList") List<ObeBalanceSheet> ObeBalanceSheetList);
/**
* @param ObeBalanceSheet
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeBalanceSheet") ObeBalanceSheet ObeBalanceSheet, @Param("attributes") String[] attributes);
/**
* @param ObeBalanceSheetList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeBalanceSheetList") List<ObeBalanceSheet> ObeBalanceSheetList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeBidderBasicInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeBidderBasicInfoMapper extends BaseMapper<ObeBidderBasicInfo> {
/**
* @param ObeBidderBasicInfoList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeBidderBasicInfoList") List<ObeBidderBasicInfo> ObeBidderBasicInfoList);
/**
* @param ObeBidderBasicInfoList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeBidderBasicInfoList") List<ObeBidderBasicInfo> ObeBidderBasicInfoList);
/**
* @param ObeBidderBasicInfo
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeBidderBasicInfo") ObeBidderBasicInfo ObeBidderBasicInfo, @Param("attributes") String[] attributes);
/**
* @param ObeBidderBasicInfoList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeBidderBasicInfoList") List<ObeBidderBasicInfo> ObeBidderBasicInfoList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeBusinessLicense;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeBusinessLicenseMapper extends BaseMapper<ObeBusinessLicense> {
/**
* @param ObeBusinessLicenseList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeBusinessLicenseList") List<ObeBusinessLicense> ObeBusinessLicenseList);
/**
* @param ObeBusinessLicenseList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeBusinessLicenseList") List<ObeBusinessLicense> ObeBusinessLicenseList);
/**
* @param ObeBusinessLicense
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeBusinessLicense") ObeBusinessLicense ObeBusinessLicense, @Param("attributes") String[] attributes);
/**
* @param ObeBusinessLicenseList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeBusinessLicenseList") List<ObeBusinessLicense> ObeBusinessLicenseList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeCashSheet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeCashSheetMapper extends BaseMapper<ObeCashSheet> {
/**
* @param ObeCashSheetList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeCashSheetList") List<ObeCashSheet> ObeCashSheetList);
/**
* @param ObeCashSheetList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeCashSheetList") List<ObeCashSheet> ObeCashSheetList);
/**
* @param ObeCashSheet
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeCashSheet") ObeCashSheet ObeCashSheet, @Param("attributes") String[] attributes);
/**
* @param ObeCashSheetList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeCashSheetList") List<ObeCashSheet> ObeCashSheetList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeCertificate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeCertificateMapper extends BaseMapper<ObeCertificate> {
/**
* @param ObeCertificateList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeCertificateList") List<ObeCertificate> ObeCertificateList);
/**
* @param ObeCertificateList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeCertificateList") List<ObeCertificate> ObeCertificateList);
/**
* @param ObeCertificate
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeCertificate") ObeCertificate ObeCertificate, @Param("attributes") String[] attributes);
/**
* @param ObeCertificateList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeCertificateList") List<ObeCertificate> ObeCertificateList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeEvaluationContent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author chenxw
* @Description:
*/
@Mapper
public interface ObeEvaluationContentMapper extends BaseMapper<ObeEvaluationContent> {
/**
* @param ObeEvaluationContentList
* @Description: 批量更新
* @author chenxw
*/
Integer updateBatchList(@Param("ObeEvaluationContentList") List<ObeEvaluationContent> ObeEvaluationContentList);
/**
* @param ObeEvaluationContentList
* @Description: 批量插入
* @author chenxw
*/
Integer insertByBatch(@Param("ObeEvaluationContentList") List<ObeEvaluationContent> ObeEvaluationContentList);
/**
* @param ObeEvaluationContent
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeEvaluationContent") ObeEvaluationContent ObeEvaluationContent, @Param("attributes") String[] attributes);
/**
* @param ObeEvaluationContentList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeEvaluationContentList") List<ObeEvaluationContent> ObeEvaluationContentList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeFinance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeFinanceMapper extends BaseMapper<ObeFinance> {
/**
* @param ObeFinanceList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeFinanceList") List<ObeFinance> ObeFinanceList);
/**
* @param ObeFinanceList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeFinanceList") List<ObeFinance> ObeFinanceList);
/**
* @param ObeFinance
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeFinance") ObeFinance ObeFinance, @Param("attributes") String[] attributes);
/**
* @param ObeFinanceList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeFinanceList") List<ObeFinance> ObeFinanceList, @Param("attributes") String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取财务状况列表
* @author chenxw
*/
List<ObeFinance> getFinanceList(@Param("tenderId") String tenderId, @Param("modelDataId") String modelDataId);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeModelData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeModelDataMapper extends BaseMapper<ObeModelData> {
/**
* @param ObeModelDataList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeModelDataList") List<ObeModelData> ObeModelDataList);
/**
* @param ObeModelDataList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeModelDataList") List<ObeModelData> ObeModelDataList);
/**
* @param ObeModelData
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeModelData") ObeModelData ObeModelData, @Param("attributes") String[] attributes);
/**
* @param ObeModelDataList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeModelDataList") List<ObeModelData> ObeModelDataList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObePerformance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObePerformanceMapper extends BaseMapper<ObePerformance> {
/**
* @param ObePerformanceList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObePerformanceList") List<ObePerformance> ObePerformanceList);
/**
* @param ObePerformanceList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObePerformanceList") List<ObePerformance> ObePerformanceList);
/**
* @param ObePerformance
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObePerformance") ObePerformance ObePerformance, @Param("attributes") String[] attributes);
/**
* @param ObePerformanceList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObePerformanceList") List<ObePerformance> ObePerformanceList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeProfitlossSheet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeProfitlossSheetMapper extends BaseMapper<ObeProfitlossSheet> {
/**
* @param ObeProfitlossSheetList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeProfitlossSheetList") List<ObeProfitlossSheet> ObeProfitlossSheetList);
/**
* @param ObeProfitlossSheetList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeProfitlossSheetList") List<ObeProfitlossSheet> ObeProfitlossSheetList);
/**
* @param ObeProfitlossSheet
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeProfitlossSheet") ObeProfitlossSheet ObeProfitlossSheet, @Param("attributes") String[] attributes);
/**
* @param ObeProfitlossSheetList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeProfitlossSheetList") List<ObeProfitlossSheet> ObeProfitlossSheetList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeProjectLeader;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeProjectLeaderMapper extends BaseMapper<ObeProjectLeader> {
/**
* @param ObeProjectLeaderList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeProjectLeaderList") List<ObeProjectLeader> ObeProjectLeaderList);
/**
* @param ObeProjectLeaderList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeProjectLeaderList") List<ObeProjectLeader> ObeProjectLeaderList);
/**
* @param ObeProjectLeader
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeProjectLeader") ObeProjectLeader ObeProjectLeader, @Param("attributes") String[] attributes);
/**
* @param ObeProjectLeaderList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeProjectLeaderList") List<ObeProjectLeader> ObeProjectLeaderList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeQualification;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeQualificationMapper extends BaseMapper<ObeQualification> {
/**
* @param ObeQualificationList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeQualificationList") List<ObeQualification> ObeQualificationList);
/**
* @param ObeQualificationList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeQualificationList") List<ObeQualification> ObeQualificationList);
/**
* @param ObeQualification
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeQualification") ObeQualification ObeQualification, @Param("attributes") String[] attributes);
/**
* @param ObeQualificationList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeQualificationList") List<ObeQualification> ObeQualificationList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeTemplateDataItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeTemplateDataItemMapper extends BaseMapper<ObeTemplateDataItem> {
/**
* @param ObeTemplateDataItemList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeTemplateDataItemList") List<ObeTemplateDataItem> ObeTemplateDataItemList);
/**
* @param ObeTemplateDataItemList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeTemplateDataItemList") List<ObeTemplateDataItem> ObeTemplateDataItemList);
/**
* @param ObeTemplateDataItem
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeTemplateDataItem") ObeTemplateDataItem ObeTemplateDataItem, @Param("attributes") String[] attributes);
/**
* @param ObeTemplateDataItemList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeTemplateDataItemList") List<ObeTemplateDataItem> ObeTemplateDataItemList, @Param("attributes") String[] attributes);
/**
* @param tenderId
* @param supplierId
* @param factorCode
* @return
* @Description: 获取小范本表单列表
* @author chenxw
*/
List<ObeTemplateDataItem> getTemplateDataItemList(@Param("tenderId") String tenderId, @Param("supplierId") String supplierId, @Param("factorCode") String factorCode);
/**
* @param tenderId
* @param supplierId
* @param contentId
* @return
* @Description: 获取小范本表单列表
* @author chenxw
*/
List<ObeTemplateDataItem> getListByContentId(@Param("tenderId") String tenderId, @Param("supplierId") String supplierId, @Param("contentId") String contentId);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeTemplateTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeTemplateTableMapper extends BaseMapper<ObeTemplateTable> {
/**
* @param ObeTemplateTableList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeTemplateTableList") List<ObeTemplateTable> ObeTemplateTableList);
/**
* @param ObeTemplateTableList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeTemplateTableList") List<ObeTemplateTable> ObeTemplateTableList);
/**
* @param ObeTemplateTable
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeTemplateTable") ObeTemplateTable ObeTemplateTable, @Param("attributes") String[] attributes);
/**
* @param ObeTemplateTableList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeTemplateTableList") List<ObeTemplateTable> ObeTemplateTableList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gx.obe.server.management.struct_new.entity.ObeWorkExperience;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@Mapper
public interface ObeWorkExperienceMapper extends BaseMapper<ObeWorkExperience> {
/**
* @param ObeWorkExperienceList
* @Description: 批量更新
* @author mazc
*/
Integer updateBatchList(@Param("ObeWorkExperienceList") List<ObeWorkExperience> ObeWorkExperienceList);
/**
* @param ObeWorkExperienceList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(@Param("ObeWorkExperienceList") List<ObeWorkExperience> ObeWorkExperienceList);
/**
* @param ObeWorkExperience
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
Integer updateAssignProperty(@Param("ObeWorkExperience") ObeWorkExperience ObeWorkExperience, @Param("attributes") String[] attributes);
/**
* @param ObeWorkExperienceList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(@Param("ObeWorkExperienceList") List<ObeWorkExperience> ObeWorkExperienceList, @Param("attributes") String[] attributes);
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_attachment_file")
public class ObeAttachmentFile extends Model<ObeAttachmentFile> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 父级ID
*/
@TableField("PARENT_ID")
private String parentId;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 业务ID
*/
@TableField("BUSINESS_ID")
private String businessId;
/**
* 文件地址
*/
@TableField("FILE_URL")
private String fileUrl;
/**
* 文件名称
*/
@TableField("FILE_NAME")
private String fileName;
/**
* 文件大小
*/
@TableField("FILE_SIZE")
private Integer fileSize;
/**
* 文件类型
*/
@TableField("FILE_TYPE")
private String fileType;
/**
* 创建时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@TableField("CREATE_TIME")
private Date createTime;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_balance_sheet")
public class ObeBalanceSheet extends Model<ObeBalanceSheet> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 财务ID
*/
@TableField("FINANCE_ID")
private String financeId;
/**
* 总资产
*/
@TableField("BALANCE_TOTAL")
private BigDecimal balanceTotal;
/**
* 流动资产
*/
@TableField("BALANCE_CECURRENT_ASSETS")
private BigDecimal balanceCecurrentAssets;
/**
* 存货
*/
@TableField("INVENTORY")
private BigDecimal inventory;
/**
* 应收账款
*/
@TableField("RECEIVABLES")
private BigDecimal receivables;
/**
* 不良资产
*/
@TableField("BAD_ASSETS")
private BigDecimal badAssets;
/**
* 总负债
*/
@TableField("BALANCE_TOTALLIABILITIES")
private BigDecimal balanceTotalliabilities;
/**
* 流动负债
*/
@TableField("BALANCE_CURRENT_LIABILITIES")
private BigDecimal balanceCurrentLiabilities;
/**
* 所有者权益
*/
@TableField("OWNERSHIP_INTEREST")
private BigDecimal ownershipInterest;
/**
* 其中:当年非正常增加
*/
@TableField("ABNORMAL_INCREASE")
private BigDecimal abnormalIncrease;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_bidder_basic_info")
public class ObeBidderBasicInfo extends Model<ObeBidderBasicInfo> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 模型数据ID
*/
@TableField("MODEL_DATA_ID")
private String modelDataId;
/**
* 投标人名称
*/
@TableField("COMPANY_NAME")
private String companyName;
/**
* 注册地址
*/
@TableField("REGISTER_LOCATION")
private String registerLocation;
/**
* 邮政编码
*/
@TableField("POSTAL_CODE")
private String postalCode;
/**
* 联系人
*/
@TableField("LINK_MAN")
private String linkMan;
/**
* 电话
*/
@TableField("LINK_MAN_PHONE")
private String linkManPhone;
/**
* 传真
*/
@TableField("LINK_MAN_FAX")
private String linkManFax;
/**
* 网址
*/
@TableField("LINK_MAN_WEBSITE")
private String linkManWebsite;
/**
* 组织结构
*/
@TableField("ORG_STRUCTURE")
private String orgStructure;
/**
* 法定代表人姓名
*/
@TableField("LEGAL_REPRESENTATIVE_NAME")
private String legalRepresentativeName;
/**
* 法定代表人技术职称
*/
@TableField("LEGAL_REPRESENTATIVE_TITLE")
private String legalRepresentativeTitle;
/**
* 法定代表人电话
*/
@TableField("LEGAL_REPRESENTATIVE_PHONE")
private String legalRepresentativePhone;
/**
* 技术负责人姓名
*/
@TableField("TECHNICAL_DIRECTOR_NAME")
private String technicalDirectorName;
/**
* 技术负责人技术职称
*/
@TableField("TECHNICAL_DIRECTOR_TITLE")
private String technicalDirectorTitle;
/**
* 技术负责人电话
*/
@TableField("TECHNICAL_DIRECTOR_PHONE")
private String technicalDirectorPhone;
/**
* 成立时间
*/
@TableField("SETUP_TIME")
private String setupTime;
/**
* 企业资质等级
*/
@TableField("COMPANY_QUALIFICATION_LEVEL")
private String companyQualificationLevel;
/**
* 注册资金
*/
@TableField("REGISTERED_CAPITAL")
private String registeredCapital;
/**
* 开户银行
*/
@TableField("DEPOSIT_BANK")
private String depositBank;
/**
* 营业执照号
*/
@TableField("BUSSINESS_LICENSE")
private String bussinessLicense;
/**
* 银行账号
*/
@TableField("BANK_ACCOUNT")
private String bankAccount;
/**
* 员工总人数
*/
@TableField("EMPLOYEE_NUMBER")
private String employeeNumber;
/**
* 项目经理数量
*/
@TableField("PURCHASER_NUMBER")
private String purchaserNumber;
/**
* 高级职称人员数量
*/
@TableField("SENIOR_PROFESSIONAL_POST_NUMBER")
private String seniorProfessionalPostNumber;
/**
* 中极职称人员数量
*/
@TableField("MEDIUM_PROFESSIONAL_POST_NUMBER")
private String mediumProfessionalPostNumber;
/**
* 初级职称人员数量
*/
@TableField("PRIMARY_PROFESSIONAL_POST_NUMBER")
private String primaryProfessionalPostNumber;
/**
* 技工数量
*/
@TableField("ARTISAN_NUMBER")
private String artisanNumber;
/**
* 经营范围
*/
@TableField("BUSINESS_SCOPE")
private String businessScope;
/**
* 企业性质
*/
@TableField("ENTERPRISE_NATURE")
private String enterpriseNature;
/**
* 股权结构
*/
@TableField("EQUITY_STRUCTURE")
private String equityStructure;
/**
* 关联企业情况
*/
@TableField("RELATED_COMPANY_INFO")
private String relatedCompanyInfo;
/**
* 服务能力
*/
@TableField("SERVICE_ABILITY")
private String serviceAbility;
/**
* 拟投入本项目设备
*/
@TableField("PRE_INPUT_DEVICE")
private String preInputDevice;
/**
* 备注
*/
@TableField("MEMO")
private String memo;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_business_license")
public class ObeBusinessLicense extends Model<ObeBusinessLicense> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 模型数据ID
*/
@TableField("MODEL_DATA_ID")
private String modelDataId;
/**
* 统一社会信用代码
*/
@TableField("REGISTER_NUMBER")
private String registerNumber;
/**
* 企业名称
*/
@TableField("COMPANY_NAME")
private String companyName;
/**
* 法定代表人
*/
@TableField("LEGAL_REPRESENTATIVE")
private String legalRepresentative;
/**
* 注册资本(万元)
*/
@TableField("REGISTER_CAPITAL")
private String registerCapital;
/**
* 住所
*/
@TableField("COMPANY_ADDRESS")
private String companyAddress;
/**
* 是否区内企业
*/
@TableField("IS_IN_AREA_ENTERPRISES")
private String isInAreaEnterprises;
/**
* 登记机关
*/
@TableField("REGISTER_INSTITUTION")
private String registerInstitution;
/**
* 成立日期
*/
@TableField("ESTABLISH_DATE")
private String establishDate;
/**
* 营业期限起
*/
@TableField("BUSNISS_TERM_START_DATE")
private String busnissTermStartDate;
/**
* 营业期限止
*/
@TableField("BUSNISS_TERM_ENDT_DATE")
private String busnissTermEndtDate;
/**
* 营业范围
*/
@TableField("BUSINESS_SCOPE")
private String businessScope;
/**
* 类型
*/
@TableField("COMPANY_TYPE")
private String companyType;
/**
* 是否为永久经营
*/
@TableField("IS_PERPETUAL")
private String isPerpetual;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_cash_sheet")
public class ObeCashSheet extends Model<ObeCashSheet> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 财务ID
*/
@TableField("FINANCE_ID")
private String financeId;
/**
* 经营净现金流量
*/
@TableField("OPERATING_NET_CASH_FLOW")
private BigDecimal operatingNetCashFlow;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_certificate")
public class ObeCertificate extends Model<ObeCertificate> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 项目负责人ID
*/
@TableField("PROJECT_LEADER_ID")
private String projectLeaderId;
/**
* 证书名称
*/
@TableField("CERTIFICATE_NAME")
private String certificateName;
/**
* 序号
*/
@TableField("SORT_NO")
private Integer sortNo;
/**
* 证书编号
*/
@TableField("CERTIFICATE_NO")
private String certificateNo;
/**
* 证书等级
*/
@TableField("CERTIFICATE_LEVEL")
private String certificateLevel;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author chenxw
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_evaluation_content")
public class ObeEvaluationContent extends Model<ObeEvaluationContent> {
private static final long serialVersionUID = 1L;
@TableId("ID")
private String id;
@TableField("TENDER_ID")
private String tenderId;
@TableField("FACTOR_CODE")
private String factorCode;
@TableField("REL_CHAPTER_TYPE")
private String relChapterType;
@TableField("DATA_CATEGORY")
private String dataCategory;
@TableField("DATA_CODE")
private String dataCode;
@TableField("EVAL_RULE")
private String evalRule;
@TableField("TENDER_STRUCT_NAME")
private String tenderStructName;
@TableField("EVAL_POINT_NAME")
private String evalPointName;
@TableField("SORT_NO")
private Integer sortNo;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_finance")
public class ObeFinance extends Model<ObeFinance> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 模型数据ID
*/
@TableField("MODEL_DATA_ID")
private String modelDataId;
/**
* 年度
*/
@TableField("ANNUAL")
private String annual;
/**
* 注册资本(万元)
*/
@TableField("REGISTERED_CAPITAL")
private BigDecimal registeredCapital;
/**
* 总资产(万元)
*/
@TableField("TOTAL")
private BigDecimal total;
/**
* 利润总额(万元)
*/
@TableField("PROFIT_LOSS_PROFIT")
private BigDecimal profitLossProfit;
/**
* 营业收入(万元)
*/
@TableField("OPERATING_INCOME")
private BigDecimal operatingIncome;
/**
* 资产负债率(%)
*/
@TableField("LIABILITIES_RATE")
private BigDecimal liabilitiesRate;
/**
* 流动资产(万元)
*/
@TableField("CURRENT_ASSETS")
private BigDecimal currentAssets;
/**
* 流动负债(万元)
*/
@TableField("CURRENT_LIABILITIES")
private BigDecimal currentLiabilities;
/**
* 流动比率(%)
*/
@TableField("CURRENT_RATE")
private BigDecimal currentRate;
/**
* 净利率(%)
*/
@TableField("PROFIT_RATIO")
private BigDecimal profitRatio;
/**
* 主营业务利润率(%)
*/
@TableField("OPERATING_MARGIN")
private BigDecimal operatingMargin;
/**
* 净利润(万元)
*/
@TableField("RETAINED_PROFITS")
private BigDecimal retainedProfits;
/**
* 企业名称
*/
@TableField("COMPANY_NAME")
private String companyName;
/**
* 净资产(万元)
*/
@TableField("NET_WORTH")
private BigDecimal netWorth;
/**
* 固定资产(万元)
*/
@TableField("FIXED_ASSETS")
private BigDecimal fixedAssets;
/**
* 现金流量净额(万元)
*/
@TableField("NET_CASH_FLOW")
private BigDecimal netCashFlow;
/**
* 净资产收益率(%)
*/
@TableField("RETURN_ON_EQUITY")
private BigDecimal returnOnEquity;
/**
* 总资产报酬率(%)
*/
@TableField("RETURN_ON_TOTAL_ASSET")
private BigDecimal returnOnTotalAsset;
/**
* 速动比率(%)
*/
@TableField("QUICK_RATIO")
private BigDecimal quickRatio;
/**
* 负债合计(万元)
*/
@TableField("TOTALLIABILITIES")
private BigDecimal totalliabilities;
/**
* 成本费用总额(万元)
*/
@TableField("TOTALCOST")
private BigDecimal totalcost;
/**
* 速动资产(万元)
*/
@TableField("QUICKASSETS")
private BigDecimal quickassets;
/**
* 主营业务利润(万元)
*/
@TableField("MAIN_INCOME_PROFITS")
private BigDecimal mainIncomeProfits;
/**
* 主营业务收入(万元)
*/
@TableField("PRIME_OPERATING_REVENUE")
private BigDecimal primeOperatingRevenue;
/**
* 资产负债表
*/
@TableField(exist = false)
private ObeBalanceSheet balanceSheet;
/**
* 损益表
*/
@TableField(exist = false)
private ObeProfitlossSheet profitlossSheet;
/**
* 现金流量表
*/
@TableField(exist = false)
private ObeCashSheet cashSheet;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_model_data")
public class ObeModelData extends Model<ObeModelData> {
private static final long serialVersionUID = 1L;
@TableId("ID")
private String id;
@TableField("TENDER_ID")
private String tenderId;
@TableField("SUPPLIER_ID")
private String supplierId;
@TableField("REL_CHAPTER_TYPE")
private String relChapterType;
@TableField("DATA_CODE")
private String dataCode;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_performance")
public class ObePerformance extends Model<ObePerformance> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 模型数据ID
*/
@TableField("MODEL_DATA_ID")
private String modelDataId;
/**
* 采购单位
*/
@TableField("PURCHASING_UNIT")
private String purchasingUnit;
/**
* 供货单位
*/
@TableField("PARTNER")
private String partner;
/**
* 项目名称
*/
@TableField("PROJECT_NAME")
private String projectName;
/**
* 签订日期
*/
@TableField("SINGNING_DATE")
private String singningDate;
/**
* 结束日期
*/
@TableField("END_TIME")
private String endTime;
/**
* 合同金额(单位:元)
*/
@TableField("SINGNING_TOTAL")
private String singningTotal;
/**
* 项目经理姓名
*/
@TableField("PURCHASER")
private String purchaser;
/**
* 代表联系电话
*/
@TableField("PURCHASER_PHONE")
private String purchaserPhone;
/**
* 业绩状态(00:进行中;01:已完成)
*/
@TableField("STATUS")
private String status;
/**
* 企业名称
*/
@TableField("SUPPLIER_NAME")
private String supplierName;
/**
* 项目所在地
*/
@TableField("PROJECT_ADDRESS")
private String projectAddress;
/**
* 发包人名称
*/
@TableField("BUYER_NAME")
private String buyerName;
/**
* 发包人地址
*/
@TableField("BUYER_ADDRESS")
private String buyerAddress;
/**
* 发包人电话
*/
@TableField("BUYER_PHONE_NUMBER")
private String buyerPhoneNumber;
/**
* 开工日期
*/
@TableField("START_TIME")
private String startTime;
/**
* 承担的工作
*/
@TableField("WORK_UNDERTAKEN")
private String workUndertaken;
/**
* 工程质量
*/
@TableField("PROJECT_QUANTITY")
private String projectQuantity;
/**
* 项目经理
*/
@TableField("PROJECT_MANAGER")
private String projectManager;
/**
* 技术负责人
*/
@TableField("TECHNICAL_DIRECTOR")
private String technicalDirector;
/**
* 总监理工程师
*/
@TableField("CHIEF_SUPERVISION_ENGINEER")
private String chiefSupervisionEngineer;
/**
* 总监理工程师电话
*/
@TableField("CSE_PHONE_NUMBER")
private String csePhoneNumber;
/**
* 项目描述
*/
@TableField("PROJECT_DESC")
private String projectDesc;
/**
* 调试范围及内容
*/
@TableField("PROJECT_RANGE_AND_CONTENT")
private String projectRangeAndContent;
/**
* 调试机构人数高峰
*/
@TableField("SUPPLIER_WORKER_COUNTMAX")
private String supplierWorkerCountmax;
/**
* 调试机构人数平均
*/
@TableField("SUPPLIER_WORKER_COUNTAVE")
private String supplierWorkerCountave;
/**
* 工程评定情况
*/
@TableField("PROJECT_DEVICE_RESULT")
private String projectDeviceResult;
/**
* 项目单位联系人
*/
@TableField("BUYER_LINKMAN")
private String buyerLinkman;
/**
* 是否附证明文件
*/
@TableField("IS_HAVR_ACCESSORY")
private String isHavrAccessory;
/**
* 是否为华能系统的项目
*/
@TableField("IS_OUR_COMPANY_PROJECT")
private String isOurCompanyProject;
/**
* 服务范围
*/
@TableField("SERVICE_SCOPE")
private String serviceScope;
/**
* 设备名称
*/
@TableField("DEVICE_NAME")
private String deviceName;
/**
* 型号和规格
*/
@TableField("DEVICETYPE_SPECIFICATION")
private String devicetypeSpecification;
/**
* 总容量
*/
@TableField("TOTAL_CAPACITY")
private String totalCapacity;
/**
* 台数
*/
@TableField("NUMBER")
private String number;
/**
* 合同时间
*/
@TableField("CONTRACT_TIME")
private String contractTime;
/**
* 投运时间
*/
@TableField("COMMISSIONING_TIME")
private String commissioningTime;
/**
* 备注
*/
@TableField("MEMO")
private String memo;
/**
* 建设规模
*/
@TableField("PROJECT_SCALE")
private String projectScale;
/**
* 专业人员人数
*/
@TableField("PROFESSIONAL_NUMBER")
private String professionalNumber;
/**
* 专业人员人月数
*/
@TableField("PROFESSIONAL_WORKLOAD")
private String professionalWorkload;
/**
* 合作公司提供人员月数
*/
@TableField("PARTNER_PROFESSIONAL_WORKLOAD")
private String partnerProfessionalWorkload;
/**
* 监理范围及内容
*/
@TableField("SUPERVISION_CCONTENT")
private String supervisionCcontent;
/**
* 监理效果
*/
@TableField("SUPERVISION_RESULT")
private String supervisionResult;
/**
* 关键人员姓名专业及职务
*/
@TableField("KEY_STAFF_PROFESSIONAL_AND_DUTY")
private String keyStaffProfessionalAndDuty;
/**
* 实际服务说明
*/
@TableField("SERVICE_DESC")
private String serviceDesc;
/**
* 履约日期
*/
@TableField("EXECUTION_DATE")
private String executionDate;
/**
* 规模类型
*/
@TableField("PROJECT_SCALE_AND_TYPE")
private String projectScaleAndType;
/**
* 设计阶段
*/
@TableField("DESIGN_STAGE")
private String designStage;
/**
* 设计范围
*/
@TableField("DESIGN_RANGE")
private String designRange;
/**
* 合作方式
*/
@TableField("COOPERATION_WAY")
private String cooperationWay;
/**
* 合同履行获奖情况/合同履行情况
*/
@TableField("CONTRACT_EXECUTE_CONDITION")
private String contractExecuteCondition;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_profitloss_sheet")
public class ObeProfitlossSheet extends Model<ObeProfitlossSheet> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 财务ID
*/
@TableField("FINANCE_ID")
private String financeId;
/**
* 主营业务收入净额
*/
@TableField("MAIN_INCOME")
private BigDecimal mainIncome;
/**
* 主营业务成本
*/
@TableField("MAIN_COST")
private BigDecimal mainCost;
/**
* 财务费用
*/
@TableField("FINANCIAL_COST")
private BigDecimal financialCost;
/**
* 其他成本费用
*/
@TableField("OTHER_COSTS")
private BigDecimal otherCosts;
/**
* 其中:技术开发、转让费用
*/
@TableField("DEVELOPMENT_AND_TRANSFER_COSTS")
private BigDecimal developmentAndTransferCosts;
/**
* 利润总额
*/
@TableField("PROFIT_LOSSPROFIT")
private BigDecimal profitLossprofit;
/**
* 净利润
*/
@TableField("PROFIT_RETAINED_PROFITS")
private BigDecimal profitRetainedProfits;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_project_leader")
public class ObeProjectLeader extends Model<ObeProjectLeader> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 模型数据ID
*/
@TableField("MODEL_DATA_ID")
private String modelDataId;
/**
* 公司名称
*/
@TableField("COMPANY_NAME")
private String companyName;
/**
* 姓名
*/
@TableField("LEADER_NAME")
private String leaderName;
/**
* 身份证号
*/
@TableField("IDNUMBER")
private String idnumber;
/**
* 年龄
*/
@TableField("AGE")
private String age;
/**
* 职务名称
*/
@TableField("JOB_TITLE")
private String jobTitle;
/**
* 工作经验(年)
*/
@TableField("WORK_EXPERIENCE")
private String workExperience;
/**
* 当前专业工作年限
*/
@TableField("CURRENT_MAJOR_EXPERIENCE")
private String currentMajorExperience;
/**
* 毕业学校
*/
@TableField("GRADUATE_SCHOOL")
private String graduateSchool;
/**
* 毕业专业
*/
@TableField("GRADUATE_MAJOR")
private String graduateMajor;
/**
* 学历
*/
@TableField("EDUCATION")
private String education;
/**
* 职称
*/
@TableField("PROFESSIONAL_TITLE")
private String professionalTitle;
/**
* 是否为项目负责人
*/
@TableField("IS_LEADER_FLAG")
private String isLeaderFlag;
/**
* 证书列表
*/
@TableField(exist = false)
private List<ObeCertificate> certificateList;
/**
* 工作经历
*/
@TableField(exist = false)
private List<ObeWorkExperience> workExperienceList;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_qualification")
public class ObeQualification extends Model<ObeQualification> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 模型数据ID
*/
@TableField("MODEL_DATA_ID")
private String modelDataId;
/**
* 证书名称
*/
@TableField("CERTIFICATE_NAME")
private String certificateName;
/**
* 获奖工程名称
*/
@TableField("AWARD_PROJECT_NAME")
private String awardProjectName;
/**
* 单位名称
*/
@TableField("COMPANY_NAME")
private String companyName;
/**
* 证书等级
*/
@TableField("AWARD_LEVEL")
private String awardLevel;
/**
* 证书编号
*/
@TableField("CERTIFICATE_NUMBER")
private String certificateNumber;
/**
* 发证机关(认证单位)
*/
@TableField("ISSUE_AUTHORITY")
private String issueAuthority;
/**
* 发证日期
*/
@TableField("ISSUE_DATE")
private String issueDate;
/**
* 有效期至
*/
@TableField("PERIOD_VALIDITY")
private String periodValidity;
/**
* 获奖工程名称
*/
@TableField("PROJECT_NAME")
private String projectName;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_template_data_item")
public class ObeTemplateDataItem extends Model<ObeTemplateDataItem> {
private static final long serialVersionUID = 1L;
@TableId("ID")
private String id;
@TableField("TENDER_ID")
private String tenderId;
@TableField("SUPPLIER_ID")
private String supplierId;
@TableField("REL_CHAPTER_TYPE")
private String relChapterType;
@TableField("DATA_CODE")
private String dataCode;
@TableField("NAME")
private String name;
@TableField("VALUE")
private String value;
@TableField("TYPE")
private String type;
@TableField("DATA_TYPE")
private String dataType;
@TableField("UNIT")
private String unit;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dom4j.Element;
import java.util.List;
import java.util.stream.Collectors;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_template_table")
public class ObeTemplateTable extends Model<ObeTemplateTable> {
private static final long serialVersionUID = 1L;
@TableId("ID")
private String id;
@TableField("TENDER_ID")
private String tenderId;
@TableField("SUPPLIER_ID")
private String supplierId;
@TableField("REL_CHAPTER_TYPE")
private String relChapterType;
@TableField("DATA_CODE")
private String dataCode;
@TableField("XML_PATH")
private String xmlPath;
@TableField("TABLE_NAME")
private String tableName;
@TableField("TABLE_INFO")
private String tableInfo;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author mazc
* @Description:
*/
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("obe_work_experience")
public class ObeWorkExperience extends Model<ObeWorkExperience> {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId("ID")
private String id;
/**
* 项目ID
*/
@TableField("TENDER_ID")
private String tenderId;
/**
* 项目负责人ID
*/
@TableField("PROJECT_LEADER_ID")
private String projectLeaderId;
/**
* 时间
*/
@TableField("TIME")
private String time;
/**
* 参加的类似项目
*/
@TableField("PROJECT_NAME")
private String projectName;
/**
* 担任职务
*/
@TableField("JOB_TITLE")
private String jobTitle;
/**
* 发包人及其联系联系电话
*/
@TableField("CONTRACT_INFO")
private String contractInfo;
/**
* 承担的工作
*/
@TableField("BEAR_WORK")
private String bearWork;
/**
* 容量(MW)
*/
@TableField("CAPACITY")
private String capacity;
/**
* 排序
*/
@TableField("SORT_NO")
private Integer sortNo;
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.entity;
import lombok.Data;
import java.util.List;
@Data
public class StructDateInfo {
private List<ObeTemplateDataItem> templateDataItemList;
private List<ObeTemplateTable> templateTableList;
private List<ObeModelData> modelDataList;
private List<ObeBusinessLicense> businessLicenseList;
private List<ObeFinance> financeList;
private List<ObePerformance> performanceList;
private List<ObeBidderBasicInfo> bidderBasicInfoList;
private List<ObeQualification> qualificationList;
private List<ObeProjectLeader> projectLeaderList;
private List<ObeAttachmentFile> attachmentFileList;
}
package com.gx.obe.server.management.struct_new.enums;
import com.gx.obe.server.common.utils.EnumUtils;
import java.util.Map;
public enum DataCategoryEnum {
NULL(""),
/**
* 小范本数据表单
*/
TDI("TDI"),
/**
* 小范本表格
*/
TT("TT"),
/**
* 对象结构化数据
*/
MD("MD");
public static Map<String, DataCategoryEnum> MAP = EnumUtils.toMap(values(), DataCategoryEnum::getKey);
private String key;
DataCategoryEnum(String key) {
this.key = key;
}
public String getKey() {
return key;
}
}
package com.gx.obe.server.management.struct_new.enums;
public enum ModelDataClassEnum {
/**
* 投标人基本情况
*/
BidderInfo,
/**
* 营业执照
*/
BusinessLicense,
/**
* 财务报告
*/
Finance,
/**
* 业绩
*/
Performance,
/**
* 项目负责人
*/
ProjectLeader,
/**
* 企业体系认证证书
*/
Qualification;
}
package com.gx.obe.server.management.struct_new.enums;
import com.gx.obe.server.common.utils.EnumUtils;
import java.util.Map;
public enum ModelDataTypeEnum {
/**
* 投标人基本情况
*/
EQ_BidderBasicInfo("EQ_BidderBasicInfo", ModelDataClassEnum.BidderInfo),
/**
* 营业执照
*/
EQ_BusinessLicense("EQ_BusinessLicense", ModelDataClassEnum.BusinessLicense),
/**
* 财务报告
*/
EQ_FinancialReport("EQ_FinancialReport", ModelDataClassEnum.Finance),
/**
* 项目负责人
*/
EQ_ProjectLeader("EQ_ProjectLeader", ModelDataClassEnum.ProjectLeader),
/**
* 施工业绩
*/
EQ_Construction("EQ_Construction", ModelDataClassEnum.Performance),
/**
* 勘察设计
*/
EQ_SurveyDesign("EQ_SurveyDesign", ModelDataClassEnum.Performance),
/**
* 监理业绩
*/
EQ_Supervision("EQ_Supervision", ModelDataClassEnum.Performance),
/**
* 采购业绩
*/
EQ_Procurement("EQ_Procurement", ModelDataClassEnum.Performance),
/**
* 生产业绩
*/
EQ_Production("EQ_Production", ModelDataClassEnum.Performance),
/**
* 安全生产许可证
*/
EQ_Qualification_SCXK("EQ_Qualification_SCXK", ModelDataClassEnum.Qualification),
/**
* 质量体系认证证书
*/
EQ_Qualification_ZLTX("EQ_Qualification_ZLTX", ModelDataClassEnum.Qualification),
/**
* 职业健康安全管理体系
*/
EQ_Qualification_ZYJK("EQ_Qualification_ZYJK", ModelDataClassEnum.Qualification),
/**
* 环境管理体系认证证书
*/
EQ_Qualification_HBTX("EQ_Qualification_HBTX", ModelDataClassEnum.Qualification),
/**
* 全国工业生产许可证
*/
EQ_Qualification_QGGYSCXK("EQ_Qualification_QGGYSCXK", ModelDataClassEnum.Qualification),
/**
* 其他资质证书(华能企业资质证书)
*/
EQ_Qualification("EQ_Qualification", ModelDataClassEnum.Qualification),
/**
* 国家级奖项(华能新增)
*/
EQ_Qualification_GJ_JX("EQ_Qualification_GJ_JX", ModelDataClassEnum.Qualification),
/**
* 省部级奖励(华能新增)
*/
EQ_Qualification_SJ_JX("EQ_Qualification_SJ_JX", ModelDataClassEnum.Qualification),
/**
* 所建工程国家级奖励
*/
EQ_Qualification_GJ_GCJX("EQ_Qualification_GJ_GCJX", ModelDataClassEnum.Qualification),
/**
* 所建工程省部级奖励
*/
EQ_Qualification_SJ_GCJX("EQ_Qualification_SJ_GCJX", ModelDataClassEnum.Qualification),
/**
* 资信等级(需要统一等级)
*/
EQ_Qualification_ZXDJ("EQ_Qualification_ZXDJ", ModelDataClassEnum.Qualification),
/**
* 设计资质
*/
EQ_Qualification_SJZZ("EQ_Qualification_SJZZ", ModelDataClassEnum.Qualification),
/**
* 施工资质
*/
EQ_Qualification_SGZZ("EQ_Qualification_SGZZ", ModelDataClassEnum.Qualification),
/**
* 监理资质
*/
EQ_Qualification_JLZZ("EQ_Qualification_JLZZ", ModelDataClassEnum.Qualification),
/**
* 检验报告
*/
EQ_Qualification_SurveyReport("EQ_Qualification_SurveyReport", ModelDataClassEnum.Qualification);
public static Map<String, ModelDataTypeEnum> MAP = EnumUtils.toMap(values(), ModelDataTypeEnum::getKey);
private String key;
private ModelDataClassEnum classEnum;
ModelDataTypeEnum(String key, ModelDataClassEnum classEnum) {
this.key = key;
this.classEnum = classEnum;
}
public String getKey() {
return key;
}
public ModelDataClassEnum getClassEnum() {
return classEnum;
}
}
package com.gx.obe.server.management.struct_new.enums;
import com.gx.obe.server.common.utils.EnumUtils;
import java.util.Map;
import java.util.Optional;
import java.util.function.Function;
public enum PerformanceStatus {
/**
* 进行中
*/
PROGRESS("00", "进行中"),
/**
* 已完成
*/
COMPLETED("01", "已投产");
public static Map<String, PerformanceStatus> MAP = EnumUtils.toMap(values(), PerformanceStatus::getKey);
public static Function<String, String> keyToValueFun = t -> Optional.ofNullable(t).map(MAP::get).map(PerformanceStatus::getName).orElse("未知状态");
private String key;
private String name;
PerformanceStatus(String key, String name) {
this.key = key;
this.name = name;
}
public String getKey() {
return key;
}
public String getName() {
return name;
}
}
\ No newline at end of file
package com.gx.obe.server.management.struct_new.handler;
import lombok.Getter;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@Getter
public class RelChapterTypeHandler {
private final String relChapterType;
private final String mark;
private final boolean hasMark;
private static final Set<String> SET = Stream.of("00", "01", "02").collect(Collectors.toSet());
public RelChapterTypeHandler(String relChapterType) {
Optional<String> mark = SET.stream().map("_"::concat).filter(relChapterType::endsWith).findAny();
this.hasMark = mark.isPresent();
if (this.hasMark) {
this.mark = mark.get().substring(1);
this.relChapterType = relChapterType.substring(0, relChapterType.length() - mark.get().length());
} else {
this.mark = null;
this.relChapterType = relChapterType;
}
}
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeAttachmentFile;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeAttachmentFileService extends IService<ObeAttachmentFile> {
/**
* @param ObeAttachmentFileList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeAttachmentFile> ObeAttachmentFileList);
/**
* @param ObeAttachmentFileList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeAttachmentFile> ObeAttachmentFileList);
/**
* @param ObeAttachmentFile
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeAttachmentFile ObeAttachmentFile, String[] attributes);
/**
* @param ObeAttachmentFileList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeAttachmentFile> ObeAttachmentFileList, String[] attributes);
/**
* @param ObeAttachmentFileList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeAttachmentFile> ObeAttachmentFileList, String[] attributes);
/**
* @param businessId
* @return
* @Description: 获取附件列表
* @author chenxw
*/
List<ObeAttachmentFile> getAttachmentFileList(String businessId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeBalanceSheet;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeBalanceSheetService extends IService<ObeBalanceSheet> {
/**
* @param ObeBalanceSheetList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeBalanceSheet> ObeBalanceSheetList);
/**
* @param ObeBalanceSheetList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeBalanceSheet> ObeBalanceSheetList);
/**
* @param ObeBalanceSheet
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeBalanceSheet ObeBalanceSheet, String[] attributes);
/**
* @param ObeBalanceSheetList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeBalanceSheet> ObeBalanceSheetList, String[] attributes);
/**
* @param ObeBalanceSheetList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeBalanceSheet> ObeBalanceSheetList, String[] attributes);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeBidderBasicInfo;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeBidderBasicInfoService extends IService<ObeBidderBasicInfo> {
/**
* @param ObeBidderBasicInfoList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeBidderBasicInfo> ObeBidderBasicInfoList);
/**
* @param ObeBidderBasicInfoList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeBidderBasicInfo> ObeBidderBasicInfoList);
/**
* @param ObeBidderBasicInfo
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeBidderBasicInfo ObeBidderBasicInfo, String[] attributes);
/**
* @param ObeBidderBasicInfoList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeBidderBasicInfo> ObeBidderBasicInfoList, String[] attributes);
/**
* @param ObeBidderBasicInfoList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeBidderBasicInfo> ObeBidderBasicInfoList, String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取投标人基本情况列表
* @author chenxw
*/
List<ObeBidderBasicInfo> getBidderBasicInfoList(String tenderId, String modelDataId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeBusinessLicense;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeBusinessLicenseService extends IService<ObeBusinessLicense> {
/**
* @param ObeBusinessLicenseList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeBusinessLicense> ObeBusinessLicenseList);
/**
* @param ObeBusinessLicenseList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeBusinessLicense> ObeBusinessLicenseList);
/**
* @param ObeBusinessLicense
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeBusinessLicense ObeBusinessLicense, String[] attributes);
/**
* @param ObeBusinessLicenseList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeBusinessLicense> ObeBusinessLicenseList, String[] attributes);
/**
* @param ObeBusinessLicenseList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeBusinessLicense> ObeBusinessLicenseList, String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取营业执照列表
* @author chenxw
*/
List<ObeBusinessLicense> getBusinessLicenseList(String tenderId, String modelDataId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeCashSheet;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeCashSheetService extends IService<ObeCashSheet> {
/**
* @param ObeCashSheetList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeCashSheet> ObeCashSheetList);
/**
* @param ObeCashSheetList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeCashSheet> ObeCashSheetList);
/**
* @param ObeCashSheet
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeCashSheet ObeCashSheet, String[] attributes);
/**
* @param ObeCashSheetList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeCashSheet> ObeCashSheetList, String[] attributes);
/**
* @param ObeCashSheetList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeCashSheet> ObeCashSheetList, String[] attributes);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeCertificate;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeCertificateService extends IService<ObeCertificate> {
/**
* @param ObeCertificateList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeCertificate> ObeCertificateList);
/**
* @param ObeCertificateList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeCertificate> ObeCertificateList);
/**
* @param ObeCertificate
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeCertificate ObeCertificate, String[] attributes);
/**
* @param ObeCertificateList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeCertificate> ObeCertificateList, String[] attributes);
/**
* @param ObeCertificateList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeCertificate> ObeCertificateList, String[] attributes);
/**
* @param projectLeaderId
* @return
* @Description: 获取证书列表
* @author chenxw
*/
List<ObeCertificate> getCertificateList(String projectLeaderId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeEvaluationContent;
import com.gx.obe.server.management.struct_new.entity.StructDateInfo;
import java.util.List;
/**
* @author chenxw
* @Description:
*/
public interface ObeEvaluationContentService extends IService<ObeEvaluationContent> {
/**
* @param ObeEvaluationContentList
* @Description: 批量更新
* @author chenxw
*/
Integer updateByBatch(List<ObeEvaluationContent> ObeEvaluationContentList);
/**
* @param ObeEvaluationContentList
* @Description: 批量插入
* @author chenxw
*/
Integer insertByBatch(List<ObeEvaluationContent> ObeEvaluationContentList);
/**
* @param ObeEvaluationContent
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeEvaluationContent ObeEvaluationContent, String[] attributes);
/**
* @param ObeEvaluationContentList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeEvaluationContent> ObeEvaluationContentList, String[] attributes);
/**
* @param ObeEvaluationContentList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeEvaluationContent> ObeEvaluationContentList, String[] attributes);
/**
* @param tenderId
* @return
* @Description: 获取评审内容
* @author chenxw
*/
List<ObeEvaluationContent> getEvaluationContentList(String tenderId);
/**
* @param tenderId
* @param factorCode
* @return
* @Description: 根据指标编号获取评审内容列表
* @author chenxw
*/
List<ObeEvaluationContent> getEvaluationContentListByFactorCode(String tenderId, String factorCode);
/**
* @param structDateInfo
* @Description: 保存结构化信息数据
* @author chenxw
*/
boolean saveStructDateInfo(StructDateInfo structDateInfo);
/**
* @param tenderId
* @return
* @Description: 清空结构化信息数据
* @author chenxw
*/
boolean deleteStructDateInfo(String tenderId);
/**
* @param structDateInfo
* @Description: 删除保存结构化信息数据
* @author chenxw
*/
boolean deleteOrSaveStructDateInfo(String tenderId, StructDateInfo structDateInfo);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeFinance;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeFinanceService extends IService<ObeFinance> {
/**
* @param ObeFinanceList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeFinance> ObeFinanceList);
/**
* @param ObeFinanceList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeFinance> ObeFinanceList);
/**
* @param ObeFinance
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeFinance ObeFinance, String[] attributes);
/**
* @param ObeFinanceList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeFinance> ObeFinanceList, String[] attributes);
/**
* @param ObeFinanceList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeFinance> ObeFinanceList, String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取财务状况列表
* @author chenxw
*/
List<ObeFinance> getFinanceList(String tenderId, String modelDataId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeModelData;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeModelDataService extends IService<ObeModelData> {
/**
* @param ObeModelDataList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeModelData> ObeModelDataList);
/**
* @param ObeModelDataList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeModelData> ObeModelDataList);
/**
* @param ObeModelData
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeModelData ObeModelData, String[] attributes);
/**
* @param ObeModelDataList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeModelData> ObeModelDataList, String[] attributes);
/**
* @param ObeModelDataList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeModelData> ObeModelDataList, String[] attributes);
/**
* @param tenderId
* @param supplierId
* @param relChapterType
* @param dataCode
* @return
* @Description: 获取对象结构化数据
* @author chenxw
*/
ObeModelData getModelData(String tenderId, String supplierId, String relChapterType, String dataCode);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObePerformance;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObePerformanceService extends IService<ObePerformance> {
/**
* @param ObePerformanceList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObePerformance> ObePerformanceList);
/**
* @param ObePerformanceList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObePerformance> ObePerformanceList);
/**
* @param ObePerformance
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObePerformance ObePerformance, String[] attributes);
/**
* @param ObePerformanceList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObePerformance> ObePerformanceList, String[] attributes);
/**
* @param ObePerformanceList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObePerformance> ObePerformanceList, String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取业绩列表
* @author chenxw
*/
List<ObePerformance> getPerformanceList(String tenderId, String modelDataId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeProfitlossSheet;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeProfitlossSheetService extends IService<ObeProfitlossSheet> {
/**
* @param ObeProfitlossSheetList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeProfitlossSheet> ObeProfitlossSheetList);
/**
* @param ObeProfitlossSheetList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeProfitlossSheet> ObeProfitlossSheetList);
/**
* @param ObeProfitlossSheet
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeProfitlossSheet ObeProfitlossSheet, String[] attributes);
/**
* @param ObeProfitlossSheetList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeProfitlossSheet> ObeProfitlossSheetList, String[] attributes);
/**
* @param ObeProfitlossSheetList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeProfitlossSheet> ObeProfitlossSheetList, String[] attributes);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeProjectLeader;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeProjectLeaderService extends IService<ObeProjectLeader> {
/**
* @param ObeProjectLeaderList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeProjectLeader> ObeProjectLeaderList);
/**
* @param ObeProjectLeaderList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeProjectLeader> ObeProjectLeaderList);
/**
* @param ObeProjectLeader
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeProjectLeader ObeProjectLeader, String[] attributes);
/**
* @param ObeProjectLeaderList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeProjectLeader> ObeProjectLeaderList, String[] attributes);
/**
* @param ObeProjectLeaderList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeProjectLeader> ObeProjectLeaderList, String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取项目负责人列表
* @author chenxw
*/
List<ObeProjectLeader> getProjectLeaderList(String tenderId, String modelDataId);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取项目负责人列表
* @author chenxw
*/
List<ObeProjectLeader> getProjectLeaderListAll(String tenderId, String modelDataId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeQualification;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeQualificationService extends IService<ObeQualification> {
/**
* @param ObeQualificationList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeQualification> ObeQualificationList);
/**
* @param ObeQualificationList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeQualification> ObeQualificationList);
/**
* @param ObeQualification
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeQualification ObeQualification, String[] attributes);
/**
* @param ObeQualificationList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeQualification> ObeQualificationList, String[] attributes);
/**
* @param ObeQualificationList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeQualification> ObeQualificationList, String[] attributes);
/**
* @param tenderId
* @param modelDataId
* @return
* @Description: 获取证书列表
* @author chenxw
*/
List<ObeQualification> getQualificationList(String tenderId, String modelDataId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeTemplateDataItem;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeTemplateDataItemService extends IService<ObeTemplateDataItem> {
/**
* @param ObeTemplateDataItemList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeTemplateDataItem> ObeTemplateDataItemList);
/**
* @param ObeTemplateDataItemList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeTemplateDataItem> ObeTemplateDataItemList);
/**
* @param ObeTemplateDataItem
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeTemplateDataItem ObeTemplateDataItem, String[] attributes);
/**
* @param ObeTemplateDataItemList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeTemplateDataItem> ObeTemplateDataItemList, String[] attributes);
/**
* @param ObeTemplateDataItemList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeTemplateDataItem> ObeTemplateDataItemList, String[] attributes);
/**
* @param tenderId
* @param supplierId
* @param factorCode
* @return
* @Description: 获取小范本表单列表
* @author chenxw
*/
List<ObeTemplateDataItem> getTemplateDataItemList(String tenderId, String supplierId, String factorCode);
/**
* @param tenderId
* @param supplierId
* @param contentId
* @return
* @Description: 获取小范本表单列表
* @author chenxw
*/
List<ObeTemplateDataItem> getListByContentId(String tenderId, String supplierId, String contentId);
}
package com.gx.obe.server.management.struct_new.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gx.obe.server.management.struct_new.entity.ObeTemplateTable;
import java.util.List;
/**
* @author mazc
* @Description:
*/
public interface ObeTemplateTableService extends IService<ObeTemplateTable> {
/**
* @param ObeTemplateTableList
* @Description: 批量更新
* @author mazc
*/
Integer updateByBatch(List<ObeTemplateTable> ObeTemplateTableList);
/**
* @param ObeTemplateTableList
* @Description: 批量插入
* @author mazc
*/
Integer insertByBatch(List<ObeTemplateTable> ObeTemplateTableList);
/**
* @param ObeTemplateTable
* @param attributes
* @Description: 指定字段修改
* @author chenxw
*/
boolean updateAssignProperty(ObeTemplateTable ObeTemplateTable, String[] attributes);
/**
* @param ObeTemplateTableList
* @param attributes
* @Description: 批量指定字段修改
* @author chenxw
*/
Integer batchUpdateProperty(List<ObeTemplateTable> ObeTemplateTableList, String[] attributes);
/**
* @param ObeTemplateTableList
* @param attributes
* @return
* @Description: 批量添加或跟新
* @author chenxw
*/
Integer batchSaveOrUpdate(List<ObeTemplateTable> ObeTemplateTableList, String[] attributes);
/**
* @param tenderId
* @param supplierId
* @param relChapterType
* @param dataCode
* @return
* @Description: 获取小范本表格
* @author chenxw
*/
ObeTemplateTable getTemplateTable(String tenderId, String supplierId, String relChapterType, String dataCode);
/**
* @param tenderId
* @param relChapterType
* @param dataCode
* @return
* @Description: 获取小范本表格列表
* @author chenxw
*/
List<ObeTemplateTable> getTemplateTableList(String tenderId, String relChapterType, String dataCode);
}
# 设置服务端口 server: port: 9863 spring: application: name: com.gx.obe.server datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://59.110.139.213:6033/obe_jncs?characterEncoding=utf8&allowMultiQueries=true&useSSL=false&useUnicode=true&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai username: gxcx-jncs password: Z3hjeC1qbmNz logging: level: cn.jay.repository: info # 文件保存路径 upload: folder: folder
\ No newline at end of file
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