This commit is contained in:
YAS\29473
2026-01-19 10:11:22 +08:00
parent 5f6631e3b9
commit 2bdee20eea
5 changed files with 19 additions and 103 deletions

View File

@@ -6,7 +6,7 @@ import com.jsowell.common.exception.BusinessException;
import com.jsowell.common.response.RestApiResponse;
import com.jsowell.pile.dto.MerchantOrderReportDTO;
import com.jsowell.pile.service.BusinessFinancialService;
import com.jsowell.pile.vo.uniapp.business.BusinessFinancialQueryResultVO;
import com.jsowell.pile.vo.web.MerchantOrderReportVO;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
@@ -32,7 +32,7 @@ public class BusinessFinancialController extends BaseController {
* @param dto 查询参数
* @return 钱包信息查询结果
*/
@PostMapping("/")
@PostMapping("/myWallet")
public RestApiResponse<?> getMyWallet(@RequestBody MerchantOrderReportDTO dto) {
logger.info("我的钱包查询 merchantId:{}", dto != null ? dto.getMerchantId() : null);
RestApiResponse<?> response;
@@ -42,7 +42,7 @@ public class BusinessFinancialController extends BaseController {
throw new BusinessException(ReturnCodeEnum.CODE_PARAM_NOT_NULL_ERROR);
}
BusinessFinancialQueryResultVO result = businessFinancialService.getMyWallet(dto);
MerchantOrderReportVO result = businessFinancialService.getMyWallet(dto);
response = new RestApiResponse<>(result);
logger.info("我的钱包查询成功 merchantId:{}", dto.getMerchantId());
} catch (BusinessException e) {