update 删除站点互联互通配置

This commit is contained in:
Guoqs
2025-12-04 16:36:32 +08:00
parent 3e7245f7ec
commit 1b8ddd7b20
2 changed files with 11 additions and 1 deletions

View File

@@ -306,10 +306,20 @@ public class SpringBootTestController {
@DubboReference @DubboReference
private JcppService jcppService; private JcppService jcppService;
@Autowired
private ThirdPartyStationRelationService thirdPartyStationRelationService;
ThreadFactory threadFactory = JsowellThreadFactory.forName("test-thread-factory"); ThreadFactory threadFactory = JsowellThreadFactory.forName("test-thread-factory");
private final ScheduledExecutorService scheduledExecutorService = Executors.newScheduledThreadPool(10, 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 @Test
public void queryAdapayAccountBalanceTest() throws BaseAdaPayException { public void queryAdapayAccountBalanceTest() throws BaseAdaPayException {
AdapayAccountBalanceVO adapayAccountBalanceVO = adapayService.queryAdapayAccountBalance("459"); AdapayAccountBalanceVO adapayAccountBalanceVO = adapayService.queryAdapayAccountBalance("459");

View File

@@ -134,7 +134,7 @@
del_flag = #{delFlag}, del_flag = #{delFlag},
</if> </if>
</trim> </trim>
where station_id = #{stationId,jdbcType=BIGINT} where id = #{id}
</update> </update>
<delete id="deleteThirdPartyStationRelationById" parameterType="Long"> <delete id="deleteThirdPartyStationRelationById" parameterType="Long">