From 1b8ddd7b20be3f6f9738ae3cbca543628132dbe4 Mon Sep 17 00:00:00 2001 From: Guoqs <123@jsowell.com> Date: Thu, 4 Dec 2025 16:36:32 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=88=A0=E9=99=A4=E7=AB=99=E7=82=B9?= =?UTF-8?q?=E4=BA=92=E8=81=94=E4=BA=92=E9=80=9A=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/SpringBootTestController.java | 10 ++++++++++ .../mapper/pile/ThirdPartyStationRelationMapper.xml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/jsowell-admin/src/test/java/SpringBootTestController.java b/jsowell-admin/src/test/java/SpringBootTestController.java index 4fd3a2ef6..527826914 100644 --- a/jsowell-admin/src/test/java/SpringBootTestController.java +++ b/jsowell-admin/src/test/java/SpringBootTestController.java @@ -306,10 +306,20 @@ public class SpringBootTestController { @DubboReference private JcppService jcppService; + @Autowired + private ThirdPartyStationRelationService thirdPartyStationRelationService; + ThreadFactory threadFactory = JsowellThreadFactory.forName("test-thread-factory"); private final ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(10, JsowellThreadFactory.forName("test-thread-factory")); + @Test + public void deleteThirdPartyStationRelationTest() { + ThirdPartyStationRelationDTO dto = new ThirdPartyStationRelationDTO(); + dto.setId("804"); + thirdPartyStationRelationService.deleteThirdPartyStationRelation(dto.getId()); + } + @Test public void queryAdapayAccountBalanceTest() throws BaseAdaPayException { AdapayAccountBalanceVO adapayAccountBalanceVO = adapayService.queryAdapayAccountBalance("459"); diff --git a/jsowell-pile/src/main/resources/mapper/pile/ThirdPartyStationRelationMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/ThirdPartyStationRelationMapper.xml index ac8b994be..2ffe44545 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/ThirdPartyStationRelationMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/ThirdPartyStationRelationMapper.xml @@ -134,7 +134,7 @@ del_flag = #{delFlag}, - where station_id = #{stationId,jdbcType=BIGINT} + where id = #{id}