改用replace

master
admin 2 years ago
parent dc34c2d498
commit 7cb3288a64

@ -549,7 +549,7 @@ public class IdcServiceImpl implements IdcService {
private void analyData(String tableName,String uniqueColumn,List<Map<String,Object>> list) {
String tName = DBAUtils.tableRealName(tableName);
String sql="insert into "+tName +"(";
String sql="replace "+tName +"(";
String del="delete from "+tName+" where ";
String upd="update "+tName+" set ";
String[] keyColumn=new String[30];

Loading…
Cancel
Save