Commit d11e09fc by 杨卫

feat: 添加车型名称

1 parent 67c37821
......@@ -116,8 +116,12 @@ public class RyInspectionTemplateCode001 implements TemplateValueStrategy {
defaultValueMap.put(InspectionBaseInfoFieldEnum.CAR_SERIES_NAME.getCode(), baseInfo.getCarSeriesName());
}
// 车型·
if (StringUtils.hasText(baseInfo.getCarTypeName())) {
defaultValueMap.put(InspectionBaseInfoFieldEnum.CAR_TYPE_NAME.getCode(), baseInfo.getCarTypeName());
}
if (ObjectUtil.isNotNull(baseInfo.getCarTypeId())) {
defaultValueMap.put(InspectionBaseInfoFieldEnum.CAR_SERIES_ID.getCode(), StrUtil.toString(baseInfo.getCarSeriesId()));
defaultValueMap.put(InspectionBaseInfoFieldEnum.CAR_TYPE_ID.getCode(), StrUtil.toString(baseInfo.getCarTypeId()));
}
// 表显里程
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!