package sgc.portal.co.co0103.web;

import org.springframework.web.bind.annotation.*;

import sgc.portal.base.util.EasyHashMap;
import sgc.portal.co.co0103.dto.CO01030001USearch;
import sgc.portal.co.co0103.service.CO01030001UService;

import java.util.List;

@RestController
@RequestMapping("/co/co0103")
public class CO01030001UController {
    private final CO01030001UService service;

    public CO01030001UController(CO01030001UService service) {
        this.service = service;
    }

    @PostMapping("/CO01030001U/list1")
    public List<EasyHashMap<String, Object>> getList1(@RequestBody CO01030001USearch search) {
        return service.getList1(search);
    }
    
}
