中扬CRM客户关系管理系统
#
luxiaotao1123
2022-11-24 0e8731a031b810fa4dff7d127dd4912cc58d5f10
src/main/java/com/zy/crm/manager/controller/PlanController.java
@@ -140,6 +140,7 @@
        plan.setUpdateTime(new Date());
        plan.setForm(JSON.toJSONString(param));     // 自定义表单内容
        plan.setSettleMsg(JSON.toJSONString(SettleDto.init(plan)));
        if (!planService.updateById(plan)) {
            throw new CoolException("保持失败,请重试");
@@ -301,15 +302,12 @@
    private Integer getStepOfSettle(int settle){
        switch (settle){
            case 1:
            case 2:
                return 2;
            case 3:
            case 4:
            case 2:
                return 3;
            case 5:
            case 6:
            case 3:
                return 4;
            case 7:
            case 4:
                return 0;
            default:
                return 1;