Merge remote-tracking branch 'origin/dev-3.0.0' into dev
This commit is contained in:
@@ -643,8 +643,12 @@ public class OrderService {
|
|||||||
if (StringUtils.isEmpty(shopId)) {
|
if (StringUtils.isEmpty(shopId)) {
|
||||||
return Result.fail(CodeEnum.SHOPINFONOEXIST);
|
return Result.fail(CodeEnum.SHOPINFONOEXIST);
|
||||||
}
|
}
|
||||||
|
ShopEatTypeInfoDTO shopEatTypeInfoDTO;
|
||||||
ShopEatTypeInfoDTO shopEatTypeInfoDTO = checkEatModel(Integer.valueOf(shopId), tableId);
|
if (StrUtil.isBlank(tableId)) {
|
||||||
|
shopEatTypeInfoDTO = getEatModelUnCheck(Integer.valueOf(shopId), tableId);
|
||||||
|
}else {
|
||||||
|
shopEatTypeInfoDTO = checkEatModel(Integer.valueOf(shopId), tableId);
|
||||||
|
}
|
||||||
String day = DateUtils.getDay();
|
String day = DateUtils.getDay();
|
||||||
|
|
||||||
String finalMasterId1 = masterId;
|
String finalMasterId1 = masterId;
|
||||||
|
|||||||
@@ -486,6 +486,7 @@
|
|||||||
<if test="commdityName != null and commdityName!='' ">
|
<if test="commdityName != null and commdityName!='' ">
|
||||||
and a.name like CONCAT('%',#{commdityName},'%')
|
and a.name like CONCAT('%',#{commdityName},'%')
|
||||||
</if>
|
</if>
|
||||||
|
and type != 'coupon'
|
||||||
and b.is_grounding=1 GROUP BY a.id ORDER BY a.`sort`
|
and b.is_grounding=1 GROUP BY a.id ORDER BY a.`sort`
|
||||||
|
|
||||||
|
|
||||||
@@ -512,6 +513,8 @@
|
|||||||
<if test="commdityName != null and commdityName!='' ">
|
<if test="commdityName != null and commdityName!='' ">
|
||||||
and a.name like CONCAT('%',#{commdityName},'%')
|
and a.name like CONCAT('%',#{commdityName},'%')
|
||||||
</if>
|
</if>
|
||||||
|
and type != 'coupon'
|
||||||
|
|
||||||
and b.is_grounding=1 GROUP BY a.id ORDER BY a.`sort`
|
and b.is_grounding=1 GROUP BY a.id ORDER BY a.`sort`
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
@@ -524,6 +527,8 @@
|
|||||||
<if test="commdityName != null and commdityName!='' ">
|
<if test="commdityName != null and commdityName!='' ">
|
||||||
and a.name like CONCAT('%',#{commdityName},'%')
|
and a.name like CONCAT('%',#{commdityName},'%')
|
||||||
</if>
|
</if>
|
||||||
|
and type != 'coupon'
|
||||||
|
|
||||||
and b.is_grounding=0 GROUP BY a.id ORDER BY a.`sort`
|
and b.is_grounding=0 GROUP BY a.id ORDER BY a.`sort`
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user