订单分账逻辑

This commit is contained in:
2023-08-26 14:09:04 +08:00
parent cf21a9a237
commit 8a2326f300
8 changed files with 100 additions and 41 deletions

View File

@@ -51,7 +51,7 @@ public class PileMerchantInfoController extends BaseController {
@PreAuthorize("@ss.hasPermi('pile:merchant:list')")
@GetMapping("queryFirstLevelMerchant")
public TableDataInfo queryFirstLevelMerchant() {
List<PileMerchantInfo> list = pileMerchantInfoService.queryFirstLevelMerchant();
List<PileMerchantInfo> list = pileMerchantInfoService.queryFirstLevelMerchantList();
return getDataTable(list);
}

View File

@@ -206,6 +206,16 @@ public class SpringBootTestController {
@Autowired
private LTYTService ltytService;
@Autowired
private IPileMerchantInfoService pileMerchantInfoService;
@Test
public void getFirstLevelMerchantByMerchantIdTest() {
String merchantId = "13";
PileMerchantInfo merchantInfo = pileMerchantInfoService.getFirstLevelMerchantByMerchantId(merchantId);
System.out.println(JSON.toJSONString(merchantInfo));
}
@Test
public void queryPaymentInfoTest() throws BaseAdaPayException {
String wechatAppId = "wxbb3e0d474569481d";