Merge branch 'master' into docker_package
This commit is contained in:
commit
6af7f2edc1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue