0

你好,我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;
    }


}

如果可能的话,谁能给我一些提示和一些代码?

4

0 回答 0