package sgc.portal.co.co0104.web;

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

import sgc.portal.base.util.EasyHashMap;
import sgc.portal.co.co0104.dto.CO01040001USearch;
import sgc.portal.co.co0104.service.CO01040001UService;

import java.util.List;

@RestController
@RequestMapping("/co/co0104")
public class CO01040001UController {
    private final CO01040001UService service;

    public CO01040001UController(CO01040001UService service) {
        this.service = service;
    }

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