Commit 201a8fe2 authored by zhangyi's avatar zhangyi

update

parent 16b23021
...@@ -21,7 +21,6 @@ public class EnterpriseAffiliatesBody extends BasePage { ...@@ -21,7 +21,6 @@ public class EnterpriseAffiliatesBody extends BasePage {
private Integer hasBid; private Integer hasBid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -23,7 +23,6 @@ public class EnterpriseBestStockPageBody extends BasePage ...@@ -23,7 +23,6 @@ public class EnterpriseBestStockPageBody extends BasePage
//是否历史 0 否 1 是 //是否历史 0 否 1 是
private Integer isHistory; private Integer isHistory;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -26,7 +26,6 @@ public class EnterpriseBidDataGroupBody ...@@ -26,7 +26,6 @@ public class EnterpriseBidDataGroupBody
@NotNull(message = "spanId不能为空") @NotNull(message = "spanId不能为空")
private Integer spanId; private Integer spanId;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -31,7 +31,6 @@ public class EnterpriseBidNoticePageBody extends BasePage ...@@ -31,7 +31,6 @@ public class EnterpriseBidNoticePageBody extends BasePage
*/ */
private Integer provinceId; private Integer provinceId;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseBidNoticeProvinceBody ...@@ -20,7 +20,6 @@ public class EnterpriseBidNoticeProvinceBody
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer companyId; private Integer companyId;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseBidNoticeTenderStageBody ...@@ -20,7 +20,6 @@ public class EnterpriseBidNoticeTenderStageBody
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer companyId; private Integer companyId;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseBondCreditRatingBody ...@@ -20,7 +20,6 @@ public class EnterpriseBondCreditRatingBody
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -30,7 +30,6 @@ public class EnterpriseBussinessBidCooperatePageBody extends BasePage { ...@@ -30,7 +30,6 @@ public class EnterpriseBussinessBidCooperatePageBody extends BasePage {
*/ */
private String keys; private String keys;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == tendereeId || 0 == agencyId; return 0 == tendereeId || 0 == agencyId;
} }
......
...@@ -32,7 +32,6 @@ public class EnterpriseBussinessClientPageBody extends BasePage { ...@@ -32,7 +32,6 @@ public class EnterpriseBussinessClientPageBody extends BasePage {
*/ */
private Integer sort; private Integer sort;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -31,7 +31,6 @@ public class EnterpriseBussinessClientProjectPageBody extends BasePage { ...@@ -31,7 +31,6 @@ public class EnterpriseBussinessClientProjectPageBody extends BasePage {
private String keys; private String keys;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid || 0 == unitId; return 0 == cid || 0 == unitId;
} }
......
...@@ -54,7 +54,6 @@ public class EnterpriseBussinessHistorySendPageBody extends BasePage { ...@@ -54,7 +54,6 @@ public class EnterpriseBussinessHistorySendPageBody extends BasePage {
*/ */
private Double amountMax; private Double amountMax;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -18,7 +18,7 @@ public class EnterpriseBussinessHistorySendProvinceBody { ...@@ -18,7 +18,7 @@ public class EnterpriseBussinessHistorySendProvinceBody {
*/ */
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -31,7 +31,6 @@ public class EnterpriseBussinessOftenAgencyPageBody extends BasePage { ...@@ -31,7 +31,6 @@ public class EnterpriseBussinessOftenAgencyPageBody extends BasePage {
*/ */
private Integer sort; private Integer sort;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -31,7 +31,6 @@ public class EnterpriseBussinessSupplierPageBody extends BasePage { ...@@ -31,7 +31,6 @@ public class EnterpriseBussinessSupplierPageBody extends BasePage {
*/ */
private Integer sort; private Integer sort;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -31,7 +31,6 @@ public class EnterpriseBussinessSupplierProjectPageBody extends BasePage { ...@@ -31,7 +31,6 @@ public class EnterpriseBussinessSupplierProjectPageBody extends BasePage {
private String keys; private String keys;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid || 0 == unitId; return 0 == cid || 0 == unitId;
} }
......
...@@ -26,7 +26,6 @@ public class EnterpriseBussinessTenderPageBody extends BasePage { ...@@ -26,7 +26,6 @@ public class EnterpriseBussinessTenderPageBody extends BasePage {
private String keys; private String keys;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseChangeInfoBody extends BasePage ...@@ -21,7 +21,6 @@ public class EnterpriseChangeInfoBody extends BasePage
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -26,7 +26,6 @@ public class EnterpriseCreditAbnormalPageBody extends BasePage { ...@@ -26,7 +26,6 @@ public class EnterpriseCreditAbnormalPageBody extends BasePage {
private List<String> years; private List<String> years;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,8 +20,6 @@ public class EnterpriseCreditAbnormalYearsBody { ...@@ -20,8 +20,6 @@ public class EnterpriseCreditAbnormalYearsBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -27,7 +27,6 @@ public class EnterpriseCreditExecutedPageBody extends BasePage { ...@@ -27,7 +27,6 @@ public class EnterpriseCreditExecutedPageBody extends BasePage {
*/ */
private String dateTo; private String dateTo;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -29,7 +29,6 @@ public class EnterpriseCreditExecutedPersonsPageBody extends BasePage { ...@@ -29,7 +29,6 @@ public class EnterpriseCreditExecutedPersonsPageBody extends BasePage {
*/ */
private String dateTo; private String dateTo;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseCreditKaitingCauseActionBody { ...@@ -20,7 +20,6 @@ public class EnterpriseCreditKaitingCauseActionBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -45,7 +45,6 @@ public class EnterpriseCreditKaitingPageBody extends BasePage { ...@@ -45,7 +45,6 @@ public class EnterpriseCreditKaitingPageBody extends BasePage {
private String dateTo; private String dateTo;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterpriseCreditKaitingPureRoleBody { ...@@ -19,7 +19,6 @@ public class EnterpriseCreditKaitingPureRoleBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterpriseCreditLawsuitsCauseActionBody { ...@@ -19,7 +19,6 @@ public class EnterpriseCreditLawsuitsCauseActionBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -42,7 +42,6 @@ public class EnterpriseCreditLawsuitsPageBody extends BasePage { ...@@ -42,7 +42,6 @@ public class EnterpriseCreditLawsuitsPageBody extends BasePage {
*/ */
private String dateTo; private String dateTo;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterpriseCreditLawsuitsRoleBody { ...@@ -19,7 +19,6 @@ public class EnterpriseCreditLawsuitsRoleBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterpriseCreditNoticeCaseReasonBody { ...@@ -19,7 +19,6 @@ public class EnterpriseCreditNoticeCaseReasonBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -44,7 +44,6 @@ public class EnterpriseCreditNoticePageBody extends BasePage { ...@@ -44,7 +44,6 @@ public class EnterpriseCreditNoticePageBody extends BasePage {
*/ */
private String dateTo; private String dateTo;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterpriseCreditNoticeRoleBody { ...@@ -19,7 +19,6 @@ public class EnterpriseCreditNoticeRoleBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterpriseCreditNoticeTypeBody { ...@@ -19,7 +19,6 @@ public class EnterpriseCreditNoticeTypeBody {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -30,7 +30,6 @@ public class EnterpriseCreditPenalizePageBody extends BasePage { ...@@ -30,7 +30,6 @@ public class EnterpriseCreditPenalizePageBody extends BasePage {
private String keys; private String keys;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseCreditPenalizeReasonTypeBody { ...@@ -20,7 +20,6 @@ public class EnterpriseCreditPenalizeReasonTypeBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseDynamicPageBody extends BasePage ...@@ -21,7 +21,6 @@ public class EnterpriseDynamicPageBody extends BasePage
private Integer companyId; private Integer companyId;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseFinancialBody ...@@ -21,7 +21,6 @@ public class EnterpriseFinancialBody
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseIcInfoBody extends BasePage ...@@ -21,7 +21,6 @@ public class EnterpriseIcInfoBody extends BasePage
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseInfoHeaderBody ...@@ -21,7 +21,6 @@ public class EnterpriseInfoHeaderBody
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer companyId; private Integer companyId;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -22,7 +22,6 @@ public class EnterpriseInvestmentBody extends BasePage { ...@@ -22,7 +22,6 @@ public class EnterpriseInvestmentBody extends BasePage {
private double stockPercentageMin; private double stockPercentageMin;
private double stockPercentageMax; private double stockPercentageMax;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseKeymembersBody extends BasePage ...@@ -20,7 +20,6 @@ public class EnterpriseKeymembersBody extends BasePage
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -19,7 +19,6 @@ public class EnterprisePartnersBody extends BasePage { ...@@ -19,7 +19,6 @@ public class EnterprisePartnersBody extends BasePage {
@NotNull(message = "企业id不能为空") @NotNull(message = "企业id不能为空")
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -32,7 +32,6 @@ public class EnterpriseProjectApprovalProjectPageBody extends BasePage { ...@@ -32,7 +32,6 @@ public class EnterpriseProjectApprovalProjectPageBody extends BasePage {
private Integer sort; private Integer sort;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeAreaBody { ...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeAreaBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -51,7 +51,6 @@ public class EnterpriseProjectBidNoticePageBody extends BasePage { ...@@ -51,7 +51,6 @@ public class EnterpriseProjectBidNoticePageBody extends BasePage {
private List<Integer> areaIds; private List<Integer> areaIds;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeProAssessmentWayBody { ...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeProAssessmentWayBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -41,7 +41,6 @@ public class EnterpriseProjectBidNoticeProPageBody extends BasePage { ...@@ -41,7 +41,6 @@ public class EnterpriseProjectBidNoticeProPageBody extends BasePage {
private String bidAssessmentWay; private String bidAssessmentWay;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeProProjectPurposesBody { ...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeProProjectPurposesBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeProProjectTypeBody { ...@@ -20,7 +20,6 @@ public class EnterpriseProjectBidNoticeProProjectTypeBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseProjectBidNoticeTenderStageBody { ...@@ -21,7 +21,6 @@ public class EnterpriseProjectBidNoticeTenderStageBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -30,7 +30,6 @@ public class EnterpriseProjectBidPlanPageBody extends BasePage { ...@@ -30,7 +30,6 @@ public class EnterpriseProjectBidPlanPageBody extends BasePage {
*/ */
private Integer sort; private Integer sort;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -24,7 +24,6 @@ public class EnterpriseProjectCreditXzxkPageBody extends BasePage { ...@@ -24,7 +24,6 @@ public class EnterpriseProjectCreditXzxkPageBody extends BasePage {
*/ */
private String keys; private String keys;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -37,7 +37,6 @@ public class EnterpriseProjectLandTransactionPageBody extends BasePage { ...@@ -37,7 +37,6 @@ public class EnterpriseProjectLandTransactionPageBody extends BasePage {
private Integer sort; private Integer sort;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -21,7 +21,6 @@ public class EnterpriseProjectLandUseBody { ...@@ -21,7 +21,6 @@ public class EnterpriseProjectLandUseBody {
private Integer cid; private Integer cid;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -29,4 +29,7 @@ public class EnterpriseProjectSpecialDebtProjectPageBody extends BasePage { ...@@ -29,4 +29,7 @@ public class EnterpriseProjectSpecialDebtProjectPageBody extends BasePage {
*/ */
private Integer sort; private Integer sort;
public boolean isVaildCid() {
return 0 == cid;
}
} }
...@@ -23,7 +23,6 @@ public class EnterpriseProjectTenderDataGroupBody { ...@@ -23,7 +23,6 @@ public class EnterpriseProjectTenderDataGroupBody {
private Integer type; private Integer type;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == cid; return 0 == cid;
} }
......
...@@ -22,7 +22,6 @@ public class EnterpriseStatisticBody ...@@ -22,7 +22,6 @@ public class EnterpriseStatisticBody
private Boolean isFy = false; private Boolean isFy = false;
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -42,7 +42,6 @@ public class EnterpriseSupplierPageBody extends BasePage { ...@@ -42,7 +42,6 @@ public class EnterpriseSupplierPageBody extends BasePage {
return sb.toString(); return sb.toString();
} }
@AssertFalse(message = "企业不存在")
public boolean isVaildCid() { public boolean isVaildCid() {
return 0 == companyId; return 0 == companyId;
} }
......
...@@ -13,6 +13,7 @@ import org.slf4j.LoggerFactory; ...@@ -13,6 +13,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -27,12 +28,14 @@ public class EnterpriseBussinessService { ...@@ -27,12 +28,14 @@ public class EnterpriseBussinessService {
public TableDataInfo clientPage(EnterpriseBussinessClientPageBody body) throws Exception { public TableDataInfo clientPage(EnterpriseBussinessClientPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/clientPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/clientPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public Map<String, Object> clientProjectPage(EnterpriseBussinessClientProjectPageBody body) throws Exception { public Map<String, Object> clientProjectPage(EnterpriseBussinessClientProjectPageBody body) throws Exception {
if (body.isVaildCid()) return null;
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/clientProjectPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/clientProjectPage", BeanUtil.beanToMap(body, false, false));
Integer code = MapUtils.getInteger(map, "code", 300); Integer code = MapUtils.getInteger(map, "code", 300);
Map data = MapUtils.getMap(map, "data", null); Map data = MapUtils.getMap(map, "data", null);
...@@ -47,6 +50,7 @@ public class EnterpriseBussinessService { ...@@ -47,6 +50,7 @@ public class EnterpriseBussinessService {
public TableDataInfo tenderPage(EnterpriseBussinessTenderPageBody body) throws Exception { public TableDataInfo tenderPage(EnterpriseBussinessTenderPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);;
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/tenderPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/tenderPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
...@@ -83,12 +87,14 @@ public class EnterpriseBussinessService { ...@@ -83,12 +87,14 @@ public class EnterpriseBussinessService {
public TableDataInfo supplierPage(EnterpriseBussinessSupplierPageBody body) throws Exception { public TableDataInfo supplierPage(EnterpriseBussinessSupplierPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/supplierPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/supplierPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public Map<String, Object> supplierProjectPage(EnterpriseBussinessSupplierProjectPageBody body) throws Exception { public Map<String, Object> supplierProjectPage(EnterpriseBussinessSupplierProjectPageBody body) throws Exception {
if (body.isVaildCid()) return null;
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/supplierProjectPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/supplierProjectPage", BeanUtil.beanToMap(body, false, false));
log.info(JSONUtil.toJsonStr(map)); log.info(JSONUtil.toJsonStr(map));
Integer code = MapUtils.getInteger(map, "code", 300); Integer code = MapUtils.getInteger(map, "code", 300);
...@@ -110,24 +116,28 @@ public class EnterpriseBussinessService { ...@@ -110,24 +116,28 @@ public class EnterpriseBussinessService {
public TableDataInfo oftenAgencyPage(EnterpriseBussinessOftenAgencyPageBody body) throws Exception { public TableDataInfo oftenAgencyPage(EnterpriseBussinessOftenAgencyPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/oftenAgencyPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/oftenAgencyPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo bidCooperatePage(EnterpriseBussinessBidCooperatePageBody body) throws Exception { public TableDataInfo bidCooperatePage(EnterpriseBussinessBidCooperatePageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/bidCooperatePage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/bidCooperatePage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo historySendPage(EnterpriseBussinessHistorySendPageBody body) throws Exception { public TableDataInfo historySendPage(EnterpriseBussinessHistorySendPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/historySendPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/historySendPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R historySendProvince(EnterpriseBussinessHistorySendProvinceBody body) throws Exception { public R historySendProvince(EnterpriseBussinessHistorySendProvinceBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/historySendProvince", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseBussiness/historySendProvince", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
......
...@@ -13,6 +13,7 @@ import org.slf4j.LoggerFactory; ...@@ -13,6 +13,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -28,96 +29,112 @@ public class EnterpriseCreditService { ...@@ -28,96 +29,112 @@ public class EnterpriseCreditService {
public TableDataInfo penalizePage(EnterpriseCreditPenalizePageBody body) throws Exception { public TableDataInfo penalizePage(EnterpriseCreditPenalizePageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/penalizePage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/penalizePage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R penalizeReasonType(EnterpriseCreditPenalizeReasonTypeBody body) throws Exception { public R penalizeReasonType(EnterpriseCreditPenalizeReasonTypeBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/penalizeReasonType", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/penalizeReasonType", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public TableDataInfo abnormalPage(EnterpriseCreditAbnormalPageBody body) throws Exception { public TableDataInfo abnormalPage(EnterpriseCreditAbnormalPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/abnormalPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/abnormalPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R abnormalYears(EnterpriseCreditAbnormalYearsBody body) throws Exception { public R abnormalYears(EnterpriseCreditAbnormalYearsBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/abnormalYears", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/abnormalYears", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public TableDataInfo executedPersonsPage(EnterpriseCreditExecutedPersonsPageBody body) throws Exception { public TableDataInfo executedPersonsPage(EnterpriseCreditExecutedPersonsPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/executedPersonsPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/executedPersonsPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo executedPage(EnterpriseCreditExecutedPageBody body) throws Exception { public TableDataInfo executedPage(EnterpriseCreditExecutedPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/executedPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/executedPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo lawsuitsPage(EnterpriseCreditLawsuitsPageBody body) throws Exception { public TableDataInfo lawsuitsPage(EnterpriseCreditLawsuitsPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/lawsuitsPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/lawsuitsPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R lawsuitsCauseAction(EnterpriseCreditLawsuitsCauseActionBody body) throws Exception { public R lawsuitsCauseAction(EnterpriseCreditLawsuitsCauseActionBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/lawsuitsCauseAction", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/lawsuitsCauseAction", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R lawsuitsRole(EnterpriseCreditLawsuitsRoleBody body) throws Exception { public R lawsuitsRole(EnterpriseCreditLawsuitsRoleBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/lawsuitsRole", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/lawsuitsRole", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public TableDataInfo noticesPage(EnterpriseCreditNoticePageBody body) throws Exception { public TableDataInfo noticesPage(EnterpriseCreditNoticePageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R noticesType(EnterpriseCreditNoticeTypeBody body) throws Exception { public R noticesType(EnterpriseCreditNoticeTypeBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesType", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesType", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R noticesRole(EnterpriseCreditNoticeRoleBody body) throws Exception { public R noticesRole(EnterpriseCreditNoticeRoleBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesRole", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesRole", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R noticesCaseReason(EnterpriseCreditNoticeCaseReasonBody body) throws Exception { public R noticesCaseReason(EnterpriseCreditNoticeCaseReasonBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesCaseReason", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/noticesCaseReason", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public TableDataInfo kaitingPage(EnterpriseCreditKaitingPageBody body) throws Exception { public TableDataInfo kaitingPage(EnterpriseCreditKaitingPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/kaitingPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/kaitingPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R kaitingCauseAction(EnterpriseCreditKaitingCauseActionBody body) throws Exception { public R kaitingCauseAction(EnterpriseCreditKaitingCauseActionBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/kaitingCauseAction", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/kaitingCauseAction", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R kaitingPureRole(EnterpriseCreditKaitingPureRoleBody body) throws Exception { public R kaitingPureRole(EnterpriseCreditKaitingPureRoleBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/kaitingPureRole", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseCredit/kaitingPureRole", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
......
...@@ -13,6 +13,7 @@ import org.slf4j.LoggerFactory; ...@@ -13,6 +13,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -26,12 +27,14 @@ public class EnterpriseProjectService { ...@@ -26,12 +27,14 @@ public class EnterpriseProjectService {
public TableDataInfo landTransactionPage(EnterpriseProjectLandTransactionPageBody body) throws Exception { public TableDataInfo landTransactionPage(EnterpriseProjectLandTransactionPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/landTransactionPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/landTransactionPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R landUse(EnterpriseProjectLandUseBody body) throws Exception { public R landUse(EnterpriseProjectLandUseBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/landUse", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/landUse", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
...@@ -44,6 +47,7 @@ public class EnterpriseProjectService { ...@@ -44,6 +47,7 @@ public class EnterpriseProjectService {
public TableDataInfo approvalProjectPage(EnterpriseProjectApprovalProjectPageBody body) throws Exception { public TableDataInfo approvalProjectPage(EnterpriseProjectApprovalProjectPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/approvalProjectPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/approvalProjectPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
...@@ -68,6 +72,7 @@ public class EnterpriseProjectService { ...@@ -68,6 +72,7 @@ public class EnterpriseProjectService {
public TableDataInfo specialDebtProjectPage(EnterpriseProjectSpecialDebtProjectPageBody body) throws Exception { public TableDataInfo specialDebtProjectPage(EnterpriseProjectSpecialDebtProjectPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/specialDebtProjectPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/specialDebtProjectPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
...@@ -84,18 +89,21 @@ public class EnterpriseProjectService { ...@@ -84,18 +89,21 @@ public class EnterpriseProjectService {
} }
public TableDataInfo bidNoticePage(EnterpriseProjectBidNoticePageBody body) throws Exception { public TableDataInfo bidNoticePage(EnterpriseProjectBidNoticePageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticePage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticePage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R bidNoticeTenderStage(EnterpriseProjectBidNoticeTenderStageBody body) throws Exception { public R bidNoticeTenderStage(EnterpriseProjectBidNoticeTenderStageBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeTenderStage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeTenderStage", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R bidNoticeArea(EnterpriseProjectBidNoticeAreaBody body) throws Exception { public R bidNoticeArea(EnterpriseProjectBidNoticeAreaBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeArea", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeArea", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
...@@ -108,6 +116,7 @@ public class EnterpriseProjectService { ...@@ -108,6 +116,7 @@ public class EnterpriseProjectService {
public TableDataInfo bidPlanPage(EnterpriseProjectBidPlanPageBody body) throws Exception { public TableDataInfo bidPlanPage(EnterpriseProjectBidPlanPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidPlanPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidPlanPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
...@@ -144,21 +153,25 @@ public class EnterpriseProjectService { ...@@ -144,21 +153,25 @@ public class EnterpriseProjectService {
public TableDataInfo bidNoticeProPage(EnterpriseProjectBidNoticeProPageBody body) throws Exception { public TableDataInfo bidNoticeProPage(EnterpriseProjectBidNoticeProPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R bidNoticeProProjectType(EnterpriseProjectBidNoticeProProjectTypeBody body) throws Exception { public R bidNoticeProProjectType(EnterpriseProjectBidNoticeProProjectTypeBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProProjectType", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProProjectType", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R bidNoticeProProjectPurposes(EnterpriseProjectBidNoticeProProjectPurposesBody body) throws Exception { public R bidNoticeProProjectPurposes(EnterpriseProjectBidNoticeProProjectPurposesBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProProjectPurposes", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProProjectPurposes", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R bidNoticeProAssessmentWay(EnterpriseProjectBidNoticeProAssessmentWayBody body) throws Exception { public R bidNoticeProAssessmentWay(EnterpriseProjectBidNoticeProAssessmentWayBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProAssessmentWay", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/bidNoticeProAssessmentWay", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
...@@ -171,6 +184,7 @@ public class EnterpriseProjectService { ...@@ -171,6 +184,7 @@ public class EnterpriseProjectService {
public TableDataInfo creditXzxkPage(EnterpriseProjectCreditXzxkPageBody body) throws Exception { public TableDataInfo creditXzxkPage(EnterpriseProjectCreditXzxkPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/creditXzxkPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterpriseProject/creditXzxkPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
......
...@@ -49,6 +49,7 @@ public class EnterpriseService { ...@@ -49,6 +49,7 @@ public class EnterpriseService {
private RedisCache redisCache; private RedisCache redisCache;
public R infoHeader(EnterpriseInfoHeaderBody body) throws Exception { public R infoHeader(EnterpriseInfoHeaderBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> companyMap = dskOpenApiUtil.requestBody("/api/jsk/enterprise/infoHeader", BeanUtil.beanToMap(body, false, false)); Map<String, Object> companyMap = dskOpenApiUtil.requestBody("/api/jsk/enterprise/infoHeader", BeanUtil.beanToMap(body, false, false));
Integer companyCode = MapUtils.getInteger(companyMap, "code", 300); Integer companyCode = MapUtils.getInteger(companyMap, "code", 300);
if (200 != companyCode) return R.ok(); if (200 != companyCode) return R.ok();
...@@ -87,6 +88,7 @@ public class EnterpriseService { ...@@ -87,6 +88,7 @@ public class EnterpriseService {
} }
public R statistic(EnterpriseStatisticBody body) throws Exception { public R statistic(EnterpriseStatisticBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> statisticMap = dskOpenApiUtil.requestBody("/api/jsk/enterprise/statistic", BeanUtil.beanToMap(body, false, false)); Map<String, Object> statisticMap = dskOpenApiUtil.requestBody("/api/jsk/enterprise/statistic", BeanUtil.beanToMap(body, false, false));
Integer statisticMapCode = MapUtils.getInteger(statisticMap, "code", 300); Integer statisticMapCode = MapUtils.getInteger(statisticMap, "code", 300);
...@@ -117,58 +119,68 @@ public class EnterpriseService { ...@@ -117,58 +119,68 @@ public class EnterpriseService {
} }
public R bidDataGroup(EnterpriseBidDataGroupBody body) throws Exception { public R bidDataGroup(EnterpriseBidDataGroupBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/bidDataGroup", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/bidDataGroup", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public R projectTenderDataGroup(EnterpriseProjectTenderDataGroupBody body) throws Exception { public R projectTenderDataGroup(EnterpriseProjectTenderDataGroupBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/projectTenderDataGroup", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/projectTenderDataGroup", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
//todo 新数据,待入库 //todo 新数据,待入库
public TableDataInfo partners(EnterprisePartnersBody body) throws Exception { public TableDataInfo partners(EnterprisePartnersBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/partners", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/partners", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo investment(EnterpriseInvestmentBody body) throws Exception { public TableDataInfo investment(EnterpriseInvestmentBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/investment", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/investment", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo affiliates(EnterpriseAffiliatesBody body) throws Exception { public TableDataInfo affiliates(EnterpriseAffiliatesBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/affiliates", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/affiliates", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo dynamicPage(EnterpriseDynamicPageBody body) throws Exception { public TableDataInfo dynamicPage(EnterpriseDynamicPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/api/jsk/enterprise/dynamic", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/api/jsk/enterprise/dynamic", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R icInfo(EnterpriseIcInfoBody body) throws Exception { public R icInfo(EnterpriseIcInfoBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/icInfo", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/icInfo", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
public TableDataInfo changeInfo(EnterpriseChangeInfoBody body) throws Exception { public TableDataInfo changeInfo(EnterpriseChangeInfoBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/changeInfo", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/changeInfo", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo keymembers(EnterpriseKeymembersBody body) throws Exception { public TableDataInfo keymembers(EnterpriseKeymembersBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/keymembers", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/keymembers", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public TableDataInfo bestStockPage(EnterpriseBestStockPageBody body) throws Exception { public TableDataInfo bestStockPage(EnterpriseBestStockPageBody body) throws Exception {
if (body.isVaildCid()) return new TableDataInfo(new ArrayList<>(), 0);
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/bestStockPage", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/bestStockPage", BeanUtil.beanToMap(body, false, false));
return dskOpenApiUtil.responsePage(map); return dskOpenApiUtil.responsePage(map);
} }
public R financial(EnterpriseFinancialBody body) throws Exception { public R financial(EnterpriseFinancialBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/financial", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/financial", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
...@@ -238,6 +250,7 @@ public class EnterpriseService { ...@@ -238,6 +250,7 @@ public class EnterpriseService {
} }
public R bondCreditRating(EnterpriseBondCreditRatingBody body) throws Exception { public R bondCreditRating(EnterpriseBondCreditRatingBody body) throws Exception {
if (body.isVaildCid()) return R.ok();
Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/bondCreditRating", BeanUtil.beanToMap(body, false, false)); Map<String, Object> map = dskOpenApiUtil.requestBody("/operate/enterprise/bondCreditRating", BeanUtil.beanToMap(body, false, false));
return BeanUtil.toBean(map, R.class); return BeanUtil.toBean(map, R.class);
} }
......
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