Browse Source

Merge remote-tracking branch 'origin/sprint/S3' into sprint/S3

master
李壮壮 1 year ago
parent
commit
381271d99a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/production/ProductionCreateEAIService.java

+ 1
- 1
demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/ptc/service/production/ProductionCreateEAIService.java View File

@ -99,7 +99,7 @@ public class ProductionCreateEAIService extends AbsEAIService {
} }
private String cteateBatchNo(){ private String cteateBatchNo(){
StringBuilder sb = new StringBuilder();
StringBuffer sb = new StringBuffer();
Long batchNo; Long batchNo;
if (redisUtil.getRedisTemplate().hasKey(ProductionUtil.KEY)) { if (redisUtil.getRedisTemplate().hasKey(ProductionUtil.KEY)) {
batchNo = redisUtil.incrBy(ProductionUtil.KEY, 1); batchNo = redisUtil.incrBy(ProductionUtil.KEY, 1);


Loading…
Cancel
Save