|
|
@@ -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;
|