如何为ItemProcessor编写ItemWriter?

时间:2013-05-08 13:13:30

标签: spring spring-batch

你好我m trying to write an ItemWriter for my ItemProcessor but the problem is that i新的和我的运气知识。

ItemProcessor代码     包sa.com.anb.itg.dev.settlement.batch;

import org.springframework.batch.item.ItemProcessor;

public class Processing implements
    ItemProcessor<transactionas, transactionas> {
    transactionas transactionas = new transactionas();
    public transactionas  process(transactionas transactionas ){
            transactionas.dblAmount = transactionas.GetAmount() * 3.75;
                  transactionas.SetAmount(transactionas.dblAmount);
        return transactionas;
    }


}

如果可能,请任何人向我提供一些代码的提示吗?

0 个答案:

没有答案