独联体-后台返回code
This commit is contained in:
@@ -6,6 +6,7 @@ import com.accompany.business.vo.guild.CycleDateVo;
|
|||||||
import com.accompany.business.vo.guildsoviet.GuildMemberSovietAdminVo;
|
import com.accompany.business.vo.guildsoviet.GuildMemberSovietAdminVo;
|
||||||
import com.accompany.business.vo.guildsoviet.GuildSovietAdminVo;
|
import com.accompany.business.vo.guildsoviet.GuildSovietAdminVo;
|
||||||
import com.accompany.business.vo.guildsoviet.RoomSovietAdminVo;
|
import com.accompany.business.vo.guildsoviet.RoomSovietAdminVo;
|
||||||
|
import com.accompany.common.result.BusiResult;
|
||||||
import com.accompany.common.result.PageResult;
|
import com.accompany.common.result.PageResult;
|
||||||
import com.accompany.common.utils.DateTimeUtil;
|
import com.accompany.common.utils.DateTimeUtil;
|
||||||
import com.alibaba.excel.EasyExcel;
|
import com.alibaba.excel.EasyExcel;
|
||||||
@@ -44,9 +45,9 @@ public class GuildSovietAdminController {
|
|||||||
@ApiImplicitParam(name = "pageSize" , value = "每页条数" , required = true, dataType = "Integer")
|
@ApiImplicitParam(name = "pageSize" , value = "每页条数" , required = true, dataType = "Integer")
|
||||||
})
|
})
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public PageResult<GuildSovietAdminVo> listGuildSovietAdminVo(@RequestParam(defaultValue = "32") Integer partitionId, Integer guildId, Long erbanNo, Integer regionId,
|
public BusiResult<PageResult<GuildSovietAdminVo>> listGuildSovietAdminVo(@RequestParam(defaultValue = "32") Integer partitionId, Integer guildId, Long erbanNo, Integer regionId,
|
||||||
String startDate, String endDate, Integer pageNo, Integer pageSize) {
|
String startDate, String endDate, Integer pageNo, Integer pageSize) {
|
||||||
return guildSovietAdminService.listGuildSovietAdminVo(partitionId, guildId, erbanNo, regionId, startDate, endDate, pageNo, pageSize);
|
return BusiResult.success(guildSovietAdminService.listGuildSovietAdminVo(partitionId, guildId, erbanNo, regionId, startDate, endDate, pageNo, pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "CIS公会钻石-导出" , httpMethod = "POST")
|
@ApiOperation(value = "CIS公会钻石-导出" , httpMethod = "POST")
|
||||||
@@ -76,9 +77,9 @@ public class GuildSovietAdminController {
|
|||||||
@ApiImplicitParam(name = "pageSize" , value = "每页条数" , required = true, dataType = "Integer")
|
@ApiImplicitParam(name = "pageSize" , value = "每页条数" , required = true, dataType = "Integer")
|
||||||
})
|
})
|
||||||
@GetMapping("/memberList")
|
@GetMapping("/memberList")
|
||||||
public PageResult<GuildMemberSovietAdminVo> listGuildMemberSovietAdminVo(@RequestParam(defaultValue = "32") Integer partitionId, Byte enable, Long erbanNo, Integer regionId,
|
public BusiResult<PageResult<GuildMemberSovietAdminVo>> listGuildMemberSovietAdminVo(@RequestParam(defaultValue = "32") Integer partitionId, Byte enable, Long erbanNo, Integer regionId,
|
||||||
String startDate, String endDate, Integer pageNo, Integer pageSize) {
|
String startDate, String endDate, Integer pageNo, Integer pageSize) {
|
||||||
return guildSovietAdminService.listGuildMemberSovietAdminVo(partitionId, enable, erbanNo, regionId, startDate, endDate, pageNo, pageSize);
|
return BusiResult.success(guildSovietAdminService.listGuildMemberSovietAdminVo(partitionId, enable, erbanNo, regionId, startDate, endDate, pageNo, pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -138,9 +139,9 @@ public class GuildSovietAdminController {
|
|||||||
@ApiImplicitParam(name = "pageSize" , value = "每页条数" , required = true, dataType = "Integer")
|
@ApiImplicitParam(name = "pageSize" , value = "每页条数" , required = true, dataType = "Integer")
|
||||||
})
|
})
|
||||||
@GetMapping("/roomList")
|
@GetMapping("/roomList")
|
||||||
public PageResult<RoomSovietAdminVo> listRoomSovietAdminVo(@RequestParam(defaultValue = "32") Integer partitionId, Long erbanNo, Integer regionId,
|
public BusiResult<PageResult<RoomSovietAdminVo>> listRoomSovietAdminVo(@RequestParam(defaultValue = "32") Integer partitionId, Long erbanNo, Integer regionId,
|
||||||
String cycleDate, Integer pageNo, Integer pageSize) {
|
String cycleDate, Integer pageNo, Integer pageSize) {
|
||||||
return guildSovietAdminService.listRoomSovietAdminVo(partitionId, erbanNo, regionId, cycleDate, pageNo, pageSize);
|
return BusiResult.success(guildSovietAdminService.listRoomSovietAdminVo(partitionId, erbanNo, regionId, cycleDate, pageNo, pageSize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user