Commit c89151ab by huluobin

update

parent dcac74d8
...@@ -6,8 +6,9 @@ public interface CostTofinanceService { ...@@ -6,8 +6,9 @@ public interface CostTofinanceService {
/** /**
* 保存财务系统审核反馈信息 * 保存财务系统审核反馈信息
*
* @param costTofinanceDomain * @param costTofinanceDomain
* @return * @return
*/ */
Integer saveCostTofinanceMsg(CostTofinanceDomain costTofinanceDomain); Integer saveCostToFinanceMsg(CostTofinanceDomain costTofinanceDomain);
} }
...@@ -18,7 +18,7 @@ public class CostTofinanceServiceImpl implements CostTofinanceService { ...@@ -18,7 +18,7 @@ public class CostTofinanceServiceImpl implements CostTofinanceService {
* @return * @return
*/ */
@Override @Override
public Integer saveCostTofinanceMsg(CostTofinanceDomain costTofinanceDomain) { public Integer saveCostToFinanceMsg(CostTofinanceDomain costTofinanceDomain) {
return costTofinanceDao.insert(costTofinanceDomain); return costTofinanceDao.insert(costTofinanceDomain);
} }
} }
...@@ -57,9 +57,9 @@ public class Lend1CostServiceImpl extends AbstractCostService implements CostSer ...@@ -57,9 +57,9 @@ public class Lend1CostServiceImpl extends AbstractCostService implements CostSer
//保存财务系统调用信息 //保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain(); CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo); BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase()); costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase()); costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain); costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
} }
} }
...@@ -68,10 +68,10 @@ public class Lend2PayCostServiceImpl extends AbstractCostService implements Cost ...@@ -68,10 +68,10 @@ public class Lend2PayCostServiceImpl extends AbstractCostService implements Cost
//保存财务系统调用信息 //保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain(); CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo); BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase()); costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase()); costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain); costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
} }
@Override @Override
......
...@@ -72,10 +72,10 @@ public class PayCostServiceImpl extends AbstractCostService implements CostServi ...@@ -72,10 +72,10 @@ public class PayCostServiceImpl extends AbstractCostService implements CostServi
TofinanceVo tofinanceVo = JsonUtilByJackson.readValue(cwResult.getData().replaceAll("/^['|\"](.*)['|\"]$/", ""), TofinanceVo.class); TofinanceVo tofinanceVo = JsonUtilByJackson.readValue(cwResult.getData().replaceAll("/^['|\"](.*)['|\"]$/", ""), TofinanceVo.class);
//保存财务系统调用信息 //保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain(); CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo); BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase()); costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase()); costTofinanceDomain.setCode(costTofinanceDomain.getCode().toUpperCase());
costTofinanceService.saveCostTofinanceMsg(costTofinanceDomain); costTofinanceService.saveCostToFinanceMsg(costTofinanceDomain);
} }
} }
...@@ -62,9 +62,9 @@ public class ReceiptCostServiceImpl extends AbstractCostService implements CostS ...@@ -62,9 +62,9 @@ public class ReceiptCostServiceImpl extends AbstractCostService implements CostS
//保存财务系统调用信息 //保存财务系统调用信息
CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain(); CostTofinanceDomain costTofinanceDomain = new CostTofinanceDomain();
BeanUtils.copyProperties(costTofinanceDomain, tofinanceVo); BeanUtils.copyProperties(tofinanceVo, costTofinanceDomain);
costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase()); costTofinanceDomain.setCostNo(cost.getCostNo().toUpperCase());
costTofinanceDomain.setCode(costTofinanceDomain.getCode().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