改用replace

version1
admin 2 years ago
parent 4b2f75d7da
commit a712980a99

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

Loading…
Cancel
Save