package com.ld.igds.inout.view;
|
|
import com.bstek.dorado.annotation.DataProvider;
|
import com.bstek.dorado.annotation.DataResolver;
|
import com.bstek.dorado.annotation.Expose;
|
import com.bstek.dorado.data.provider.Page;
|
import com.ld.igds.inout.service.HSettleService;
|
import com.ld.igds.models.InoutSettle;
|
import com.ld.igds.models.InoutVarietyChange;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Component;
|
|
import java.util.Map;
|
|
/**
|
* @Author: YYC
|
* @Description:
|
* @DateTime: 2023-11-4 22:05
|
**/
|
@Component
|
public class SettlePR {
|
|
|
@Autowired
|
private HSettleService settleService;
|
|
/**
|
* settlePR#pageList
|
*
|
* @param page
|
* @param param
|
* @throws Exception
|
*/
|
@DataProvider
|
public void pageList(Page<InoutSettle> page, Map<String, Object> param) throws Exception {
|
settleService.pageList(page, param);
|
}
|
|
/**
|
* settlePR#saveData
|
*
|
* @param data
|
*/
|
@DataResolver
|
public void saveData(InoutSettle data) {
|
settleService.saveData(data);
|
}
|
|
/**
|
* settlePR#delData
|
*
|
* @param data
|
*/
|
@Expose
|
public void delData(InoutSettle data) {
|
settleService.delData(data);
|
}
|
|
}
|