执行update语句
This commit is contained in:
parent
5639af5140
commit
dfad696064
|
@ -80,7 +80,7 @@ public class ExecSqlServiceImpl implements IExecSqlService {
|
|||
@Override
|
||||
public int execUpdateSql(String sql, String data_source_code) throws Exception {
|
||||
logger.info("=============进入execUpdateSql方法============");
|
||||
if (ObjectUtils.isEmpty(sql)) {
|
||||
if (!ObjectUtils.isEmpty(sql)) {
|
||||
if (sql.contains("where") || sql.contains("WHERE")) {
|
||||
// SqlSession sqlSession = getSqlSession(data_source_code);
|
||||
// SqlSession sqlSession = new DataSourceUtil().getDefaultSqlSession();
|
||||
|
|
Loading…
Reference in New Issue