Kaynağa Gözat

清理代碼

wanghui 7 yıl önce
ebeveyn
işleme
8da1b1093d

+ 0 - 23
src/main/java/com/goafanti/demand/bo/DemandFollowDetailListBo.java

@@ -1,23 +0,0 @@
-package com.goafanti.demand.bo;
-
-
-
-import org.apache.commons.lang3.time.DateFormatUtils;
-
-import com.goafanti.common.constant.AFTConstants;
-import com.goafanti.common.model.DemandFollowDetail;
-
-
-public class DemandFollowDetailListBo  extends DemandFollowDetail{
-	
-	
-	public String getCreateTimeFormattedDate(){
-		if (null==getCreateTime()) {
-			return null;
-		}else {
-			return DateFormatUtils.format(getCreateTime(), AFTConstants.YYYYMMDD);
-		}
-		
-	}
-	
-}

+ 0 - 66
src/main/java/com/goafanti/demand/bo/DemandFollowListBo.java

@@ -1,66 +0,0 @@
-package com.goafanti.demand.bo;
-
-
-import java.util.List;
-
-import org.apache.commons.lang3.time.DateFormatUtils;
-
-import com.goafanti.common.constant.AFTConstants;
-import com.goafanti.common.model.DemandFollow;
-
-public class DemandFollowListBo extends DemandFollow{
-	private String name;
-	private String employerName;
-	private String employerContactsMobile;
-	private String employerContactsMailbox;
-	private String adminName;
-	private List<?> demandFollowDetail;
-	
-	
-	public String getName() {
-		return name;
-	}
-	public void setName(String name) {
-		this.name = name;
-	}
-	public String getEmployerName() {
-		return employerName;
-	}
-	public void setEmployerName(String employerName) {
-		this.employerName = employerName;
-	}
-	public String getEmployerContactsMobile() {
-		return employerContactsMobile;
-	}
-	public void setEmployerContactsMobile(String employerContactsMobile) {
-		this.employerContactsMobile = employerContactsMobile;
-	}
-	public String getEmployerContactsMailbox() {
-		return employerContactsMailbox;
-	}
-	public void setEmployerContactsMailbox(String employerContactsMailbox) {
-		this.employerContactsMailbox = employerContactsMailbox;
-	}
-	
-	public String getLastFollowTimeFormattedDate() {
-		if (getLastFollowTime() == null) {
-			return null;
-		} else {
-			return DateFormatUtils.format(getLastFollowTime(), AFTConstants.YYYYMMDD);
-		}
-	}
-	
-	
-	public String getAdminName() {
-		return adminName;
-	}
-	public void setAdminName(String adminName) {
-		this.adminName = adminName;
-	}
-	public List<?> getDemandFollowDetail() {
-		return demandFollowDetail;
-	}
-	public void setDemandFollowDetail(List<?> demandFollowDetail) {
-		this.demandFollowDetail = demandFollowDetail;
-	}
-}

+ 0 - 189
src/main/java/com/goafanti/demand/bo/DemandPartnerListBo.java

