|
@@ -78,7 +78,7 @@ public interface StandardMapper {
|
|
* @return int
|
|
* @return int
|
|
*/
|
|
*/
|
|
@SelectProvider(type = SqlProvider.class, method = "update")
|
|
@SelectProvider(type = SqlProvider.class, method = "update")
|
|
- int update(@Param("tableName") String tableName, @Param("packCommitData") JSONObject packCommitData
|
|
|
|
|
|
+ Integer update(@Param("tableName") String tableName, @Param("packCommitData") JSONObject packCommitData
|
|
, @Param("packColCondition") JSONObject packColCondition);
|
|
, @Param("packColCondition") JSONObject packColCondition);
|
|
|
|
|
|
|
|
|
|
@@ -319,7 +319,7 @@ public interface StandardMapper {
|
|
wholeSql.append(key).append(covert(queryType, columnType, key, value)).append(" , ");
|
|
wholeSql.append(key).append(covert(queryType, columnType, key, value)).append(" , ");
|
|
}
|
|
}
|
|
|
|
|
|
- wholeSql.append(StringUtils.substringBeforeLast(wholeSql.toString(), " , "));
|
|
|
|
|
|
+ wholeSql = new StringBuilder(StringUtils.substringBeforeLast(wholeSql.toString(), " , "));
|
|
packCondition(packColCondition, wholeSql);
|
|
packCondition(packColCondition, wholeSql);
|
|
|
|
|
|
String sqlStr = wholeSql.toString();
|
|
String sqlStr = wholeSql.toString();
|