Procházet zdrojové kódy

删除无用代码

liliang4869 před 7 roky
rodič
revize
4e2ca71014

+ 1 - 4
src/main/java/com/goafanti/achievement/controller/UserAchievementApiController.java

@@ -110,7 +110,7 @@ public class UserAchievementApiController extends CertifyApiController {
 		Achievement a = achievementService.selectByPrimaryKey(id);
 
 		if (null == a) {
-			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "需求ID"));
+			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "成果ID"));
 			return res;
 		}
 
@@ -126,9 +126,6 @@ public class UserAchievementApiController extends CertifyApiController {
 		 String startDate, String endDate,
 		 Integer pageNo, Integer pageSize) {
 		Result res = new Result();
-		Pagination<AchievementObject>  data = achievementService.listMyAchievement(auditStatus, name, dataCategory,
-				 startDate, endDate, pageNo, pageSize);
-		System.out.println(JSONObject.toJSONString(data)+"-----------------------------");
 		res.setData(achievementService.listMyAchievement(auditStatus, name, dataCategory,
 				 startDate, endDate, pageNo, pageSize));
 		return res;