|
@@ -76,7 +76,7 @@ public class SerialPatternServiceImpl extends ServiceImpl<SerialPatternMapper, S
|
|
|
// 查找最大值
|
|
|
QueryWrapper<Map<String,String>> queryWrapper = new QueryWrapper<>();
|
|
|
if(StringUtils.isNotBlank(prefix)){
|
|
|
- queryWrapper.likeLeft(fieldName,prefix);
|
|
|
+ queryWrapper.likeRight(fieldName,prefix);
|
|
|
}
|
|
|
Map<String,Object> row = sysSerialPatternMapper.selectMax(tableName, fieldName, queryWrapper);
|
|
|
String maxValue = "";
|