package sgc.portal.com.com.web;

import sgc.portal.base.util.EasyHashMap;
import sgc.portal.com.com.model.ComPopup;
import sgc.portal.com.com.service.ComPopupMngService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
public class ComPopupMngController {

	@Autowired
	private ComPopupMngService comPopupMngService;

    @PostMapping(value = "/com/com/selectComPopupList")
    public List<EasyHashMap<String, Object>> selectComPopupList(@RequestBody ComPopup comPopup) {
        return comPopupMngService.selectComPopupList(comPopup);
    }
}
