|
@@ -218,6 +218,7 @@ public class SynProfitHandle {
|
|
ProfitRuleDetail ruleDetail = ruleDetailMap.get(item.getProfitGradeId());
|
|
ProfitRuleDetail ruleDetail = ruleDetailMap.get(item.getProfitGradeId());
|
|
calculationProfit = new CalculationProfit();
|
|
calculationProfit = new CalculationProfit();
|
|
calculationProfit.setCreateTime(new Date());
|
|
calculationProfit.setCreateTime(new Date());
|
|
|
|
+ calculationProfit.setSynOrderTime(item.getCreateTime());
|
|
calculationProfit.setAccountId(item.getAccountId());
|
|
calculationProfit.setAccountId(item.getAccountId());
|
|
calculationProfit.setUserRoleId(item.getDoctorId());
|
|
calculationProfit.setUserRoleId(item.getDoctorId());
|
|
calculationProfit.setOrderCode(item.getOrderCode());
|
|
calculationProfit.setOrderCode(item.getOrderCode());
|
|
@@ -226,7 +227,6 @@ public class SynProfitHandle {
|
|
if (ruleDetail == null) {
|
|
if (ruleDetail == null) {
|
|
calculationProfit.setCalculationFormula("0");
|
|
calculationProfit.setCalculationFormula("0");
|
|
calculationProfit.setPrice(0);
|
|
calculationProfit.setPrice(0);
|
|
- calculationProfit.setSynOrderTime(item.getCreateTime());
|
|
|
|
calculationProfit.setProfitRuleDetailId("");
|
|
calculationProfit.setProfitRuleDetailId("");
|
|
calculationProfit.setProfitRuleId("");
|
|
calculationProfit.setProfitRuleId("");
|
|
calculationProfit.setStatus(1); //已入账
|
|
calculationProfit.setStatus(1); //已入账
|