|
@@ -20,7 +20,6 @@ import org.apache.commons.io.FileUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
-import org.springframework.beans.factory.InitializingBean;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.context.annotation.Lazy;
|
|
@@ -88,8 +87,10 @@ import com.ym.mec.util.freemarker.FreemarkerTemplateEngine;
|
|
|
import com.ym.mec.util.money.MoneyUtil;
|
|
|
import com.ym.mec.util.pdf.PDFUtil;
|
|
|
|
|
|
+import javax.annotation.PostConstruct;
|
|
|
+
|
|
|
@Service
|
|
|
-public class ContractServiceImpl implements ContractService, InitializingBean {
|
|
|
+public class ContractServiceImpl implements ContractService {
|
|
|
|
|
|
@Autowired
|
|
|
private SysUserTsignService sysUserTsignService;
|
|
@@ -175,8 +176,8 @@ public class ContractServiceImpl implements ContractService, InitializingBean {
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(ContractService.class);
|
|
|
|
|
|
- @Override
|
|
|
- public void afterPropertiesSet() throws Exception {
|
|
|
+ @PostConstruct
|
|
|
+ public void afterPropertiesSet() {
|
|
|
// 注册企业账户
|
|
|
Map<String, String> organList = new HashMap<String, String>();
|
|
|
organList.put("91420106333619290A", "2,武汉长乐长风乐器销售有限公司");
|