|
@@ -107,7 +107,7 @@ public class LisMappingFacade extends LisMappingServiceImpl {
|
|
|
lisMappingQueryWrapper.eq("is_deleted", IsDeleteEnum.N.getKey())
|
|
|
.eq("meal_name", lisMappingVO.getMealName());
|
|
|
if (StringUtil.isBlank(lisMappingVO.getItemName())) {
|
|
|
- lisMappingQueryWrapper.isNull("item_name").or(i -> i.eq("item_name", ""));
|
|
|
+ lisMappingQueryWrapper.and(i -> i.isNull("item_name").or(j -> j.eq("item_name", "")));
|
|
|
} else {
|
|
|
lisMappingQueryWrapper.eq("item_name", lisMappingVO.getItemName());
|
|
|
}
|