数据源
parent
8e05fd0d30
commit
9e9c4052e0
|
@ -192,7 +192,7 @@ public class DataDatabaseServiceImpl extends BaseServiceImpl<DataDatabaseDao, Da
|
|||
properties.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, org.apache.kafka.common.serialization.StringSerializer.class.getName());
|
||||
properties.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, org.apache.kafka.common.serialization.StringSerializer.class.getName());
|
||||
|
||||
// 创建生产者
|
||||
// 创建生产者方娇大傻蛋
|
||||
Producer<String, String> producer = null;
|
||||
try {
|
||||
producer = new org.apache.kafka.clients.producer.KafkaProducer<>(properties);
|
||||
|
|
|
@ -75,7 +75,7 @@ public class DatabaseRedisImpl extends DatabaseMysqlImpl implements IDatabaseInt
|
|||
cd.setFieldTypeName(dataType);
|
||||
int csize = columnSize != null ? Integer.parseInt(columnSize) : 0;
|
||||
cd.setDisplaySize(csize);
|
||||
cd.setPrecisionSize(csize);
|
||||
cd .setPrecisionSize(csize);
|
||||
cd.setScaleSize(decimalDigits != null ? Integer.parseInt(decimalDigits) : 0);
|
||||
cd.setRemarks(columnComment);
|
||||
break;
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue