|
|
@ -28,6 +28,7 @@ import com.epmet.commons.tools.validator.group.UpdateGroup; |
|
|
|
import com.epmet.modules.partymember.excel.IcPartyInventoryExcel; |
|
|
|
import com.epmet.modules.partymember.service.IcPartyInventoryService; |
|
|
|
import com.epmet.resi.partymember.dto.partymember.IcPartyInventoryDTO; |
|
|
|
import com.epmet.resi.partymember.dto.partymember.result.IcPartyInventoryListResultDTO; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
@ -49,10 +50,16 @@ public class IcPartyInventoryController { |
|
|
|
@Autowired |
|
|
|
private IcPartyInventoryService icPartyInventoryService; |
|
|
|
|
|
|
|
@GetMapping("page") |
|
|
|
/* @GetMapping("page") |
|
|
|
public Result<PageData<IcPartyInventoryDTO>> page(@RequestParam Map<String, Object> params){ |
|
|
|
PageData<IcPartyInventoryDTO> page = icPartyInventoryService.page(params); |
|
|
|
return new Result<PageData<IcPartyInventoryDTO>>().ok(page); |
|
|
|
}*/ |
|
|
|
|
|
|
|
@GetMapping("page") |
|
|
|
public Result<List<IcPartyInventoryListResultDTO>> page(@RequestParam Map<String, Object> params){ |
|
|
|
List<IcPartyInventoryListResultDTO> page = icPartyInventoryService.getPageList(params); |
|
|
|
return new Result<List<IcPartyInventoryListResultDTO>>().ok(page); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("{id}") |
|
|
|