Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-15 11:27:54 +08:00
commit 6af7f2edc1
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public class CodeGenerationUtils {
logger.error("流水号生成失败", e);
no = applyNumberPattern + "0001";
} finally {
String sql_ = String.format("UPDATE %s SET apply_number = %s WHERE id = %s", tableName, no, id);
String sql_ = String.format("UPDATE %s SET apply_number = '%s' WHERE id = %s", tableName, no, id);
logger.info(sql_);
jdbcTemplate.update(sql_);
lock.unlock();