From ccb5a60490f4e23aa0528add18b0c68a616d7968 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 17 Mar 2021 14:35:22 +0800 Subject: [PATCH] 分销订单0317 --- zq-erp/src/main/java/com/matrix/system/fenxiao/service/ShopSalesmanApplyService.java | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/fenxiao/service/ShopSalesmanApplyService.java b/zq-erp/src/main/java/com/matrix/system/fenxiao/service/ShopSalesmanApplyService.java index 2a743c2..ab7ec23 100644 --- a/zq-erp/src/main/java/com/matrix/system/fenxiao/service/ShopSalesmanApplyService.java +++ b/zq-erp/src/main/java/com/matrix/system/fenxiao/service/ShopSalesmanApplyService.java @@ -236,9 +236,8 @@ return shopSalesmanApplyDao.selectShopSalesmanDetailByOpenId(userId,companyId,applyId); } - public IPage<ShopCustomDetailVo> findCustomDetail(Page<ShopCustomDetailVo> page, - ShopSalesmanDetailDto shopSalesmanDetailDto) { - return shopSalesmanApplyDao.findCustomDetail(page,shopSalesmanDetailDto); + public IPage<ShopCustomDetailVo> findCustomDetail(Page<ShopCustomDetailVo> page,LoadParamSettingDto loadParamSettingDto) { + return shopSalesmanApplyDao.findCustomDetail(page,loadParamSettingDto); } public IPage<ShopCustomDetailVo> findCustomLow(Page<ShopCustomDetailVo> pageLow, @@ -290,7 +289,7 @@ bizUserDao.updateByModel(findByOpenId); shopSalesmanApplyDao.updateById(shopSalesmanApply); - return AjaxResult.buildFailInstance("修改等级成功"); + return AjaxResult.buildSuccessInstance("修改等级成功"); } @Transactional(rollbackFor = Exception.class) @@ -305,7 +304,7 @@ } findByOpenId.setParentOpenId(""); bizUserDao.updateByModel(findByOpenId); - return AjaxResult.buildFailInstance("解绑成功"); + return AjaxResult.buildSuccessInstance("解绑成功"); } @Transactional(rollbackFor = Exception.class) @@ -326,7 +325,7 @@ ShopSalesmanApply selectById = shopSalesmanApplyDao.selectById(applyid); selectById.setApplyStatus(ShopSalesmanApply.APPLY_STATUS_XTQX); shopSalesmanApplyDao.updateById(selectById); - return AjaxResult.buildFailInstance("操作成功"); + return AjaxResult.buildSuccessInstance("操作成功"); } public IPage<FyfaManageVo> findFyfaManageList(Page<FyfaManageVo> page, FyfaManageDto fyfaManageDto) { @@ -355,7 +354,7 @@ return AjaxResult.buildFailInstance("当前行数据不存在,请刷新页面"); } shopSalesmanGradeDao.deleteById(gradeId); - return AjaxResult.buildFailInstance("操作成功"); + return AjaxResult.buildSuccessInstance("操作成功"); } @Transactional(rollbackFor = Exception.class) @@ -385,7 +384,7 @@ selectById.setInvitationCommission(invitationCommission); selectById.setGradeCondition(updateFyfaDto.getGradeCondition()); shopSalesmanGradeDao.updateById(selectById); - return AjaxResult.buildFailInstance("操作成功"); + return AjaxResult.buildSuccessInstance("操作成功"); } @Transactional(rollbackFor = Exception.class) @@ -397,7 +396,7 @@ BusParameterSettings busParameterSettings = busParameterSettingsDao.selectCompanyParamByCode(FenxiaoSettingConstant.FX_TG_PLAN, companyId); busParameterSettings.setParamValue3(updateTgjhDto.getTgfa()); busParameterSettingsDao.updateByModel(busParameterSettings); - return AjaxResult.buildFailInstance("保存成功"); + return AjaxResult.buildSuccessInstance("保存成功"); } @Transactional(rollbackFor = Exception.class) @@ -409,7 +408,7 @@ BusParameterSettings busParameterSettings = busParameterSettingsDao.selectCompanyParamByCode(FenxiaoSettingConstant.FX_TG_POSTER, companyId); busParameterSettings.setParamValue(updateTgtpDto.getImageUrl()); busParameterSettingsDao.updateByModel(busParameterSettings); - return AjaxResult.buildFailInstance("保存成功"); + return AjaxResult.buildSuccessInstance("保存成功"); } -- Gitblit v1.9.1