Commit c89151ab by huluobin

update

parent dcac74d8
......@@ -6,8 +6,9 @@ public interface CostTofinanceService {
/**
* 保存财务系统审核反馈信息
*
* @param costTofinanceDomain
* @return
*/
Integer saveCostTofinanceMsg(CostTofinanceDomain costTofinanceDomain);
Integer saveCostToFinanceMsg(CostTofinanceDomain costTofinanceDomain);
}
......@@ -18,7 +18,7 @@ public class CostTofinanceServiceImpl implements CostTofinanceService {
* @return
*/
@Override
public Integer saveCostTofinanceMsg(CostTofinanceDomain costTofinanceDomain) {
public Integer saveCostToFinanceMsg(CostTofinanceDomain costTofinanceDomain) {
return costTofinanceDao.insert(costTofinanceDomain);
}
}
......@@ -57,9 +57,9 @@ public class Lend1CostServiceImpl extends AbstractCostService implements CostSer
//保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo);
BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain);
costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
}
}
......@@ -68,10 +68,10 @@ public class Lend2PayCostServiceImpl extends AbstractCostService implements Cost
//保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo);
BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain);
costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
}
@Override
......
......@@ -72,10 +72,10 @@ public class PayCostServiceImpl extends AbstractCostService implements CostServi
TofinanceVo tofinanceVo = JsonUtilByJackson.readValue(cwResult.getData().replaceAll("/^['|\"](.*)['|\"]$/", ""), TofinanceVo.class);
//保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo);
BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain);
costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
}
}
......@@ -62,9 +62,9 @@ public class ReceiptCostServiceImpl extends AbstractCostService implements CostS
//保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo);
BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain);
costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment