update 修改提现方式

This commit is contained in:
Guoqs
2025-03-12 16:31:14 +08:00
parent 8f1b8cb527
commit f471d35362
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ public class PileMerchantInfoController extends BaseController {
*/ */
@PreAuthorize("@ss.hasPermi('pile:merchant:edit')") @PreAuthorize("@ss.hasPermi('pile:merchant:edit')")
@Log(title = "修改提现方式", businessType = BusinessType.UPDATE) @Log(title = "修改提现方式", businessType = BusinessType.UPDATE)
@PutMapping("/updateWithdrawalType") @PostMapping("/updateWithdrawalType")
public AjaxResult updateWithdrawalType(@RequestBody MerchantWithdrawalTypeVO dto) { public AjaxResult updateWithdrawalType(@RequestBody MerchantWithdrawalTypeVO dto) {
return toAjax(pileMerchantInfoService.updateWithdrawalType(dto)); return toAjax(pileMerchantInfoService.updateWithdrawalType(dto));
} }

View File

@@ -667,7 +667,7 @@ public class PileMerchantInfoServiceImpl implements PileMerchantInfoService {
} }
merchantInfo.setUpdateBy(SecurityUtils.getUsername()); merchantInfo.setUpdateBy(SecurityUtils.getUsername());
merchantInfo.setUpdateTime(DateUtils.getNowDate()); merchantInfo.setUpdateTime(DateUtils.getNowDate());
return pileMerchantInfoMapper.updatePileMerchantInfo(merchantInfo); return pileMerchantInfoMapper.updateByPrimaryKeySelective(merchantInfo);
} }
} }