增加-预付款充值和消费的功能

This commit is contained in:
季圣华
2017-06-27 23:43:38 +08:00
parent 882f32ceac
commit a571968393
16 changed files with 262 additions and 23 deletions

View File

@@ -92,6 +92,7 @@ public class DepotHeadAction extends BaseAction<DepotHeadModel>
depotHead.setChangeAmount(model.getChangeAmount());
if(model.getAllocationProjectId()!=null){depotHead.setAllocationProjectId(new Depot(model.getAllocationProjectId()));}
depotHead.setTotalPrice(model.getTotalPrice());
depotHead.setPayType(model.getPayType());
depotHead.setRemark(model.getRemark());
depotHeadService.create(depotHead);
@@ -181,7 +182,8 @@ public class DepotHeadAction extends BaseAction<DepotHeadModel>
if(model.getAccountId()!=null){depotHead.setAccountId(new Account(model.getAccountId()));}
depotHead.setChangeAmount(model.getChangeAmount());
if(model.getAllocationProjectId()!=null){depotHead.setAllocationProjectId(new Depot(model.getAllocationProjectId()));}
depotHead.setTotalPrice(model.getTotalPrice());
depotHead.setTotalPrice(model.getTotalPrice());
depotHead.setPayType(model.getPayType());
depotHead.setRemark(model.getRemark());
depotHeadService.update(depotHead);