@@ -1,189 +0,0 @@
-package com.goafanti.demand.bo;
-
-import java.math.BigDecimal;
-import java.util.Date;
-
-import org.apache.commons.lang3.time.DateFormatUtils;
-
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonFormat.Shape;
-import com.goafanti.common.constant.AFTConstants;
-
-public class DemandPartnerListBo {
-	private String		id;
-
-	/**
-	 * 编号
-	 */
-	private Integer		serialNumber;
-
-	/**
-	 * 数据类别(0-个人需求,1-单位需求)
-	 */
-	private Integer		dataCategory;
-
-	/**
-	 * 名称
-	 */
-	private String		name;
-
-	/**
-	 * 关键词
-	 */
-	private String		keyword;
-
-	/**
-	 * 发布时间
-	 */
-	private Date		releaseDate;
-
-	/**
-	 * 需求类型
-	 */
-	private Integer		demandType;
-
-	private Date		validityPeriod;
-
-	/**
-	 * 需求问题说明
-	 */
-	private String		problemDes;
-
-	/**
-	 * 行业类别下拉A
-	 */
-	private Integer		industryCategoryA;
-
-	/**
-	 * 行业类别下拉B
-	 */
-	private Integer		industryCategoryB;
-
-	/**
-	 * 预算费用
-	 */
-	private BigDecimal	budgetCost;
-
-	public String getProblemDes() {
-		return problemDes;
-	}
-
-	public void setProblemDes(String problemDes) {
-		this.problemDes = problemDes;
-	}
-
-	public Integer getIndustryCategoryA() {
-		return industryCategoryA;
-	}
-
-	public void setIndustryCategoryA(Integer industryCategoryA) {
-		this.industryCategoryA = industryCategoryA;
-	}
-
-	public Integer getIndustryCategoryB() {
-		return industryCategoryB;
-	}
-
-	public void setIndustryCategoryB(Integer industryCategoryB) {
-		this.industryCategoryB = industryCategoryB;
-	}
-
-	public BigDecimal getBudgetCost() {
-		return budgetCost;
-	}
-
-	public void setBudgetCost(BigDecimal budgetCost) {
-		this.budgetCost = budgetCost;
-	}
-
-	public String getId() {
-		return id;
-	}
-
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public Integer getSerialNumber() {
-		return serialNumber;
-	}
-
-	public void setSerialNumber(Integer serialNumber) {
-		this.serialNumber = serialNumber;
-	}
-
-	@JsonFormat(shape = Shape.STRING)
-	public Integer getDataCategory() {
-		return dataCategory;
-	}
-
-	public void setDataCategory(Integer dataCategory) {
-		this.dataCategory = dataCategory;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public String getKeyword() {
-		return keyword;
-	}
-
-	public void setKeyword(String keyword) {
-		this.keyword = keyword;
-	}
-
-	public Date getReleaseDate() {
-		return releaseDate;
-	}
-
-	public void setReleaseDate(Date releaseDate) {
-		this.releaseDate = releaseDate;
-	}
-
-	@JsonFormat(shape = Shape.STRING)
-	public Integer getDemandType() {
-		return demandType;
-	}
-
-	public void setDemandType(Integer demandType) {
-		this.demandType = demandType;
-	}
-
-	public Date getValidityPeriod() {
-		return validityPeriod;
-	}
-
-	public void setValidityPeriod(Date validityPeriod) {
-		this.validityPeriod = validityPeriod;
-	}
-
-	public String getValidityPeriodFormattedDate() {
-		if (this.validityPeriod == null) {
-			return null;
-		} else {
-			return DateFormatUtils.format(this.getValidityPeriod(), AFTConstants.YYYYMMDD);
-		}
-	}
-
-	public void setValidityPeriodFormattedDate(String validityPeriodFormattedDate) {
-
-	}
-
-	public String getReleaseDateFormattedDate() {
-		if (this.releaseDate == null) {
-			return null;
-		} else {
-			return DateFormatUtils.format(this.getReleaseDate(), AFTConstants.YYYYMMDD);
-		}
-	}
-
-	public void setReleaseDateFormattedDate(String releaseDateFormattedDate) {
-
-	}
-
-}

+ 0 - 106
src/main/java/com/goafanti/portal/bo/DemandPortalSimilarListBo.java

@@ -1,106 +0,0 @@
-package com.goafanti.portal.bo;
-
-import java.math.BigDecimal;
-
-public class DemandPortalSimilarListBo {
-	private String		id;
-
-	private String		name;
-
-	private String		industryCategoryAS;
-
-	private String		industryCategoryBS;
-
-	private String		problemDes;
-
-	private BigDecimal	budgetCost;
-
-	private Integer		level;
-
-	private String		industryCategory;
-
-	private String		budgetCostS;
-
-	private String		location;
-
-	public String getBudgetCostS() {
-		return budgetCostS;
-	}
-
-	public void setBudgetCostS(String budgetCostS) {
-		this.budgetCostS = budgetCostS;
-	}
-
-	public String getIndustryCategory() {
-		return industryCategory;
-	}
-
-	public void setIndustryCategory(String industryCategory) {
-		this.industryCategory = industryCategory;
-	}
-
-	public String getId() {
-		return id;
-	}
-
-	public void setId(String id) {
-		this.id = id;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public String getIndustryCategoryAS() {
-		return industryCategoryAS;
-	}
-
-	public void setIndustryCategoryAS(String industryCategoryAS) {
-		this.industryCategoryAS = industryCategoryAS;
-	}
-
-	public String getIndustryCategoryBS() {
-		return industryCategoryBS;
-	}
-
-	public void setIndustryCategoryBS(String industryCategoryBS) {
-		this.industryCategoryBS = industryCategoryBS;
-	}
-
-	public String getProblemDes() {
-		return problemDes;
-	}
-
-	public void setProblemDes(String problemDes) {
-		this.problemDes = problemDes;
-	}
-
-	public BigDecimal getBudgetCost() {
-		return budgetCost;
-	}
-
-	public void setBudgetCost(BigDecimal budgetCost) {
-		this.budgetCost = budgetCost;
-	}
-
-	public Integer getLevel() {
-		return level;
-	}
-
-	public void setLevel(Integer level) {
-		this.level = level;
-	}
-
-	public String getLocation() {
-		return location;
-	}
-
-	public void setLocation(String location) {
-		this.location = location;
-	}
-
-}

+ 0 - 20
src/main/java/com/goafanti/user/bo/OrgProBo.java

@@ -1,20 +0,0 @@
-package com.goafanti.user.bo;
-
-import com.goafanti.common.model.OrganizationProperties;
-
-public class OrgProBo {
-
-	private OrganizationProperties	pro;
-
-	public OrgProBo(OrganizationProperties	pro) {
-		this.pro = pro;
-	}
-	public OrganizationProperties getPro() {
-		return pro;
-	}
-
-	public void setPro(OrganizationProperties pro) {
-		this.pro = pro;
-	}
-
-}

+ 0 - 3
src/main/java/com/goafanti/user/service/OrganizationIdentityService.java

@@ -33,8 +33,5 @@ public interface OrganizationIdentityService {
 
 	int updateOrgDetailByAuditAdmin(OrganizationIdentity oi, String aid, String mid, Integer level);
 
-	Pagination<OrgSubscriberListBo> listSubscriber(String url,String name, Integer level, String field, Integer province, Integer city,
-			Integer area, Integer pNo, Integer pSize);
-
 	void save(OrgIdentityBo orgIdentityBo);
 }

+ 0 - 42
src/main/java/com/goafanti/user/service/impl/OrganizationIdentityServiceImpl.java

@@ -125,48 +125,6 @@ public class OrganizationIdentityServiceImpl extends BaseMybatisDao<Organization
 				Calendar.getInstance().get(Calendar.YEAR - 1));
 	}
 
