|
@@ -267,7 +267,7 @@ public interface StandardlyMapper {
|
|
|
|
|
|
sql.WHERE(pkName + " in (" + inSql.toString());
|
|
sql.WHERE(pkName + " in (" + inSql.toString());
|
|
String wholeSql = StringUtils.substringBeforeLast(sql.toString(), ",") + "))";
|
|
String wholeSql = StringUtils.substringBeforeLast(sql.toString(), ",") + "))";
|
|
- LOGGER.info("更改的sql语句为: {}, \r\n 更改的数据为: {}", wholeSql, model);
|
|
|
|
|
|
+ LOGGER.info("更改的sql语句为: {} \r\n 更改的数据为: {}", wholeSql, model);
|
|
return wholeSql;
|
|
return wholeSql;
|
|
} else {
|
|
} else {
|
|
throw new IllegalArgumentException("model 无效");
|
|
throw new IllegalArgumentException("model 无效");
|
|
@@ -345,7 +345,7 @@ public interface StandardlyMapper {
|
|
}
|
|
}
|
|
|
|
|
|
String sqlStr = sql.toString();
|
|
String sqlStr = sql.toString();
|
|
- LOGGER.info("新增的sql语句为: {}, \r\n 新增的数据为: {}", sqlStr, model);
|
|
|
|
|
|
+ LOGGER.info("新增的sql语句为: {} \r\n 新增的数据为: {}", sqlStr, model);
|
|
return sqlStr;
|
|
return sqlStr;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -379,7 +379,7 @@ public interface StandardlyMapper {
|
|
}
|
|
}
|
|
|
|
|
|
String sqlStr = stringBuilder.toString();
|
|
String sqlStr = stringBuilder.toString();
|
|
- LOGGER.info("批量新增的sql语句为: {}, \r\n 新增的数据为: {}", sqlStr, dataList);
|
|
|
|
|
|
+ LOGGER.info("批量新增的sql语句为: {} \r\n 新增的数据为: {}", sqlStr, dataList);
|
|
return sqlStr;
|
|
return sqlStr;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -408,7 +408,7 @@ public interface StandardlyMapper {
|
|
|
|
|
|
wholeSql.setCharAt(wholeSql.length() - 1, ')');
|
|
wholeSql.setCharAt(wholeSql.length() - 1, ')');
|
|
String sqlStr = wholeSql.toString();
|
|
String sqlStr = wholeSql.toString();
|
|
- LOGGER.info("批量更新的sql语句为: {}, \r\n 更改的数据为: {}, \r\n idList: {}", sqlStr, models, idList);
|
|
|
|
|
|
+ LOGGER.info("批量更新的sql语句为: {} \r\n 更改的数据为: {} \r\n idList: {}", sqlStr, models, idList);
|
|
return sqlStr;
|
|
return sqlStr;
|
|
|
|
|
|
}
|
|
}
|
|
@@ -468,7 +468,7 @@ public interface StandardlyMapper {
|
|
|
|
|
|
sql.setCharAt(sql.length() - 1, ')');
|
|
sql.setCharAt(sql.length() - 1, ')');
|
|
String sqlStr = sql.toString();
|
|
String sqlStr = sql.toString();
|
|
- LOGGER.info("删除的sql语句为: {}, \r\n idList: {}", sqlStr, ids);
|
|
|
|
|
|
+ LOGGER.info("删除的sql语句为: {} \r\n idList: {}", sqlStr, ids);
|
|
return sqlStr;
|
|
return sqlStr;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -615,7 +615,7 @@ public interface StandardlyMapper {
|
|
}
|
|
}
|
|
|
|
|
|
String result = wholeSql.toString();
|
|
String result = wholeSql.toString();
|
|
- LOGGER.info("查询拼出的sql语句为:{}, \r\n selectByCondition 查询条件: {}", result, packCondition);
|
|
|
|
|
|
+ LOGGER.info("查询拼出的sql语句为:{} \r\n selectByCondition 查询条件: {}", result, packCondition);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -637,7 +637,7 @@ public interface StandardlyMapper {
|
|
}
|
|
}
|
|
|
|
|
|
result = limitOne ? result + " limit 1" : result;
|
|
result = limitOne ? result + " limit 1" : result;
|
|
- LOGGER.info("查询拼出的sql语句为:{}, \r\n getByMap 查询条件: {}", result, condition);
|
|
|
|
|
|
+ LOGGER.info("查询拼出的sql语句为: {} \r\n getByMap 查询条件: {}", result, condition);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -669,7 +669,7 @@ public interface StandardlyMapper {
|
|
|
|
|
|
wholeSql.setCharAt(wholeSql.length() - 1, ')');
|
|
wholeSql.setCharAt(wholeSql.length() - 1, ')');
|
|
String sqlStr = wholeSql.toString();
|
|
String sqlStr = wholeSql.toString();
|
|
- LOGGER.info("查询拼出的sql语句为:{}, \r\n selectByIdList idList: {}", sqlStr, idList);
|
|
|
|
|
|
+ LOGGER.info("查询拼出的sql语句为:{} \r\n selectByIdList idList: {}", sqlStr, idList);
|
|
return sqlStr;
|
|
return sqlStr;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -685,7 +685,7 @@ public interface StandardlyMapper {
|
|
packCondition(packCondition, wholeSql);
|
|
packCondition(packCondition, wholeSql);
|
|
|
|
|
|
String result = wholeSql.toString();
|
|
String result = wholeSql.toString();
|
|
- LOGGER.info("查询count拼出的sql语句为:{}, \r\n countByCondition 查询条件: {}", result, packCondition);
|
|
|
|
|
|
+ LOGGER.info("查询count拼出的sql语句为: {} \r\n countByCondition 查询条件: {}", result, packCondition);
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|