Antiloveg 8 lat temu
rodzic
commit
30b09c94ab

+ 3 - 0
src/main/java/com/goafanti/admin/controller/AdminDemandApiController.java

@@ -35,6 +35,9 @@ public class AdminDemandApiController extends CertifyApiController {
 	@Resource
 	private UserService		userService;
 	
+	/**
+	 * 下载需求文件--文本文件
+	 */
 	@RequestMapping(value = "/download", method = RequestMethod.GET)
 	public Result download(HttpServletResponse response, String id) {
 		Result res = new Result();

+ 0 - 3
src/main/java/com/goafanti/common/model/Demand.java

@@ -233,7 +233,6 @@ public class Demand {
         this.infoSources = infoSources;
     }
     
-    @JsonFormat(shape = Shape.STRING)
     public Integer getIndustryCategoryA() {
         return industryCategoryA;
     }
@@ -242,7 +241,6 @@ public class Demand {
         this.industryCategoryA = industryCategoryA;
     }
     
-    @JsonFormat(shape = Shape.STRING)
     public Integer getIndustryCategoryB() {
         return industryCategoryB;
     }
@@ -251,7 +249,6 @@ public class Demand {
         this.industryCategoryB = industryCategoryB;
     }
     
-    @JsonFormat(shape = Shape.STRING)
     public Integer getIndustryCategoryC() {
         return industryCategoryC;
     }

+ 0 - 4
src/main/java/com/goafanti/demand/bo/DemandManageDetailBo.java

@@ -2,8 +2,6 @@ package com.goafanti.demand.bo;
 
 import java.math.BigDecimal;
 
-import com.fasterxml.jackson.annotation.JsonFormat;
-import com.fasterxml.jackson.annotation.JsonFormat.Shape;
 
 public class DemandManageDetailBo extends DemandManageListBo {
 
@@ -42,7 +40,6 @@ public class DemandManageDetailBo extends DemandManageListBo {
 	private String		mailbox;
 
 
-	@JsonFormat(shape = Shape.STRING)
 	public Integer getIndustryCategoryA() {
 		return industryCategoryA;
 	}
@@ -51,7 +48,6 @@ public class DemandManageDetailBo extends DemandManageListBo {
 		this.industryCategoryA = industryCategoryA;
 	}
 
-	@JsonFormat(shape = Shape.STRING)
 	public Integer getIndustryCategoryB() {
 		return industryCategoryB;
 	}

+ 2 - 4
src/main/java/com/goafanti/demand/service/impl/DemandLogServiceImpl.java

@@ -1,12 +1,10 @@
 package com.goafanti.demand.service.impl;
 
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
-import com.goafanti.common.dao.DemandLogMapper;
 import com.goafanti.demand.service.DemandLogService;
 @Service
 public class DemandLogServiceImpl implements DemandLogService {
-	@Autowired
-	private DemandLogMapper demandLogMapper;
+	/*@Autowired
+	private DemandLogMapper demandLogMapper;*/
 }

+ 0 - 1
src/main/java/com/goafanti/demand/service/impl/DemandServiceImpl.java

@@ -16,7 +16,6 @@ import com.goafanti.common.constant.AFTConstants;
 import com.goafanti.common.dao.DemandLogMapper;
 import com.goafanti.common.dao.DemandMapper;
 import com.goafanti.common.enums.DeleteStatus;
-import com.goafanti.common.enums.DemandDataCategory;
 import com.goafanti.common.enums.DemandReleaseStatus;
 import com.goafanti.common.enums.DemandStatus;
 import com.goafanti.common.model.Demand;