fix:88869
This commit is contained in:
+2
-1
@@ -293,7 +293,8 @@ public class LawsMarketStandardDetailServiceImpl extends ServiceImpl<LawsMarketS
|
||||
appendStandardEnglishName(p, s, obj);
|
||||
checkDate(p, s);
|
||||
// 验证类型
|
||||
if(!Objects.equals(obj.getType(),p.getType())){
|
||||
if(!Objects.equals(StringUtils.isEmpty(obj.getType()) ? "" : obj.getType(),
|
||||
StringUtils.isEmpty(p.getType()) ? "" : p.getType())){
|
||||
String name = ValidUtil.getAnnotation(LawsMarketStandardDetail.class,"type");
|
||||
s.append(MessageUtils.getMessage(ResultCommon.FORMATTING_ERROR,name)).append(",");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user