1个回答
展开全部
好的,马上给你,稍等片刻
import java.util.List;
import com.cecgt.indicator.demo.domain.model.StatusDTO;
import com.cecgt.indicator.demo.domain.service.impl.IndicatorServiceImpl;
import com.opensymphony.xwork2.ActionSupport;
public class StatusAction extends ActionSupport
{
private static final long serialVersionUID = 1L;
private IndicatorServiceImpl indicatorService;
private List<StatusDTO> list;
public List<StatusDTO> getList()
{
return list;
}
public void setList( List<StatusDTO> list )
{
this.list = list;
}
public IndicatorServiceImpl getIndicatorService()
{
return indicatorService;
}
public void setIndicatorService( IndicatorServiceImpl indicatorService )
{
this.indicatorService = indicatorService;
}
public String getStatusList(){
list = indicatorService.getStatus();
return SUCCESS;
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询