|
@@ -120,7 +120,7 @@ public class ActBusinessServiceImpl extends ServiceImpl<ActBusinessMapper, ActBu
|
|
|
filedIdB.append(",sort");
|
|
|
filedIdVB.append(",'" + i + "'");
|
|
|
//删除子表
|
|
|
- this.baseMapper.deletetBusiData(String.format("DELETE FROM %s WHERE %s = %s", tableNameB, tableName + "_id", tableBId));
|
|
|
+ this.baseMapper.deletetBusiData(String.format("DELETE FROM %s WHERE %s = %s", tableNameB, tableName + "_id", "'" + tableBId + "'"));
|
|
|
|
|
|
|
|
|
this.baseMapper.insertBusiData(String.format("INSERT INTO %s (%s) VALUES (%s)", tableNameB, filedIdB.toString(), filedIdVB.toString()));
|