提交代码

yy_dev
胡锐 1 year ago
parent b9edde16b4
commit da7c453be4
  1. 14
      cweb/src/main/java/com/cweb/controller/BsBankActivityController.java
  2. 12
      service/src/main/java/com/hfkj/entity/BsBankActivity.java

@ -70,9 +70,10 @@ public class BsBankActivityController {
bankActivity.setRegistrationEnd(activity.getDate("registrationEnd")); bankActivity.setRegistrationEnd(activity.getDate("registrationEnd"));
bankActivity.setDetails(activity.getString("details")); bankActivity.setDetails(activity.getString("details"));
bankActivity.setComments(activity.getString("comments")); bankActivity.setComments(activity.getString("comments"));
bankActivity.setStatus(1);
bankActivityService.editData(bankActivity); bankActivityService.editData(bankActivity);
} }
return ResponseMsgUtil.success(null); return ResponseMsgUtil.success("操作成功");
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
@ -87,10 +88,15 @@ public class BsBankActivityController {
public ResponseData queryActivityList(@RequestParam(value = "merId" , required = true) Long merId) { public ResponseData queryActivityList(@RequestParam(value = "merId" , required = true) Long merId) {
try { try {
JSONArray activityList = saasActivityService.queryAgentActivityList(); Map<String, Object> param = new HashMap<>();
for (Object obj : activityList) { param.put("", "");
param.put("", "");
param.put("", "");
} List<BsBankActivity> activityList = bankActivityService.getBankActivityList(param);
/* for (BsBankActivity bankActivity : activityList) {
bankActivity.setBankActivityRoster();
}*/
return ResponseMsgUtil.success(activityList); return ResponseMsgUtil.success(activityList);
} catch (Exception e) { } catch (Exception e) {

@ -89,6 +89,16 @@ public class BsBankActivity implements Serializable {
private String ext3; 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; private static final long serialVersionUID = 1L;
public Long getId() { public Long getId() {
@ -309,4 +319,4 @@ public class BsBankActivity implements Serializable {
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
} }

Loading…
Cancel
Save