...
This commit is contained in:
parent
6ba099605d
commit
d7a45b2d17
|
@ -153,7 +153,7 @@ public class CodeGenerationUtils {
|
||||||
logger.error("流水号生成失败", e);
|
logger.error("流水号生成失败", e);
|
||||||
no = applyNumberPattern + "0001";
|
no = applyNumberPattern + "0001";
|
||||||
} finally {
|
} 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_);
|
logger.info(sql_);
|
||||||
jdbcTemplate.update(sql_);
|
jdbcTemplate.update(sql_);
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
|
|
Loading…
Reference in New Issue