| | |
| | | if (commissionError != null) { |
| | | return commissionError; |
| | | } |
| | | // 新用户优先派单默认否,兼容旧页面或接口未传值的情况 |
| | | if (tCompany.getNewUserPriorityDispatch() == null) { |
| | | tCompany.setNewUserPriorityDispatch(0); |
| | | } |
| | | tCompany.setIsNeedFerry(2); |
| | | tCompany.setType(2); //2:分公司 |
| | | tCompany.setState(0); //0:正常 |
| | |
| | | return commissionError; |
| | | } |
| | | TCompany oldCompany = tCompanyService.selectById(tCompany.getId()); |
| | | // 新用户优先派单默认否,兼容旧页面或接口未传值的情况 |
| | | if (tCompany.getNewUserPriorityDispatch() == null) { |
| | | tCompany.setNewUserPriorityDispatch(0); |
| | | } |
| | | tCompany.setIsNeedFerry(2); |
| | | User user = userService.selectById(userId); |
| | | if(null != user && ToolUtil.isNotEmpty(password)){ |