配置修改

This commit is contained in:
2025-03-24 22:12:01 +08:00
parent 817450ea0b
commit e945c2cb1f
17 changed files with 552 additions and 51 deletions

View File

@@ -0,0 +1,4 @@
package com.dpkj.modules.chs.service;
public interface IAlipayService {
}

View File

@@ -0,0 +1,4 @@
package com.dpkj.modules.chs.service;
public interface IHispayService {
}

View File

@@ -0,0 +1,38 @@
package com.dpkj.modules.chs.service.impl;
import cn.hutool.core.lang.Console;
import com.dpkj.modules.chs.dll.AlipayDll;
import com.dpkj.modules.chs.service.IAlipayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
/**
* @Auther: 萧道子
* @Date: 2025/3/22 16:29
* @Description:
*/
@Slf4j
@Service
public class AlipayServiceImpl implements IAlipayService {
private AlipayDll.Dll dll = AlipayDll.instance();
public AlipayServiceImpl() throws AlipayDll.DllRegistrationException {
}
@PostConstruct
public void postConstruct() {
log.info("[AlipayServiceImpl][postConstruct][医保DLL] 初始化动态链接库");
initPrinter();
}
private void initPrinter() {
Console.log(dll);
}
}

View File

@@ -0,0 +1,38 @@
package com.dpkj.modules.chs.service.impl;
import cn.hutool.core.lang.Console;
import com.dpkj.modules.chs.dll.HispayDll;
import com.dpkj.modules.chs.service.IHispayService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.PostConstruct;
/**
* @Auther: 萧道子
* @Date: 2025/3/22 16:29
* @Description:
*/
@Slf4j
@Service
public class HispayServiceImpl implements IHispayService {
private HispayDll.Dll dll = HispayDll.instance();
public HispayServiceImpl() throws HispayDll.DllRegistrationException {
}
@PostConstruct
public void postConstruct() {
log.info("[HispayServiceImpl][postConstruct][医保DLL-HIS] 初始化动态链接库");
initPrinter();
}
private void initPrinter() {
Console.log(dll);
}
}