package com.ld.igds.m.view;
|
|
import com.bstek.dorado.annotation.DataProvider;
|
import com.bstek.dorado.annotation.DataResolver;
|
import com.bstek.dorado.annotation.Expose;
|
import com.ld.igds.m.service.HInoutCarConfService;
|
import com.ld.igds.models.InoutCarConf;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Component;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author: chen
|
*
|
*/
|
@Component
|
public class InoutCarConfPR {
|
|
@Autowired
|
private HInoutCarConfService carConfService;
|
|
|
/**
|
* inoutCarConfPR#listCarConf
|
*
|
* @return
|
*/
|
@DataProvider
|
public List<InoutCarConf> listCarConf(Map<String, Object> param) {
|
return carConfService.listCarConf(param);
|
}
|
|
/**
|
* inoutCarConfPR#saveCarConf
|
*
|
* @param data
|
* @return
|
*/
|
@DataResolver
|
public String saveCarConf(InoutCarConf data) {
|
return carConfService.saveCarConf(data);
|
}
|
|
/**
|
* inoutCarConfPR#delCarConf
|
*
|
* @param data
|
* @return
|
*/
|
@Expose
|
public String delCarConf(InoutCarConf data) {
|
return carConfService.delCarConf(data);
|
}
|
|
}
|