diff --git a/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java b/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java index 77f488d..114c6fc 100644 --- a/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java +++ b/cweb/src/main/java/com/cweb/controller/BsBankActivityController.java @@ -70,9 +70,10 @@ public class BsBankActivityController { bankActivity.setRegistrationEnd(activity.getDate("registrationEnd")); bankActivity.setDetails(activity.getString("details")); bankActivity.setComments(activity.getString("comments")); + bankActivity.setStatus(1); bankActivityService.editData(bankActivity); } - return ResponseMsgUtil.success(null); + return ResponseMsgUtil.success("操作成功"); } catch (Exception e) { log.error(e.getMessage(), e); @@ -87,10 +88,15 @@ public class BsBankActivityController { public ResponseData queryActivityList(@RequestParam(value = "merId" , required = true) Long merId) { try { - JSONArray activityList = saasActivityService.queryAgentActivityList(); - for (Object obj : activityList) { + Map param = new HashMap<>(); + param.put("", ""); + param.put("", ""); + param.put("", ""); - } + List activityList = bankActivityService.getBankActivityList(param); + /* for (BsBankActivity bankActivity : activityList) { + bankActivity.setBankActivityRoster(); + }*/ return ResponseMsgUtil.success(activityList); } catch (Exception e) { diff --git a/service/src/main/java/com/hfkj/entity/BsBankActivity.java b/service/src/main/java/com/hfkj/entity/BsBankActivity.java index 2a169ba..807e70f 100644 --- a/service/src/main/java/com/hfkj/entity/BsBankActivity.java +++ b/service/src/main/java/com/hfkj/entity/BsBankActivity.java @@ -89,6 +89,16 @@ public class BsBankActivity implements Serializable { private String ext3; + private BsBankActivityRoster bankActivityRoster; + + public BsBankActivityRoster getBankActivityRoster() { + return bankActivityRoster; + } + + public void setBankActivityRoster(BsBankActivityRoster bankActivityRoster) { + this.bankActivityRoster = bankActivityRoster; + } + private static final long serialVersionUID = 1L; public Long getId() { @@ -309,4 +319,4 @@ public class BsBankActivity implements Serializable { sb.append("]"); return sb.toString(); } -} \ No newline at end of file +}