|
|
@ -3,15 +3,21 @@ package au.com.royalpay.payment.manage.activities.app_index.web;
|
|
|
|
import au.com.royalpay.payment.manage.activities.app_index.beans.AppActBean;
|
|
|
|
import au.com.royalpay.payment.manage.activities.app_index.beans.AppActBean;
|
|
|
|
import au.com.royalpay.payment.manage.activities.app_index.beans.AppActQueryBean;
|
|
|
|
import au.com.royalpay.payment.manage.activities.app_index.beans.AppActQueryBean;
|
|
|
|
import au.com.royalpay.payment.manage.activities.app_index.core.AppActService;
|
|
|
|
import au.com.royalpay.payment.manage.activities.app_index.core.AppActService;
|
|
|
|
import au.com.royalpay.payment.manage.activities.monsettledelay.beans.MonDelayBean;
|
|
|
|
|
|
|
|
import au.com.royalpay.payment.manage.permission.manager.ManagerMapping;
|
|
|
|
import au.com.royalpay.payment.manage.permission.manager.ManagerMapping;
|
|
|
|
import au.com.royalpay.payment.tools.CommonConsts;
|
|
|
|
import au.com.royalpay.payment.tools.CommonConsts;
|
|
|
|
import au.com.royalpay.payment.tools.permission.enums.ManagerRole;
|
|
|
|
import au.com.royalpay.payment.tools.permission.enums.ManagerRole;
|
|
|
|
import au.com.royalpay.payment.tools.utils.PageListUtils;
|
|
|
|
import au.com.royalpay.payment.tools.utils.PageListUtils;
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.github.miemiedev.mybatis.paginator.domain.PageList;
|
|
|
|
import com.github.miemiedev.mybatis.paginator.domain.PageList;
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
import org.springframework.web.bind.annotation.ModelAttribute;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
@RestController
|
|
|
|
@RequestMapping("/manager/app/act")
|
|
|
|
@RequestMapping("/manager/app/act")
|
|
|
@ -31,7 +37,7 @@ public class AppActController {
|
|
|
|
return appActService.getActDetail(manager,act_id);
|
|
|
|
return appActService.getActDetail(manager,act_id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/new",method = RequestMethod.PUT,role = ManagerRole.SITE_MANAGER)
|
|
|
|
@ManagerMapping(method = RequestMethod.PUT,role = ManagerRole.SITE_MANAGER)
|
|
|
|
public JSONObject newAppAct(@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager, @RequestBody AppActBean appActBean){
|
|
|
|
public JSONObject newAppAct(@ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager, @RequestBody AppActBean appActBean){
|
|
|
|
return appActService.newAppAct(manager,appActBean);
|
|
|
|
return appActService.newAppAct(manager,appActBean);
|
|
|
|
}
|
|
|
|
}
|
|
|
|