|
@@ -101,8 +101,10 @@ public class OrgIpController extends ControllerSupport {
|
|
|
|
|
|
@DataRule(type = { DataRuleType.ORG })
|
|
@DataRule(type = { DataRuleType.ORG })
|
|
@ApiOperation(value = "导出")
|
|
@ApiOperation(value = "导出")
|
|
- @PostMapping("export")
|
|
|
|
- public void export(OrgIpQuery req,HttpServletResponse response) {
|
|
|
|
|
|
+ @GetMapping("export")
|
|
|
|
+ public void export(@RequestParam(required = false) Long orgId,HttpServletResponse response) {
|
|
|
|
+ OrgIpQuery req=new OrgIpQuery();
|
|
|
|
+ req.setOrgId(orgId);
|
|
UserDataRule orgUd = getUserDataRule(DataRuleType.ORG);
|
|
UserDataRule orgUd = getUserDataRule(DataRuleType.ORG);
|
|
List<OrgIpInfo> ret;
|
|
List<OrgIpInfo> ret;
|
|
if (orgUd.assertEmptyQueryResult()) {
|
|
if (orgUd.assertEmptyQueryResult()) {
|