中扬CRM客户关系管理系统
#
luxiaotao1123
2022-11-24 e117fad8350939e70c8448ab069c92fa21145c24
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,14 @@
    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 5;
            case 5:
                return 0;
            default:
                return 1;