Commit a115660f authored by LiuLin's avatar LiuLin

fix(jg):调整业务代码结构,解决依赖冲突

parent 20eeccf4
...@@ -44,8 +44,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN ...@@ -44,8 +44,8 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
private JgRelationEquipMapper jgRelationEquipMapper; private JgRelationEquipMapper jgRelationEquipMapper;
@Autowired @Autowired
private JgInstallationNoticeMapper jgInstallationNoticeMapper; private JgInstallationNoticeMapper jgInstallationNoticeMapper;
@Autowired @Autowired
@SuppressWarnings("all")
private ICreateCodeService iCreateCodeService; private ICreateCodeService iCreateCodeService;
/** /**
......
package com.yeejoin.amos.boot.module.ymt.biz.service.impl; package com.yeejoin.amos.boot.module.ymt.api.service.impl;
import com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum; import com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum;
import com.yeejoin.amos.boot.module.ymt.api.service.ICreateCodeService; import com.yeejoin.amos.boot.module.ymt.api.service.ICreateCodeService;
import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations; import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Service;
import java.time.LocalDate; import java.time.LocalDate;
import java.time.format.DateTimeFormatter; import java.time.format.DateTimeFormatter;
import java.util.*; import java.util.*;
...@@ -14,7 +14,7 @@ import java.util.concurrent.TimeUnit; ...@@ -14,7 +14,7 @@ import java.util.concurrent.TimeUnit;
* @author LiuLin * @author LiuLin
* @date 2023-12-14 * @date 2023-12-14
*/ */
@Component @Service
public class CreateCodeServiceImpl implements ICreateCodeService { public class CreateCodeServiceImpl implements ICreateCodeService {
private static final String LOCK_VALUE = "locked"; private static final String LOCK_VALUE = "locked";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment