|
@ -39,7 +39,6 @@ public class FieldServiceImpl implements FieldService { |
|
|
field.setIsDefaultValue(dto.getIsDefaultValue()); |
|
|
field.setIsDefaultValue(dto.getIsDefaultValue()); |
|
|
field.setDictionaryId(dto.getDictionaryId()); |
|
|
field.setDictionaryId(dto.getDictionaryId()); |
|
|
field.setIsDataType(dto.getIsDataType()); |
|
|
field.setIsDataType(dto.getIsDataType()); |
|
|
field.setIsDataTypeDetails(dto.getIsDataType() == 1 ? "varchar":"int"); |
|
|
|
|
|
field.setIsColumnLength(dto.getIsColumnLength()); |
|
|
field.setIsColumnLength(dto.getIsColumnLength()); |
|
|
if(null == dto.getIsSequence()) { |
|
|
if(null == dto.getIsSequence()) { |
|
|
Integer maxSequence = fieldRepository.getMaxSequence(dto.getIsType()); |
|
|
Integer maxSequence = fieldRepository.getMaxSequence(dto.getIsType()); |
|
|