package com.ld.igds.m.view;
|
|
import java.util.Map;
|
import com.ld.igds.m.service.HInoutDriverService;
|
import com.ld.igds.models.InoutDriver;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Component;
|
import com.bstek.dorado.annotation.DataProvider;
|
import com.bstek.dorado.annotation.Expose;
|
import com.bstek.dorado.data.provider.Page;
|
|
/**
|
* 出入库-承运人信息
|
*
|
* @author: andy.jia
|
* @description:
|
* @version:
|
* @data:2020年3月12日
|
*
|
*/
|
@Component("inoutDriverPR")
|
public class InoutDriverPR {
|
|
@Autowired
|
private HInoutDriverService driverService;
|
|
/**
|
* inoutDriverPR#pageQuery
|
*
|
* @param page
|
* @param parameter
|
* @throws Exception
|
*/
|
@DataProvider
|
public void pageQuery(Page<InoutDriver> page, Map<String, Object> parameter)
|
throws Exception {
|
driverService.pageQuery(page, parameter);
|
}
|
|
/**
|
* inoutDriverPR#saveData
|
*/
|
@Expose
|
public String saveData(InoutDriver data) {
|
return driverService.saveOrUpdataData(data);
|
}
|
|
/**
|
* inoutDriverPR#delData
|
*/
|
@Expose
|
public String delData(InoutDriver data) {
|
return driverService.delData(data);
|
}
|
|
}
|