fix:部分事务回滚、纸管库操作提示、系统参数操作不显示

This commit is contained in:
2023-05-10 14:32:05 +08:00
parent c655fcf5bb
commit ee111bdf36
7 changed files with 95 additions and 84 deletions

View File

@@ -16,6 +16,7 @@ import org.springframework.cache.annotation.CacheConfig;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
@@ -98,6 +99,7 @@ public class GenCodeServiceImpl implements GenCodeService {
}
@Override
@Transactional(Transactional.TxType.REQUIRES_NEW)
public String codeDemo(Map form) {
String code = (String) form.get("code");
String id = this.queryIdByCode(code);