|  |  |  | 
|---|
|  |  |  | AjaxResult addSaleManApply(@RequestBody AddSaleManApplyDto addSaleManApplyDto) { | 
|---|
|  |  |  | String gradeId = addSaleManApplyDto.getGradeId(); | 
|---|
|  |  |  | if(StrUtil.isBlankOrUndefined(gradeId)) { | 
|---|
|  |  |  | return AjaxResult.buildSuccessInstance("请选择分销等级"); | 
|---|
|  |  |  | return AjaxResult.buildFailInstance("请选择分销等级"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ShopSalesmanGrade selectById = shopSalesmanGradeDao.selectById(Long.parseLong(gradeId)); | 
|---|
|  |  |  | if(ObjectUtil.isEmpty(selectById)) { | 
|---|
|  |  |  | return AjaxResult.buildSuccessInstance("请选择分销等级"); | 
|---|
|  |  |  | return AjaxResult.buildFailInstance("请选择分销等级"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //设置用户公司ID | 
|---|