Commit 6a28c37e authored by tianbo's avatar tianbo

refactor(ymt, jg): 调整序列生成

- 将电梯序列号从 7 位调整为 8 位 - 优化改造通知策略处理器的依赖注入
parent 7f52fe37
......@@ -6,6 +6,7 @@ import com.yeejoin.amos.boot.module.jg.biz.handler.strategy.ToBeSubmitDetailStra
import com.yeejoin.amos.boot.module.jg.biz.service.impl.JgReformNoticeServiceImpl;
import com.yeejoin.amos.boot.module.ymt.api.enums.ApplicationFormTypeEnum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import java.util.HashMap;
import java.util.Map;
......@@ -13,6 +14,7 @@ import java.util.Map;
@Component
public class ReformNoticeStrategyHandler implements ToBeSubmitDetailStrategy {
@Lazy
@Autowired
private JgReformNoticeServiceImpl jgReformNoticeService;
......
......@@ -34,7 +34,7 @@ public class GenerateCodeServiceImpl implements IGenerateCodeService {
private static final String LOCK_KEY_ELEVATOR = "sequence_lock_elevator";
private static final String LOCK_KEY_SUPERVISORY = "sequence_lock_supervisory";
private static final String SEQUENCE_TYPE_UR = "%05d";
private static final String SEQUENCE_TYPE = "%07d";
private static final String SEQUENCE_TYPE = "%08d";
private final RedisTemplate<String, String> redisTemplate;
private final StringRedisTemplate stringRedisTemplate;
private final CategoryOtherInfoMapper categoryOtherInfoMapper;
......
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