-	@SuppressWarnings("unchecked")
-	@Override
-	public Pagination<OrgSubscriberListBo> listSubscriber(String url,String name, Integer level, String field, Integer province,
-			Integer city, Integer area, Integer pNo, Integer pSize) {
-		Map<String, Object> params = new HashMap<>();
-		if (StringUtils.isNotBlank(url)) {
-			params.put("url", url);
-		}
-		if (StringUtils.isNotBlank(name)) {
-			params.put("name", name);
-		}
-
-		if (null != level) {
-			params.put("level", level);
-		}
-
-		if (StringUtils.isNotBlank(field)) {
-			params.put("field", field);
-		}
-
-		if (null != province) {
-			params.put("province", province);
-		}
-
-		if (null != city) {
-			params.put("city", city);
-		}
-
-		if (null != area) {
-			params.put("area", area);
-		}
-
-		if (pNo == null || pNo < 0) {
-			pNo = 1;
-		}
-
-		if (pSize == null || pSize < 0 || pSize > 12) {
-			pSize = 12;
-		}
-		return (Pagination<OrgSubscriberListBo>) findPage("findSearchSubscriberListByPage", "findSearchSubscriberCount",
-				params, pNo, pSize);
-	}
 
 	// 给业务员及客户经理发送通知
 	private void createNotice(User u, Integer status) {