退菜数量
This commit is contained in:
@@ -78,7 +78,7 @@ public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
|
||||
" tb_order_info.shop_id = #{shopId} " +
|
||||
"and tb_order_info.create_time >= #{loginTime} and tb_order_info.create_time <= #{handoverTime} " +
|
||||
"and tb_order_info.paid_time is not null ")
|
||||
int countReturnDish(Long shopId, String loginTime, String handoverTime);
|
||||
BigDecimal countReturnDish(Long shopId, String loginTime, String handoverTime);
|
||||
|
||||
@Select("SELECT " +
|
||||
" SUM(CASE WHEN biz_code IN ('cashIn', 'wechatIn', 'alipayIn', 'adminIn') THEN amount ELSE 0 END) AS recharge," +
|
||||
|
||||
@@ -65,7 +65,7 @@ public class OrderInfoRpcServiceImpl implements OrderInfoRpcService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int countReturnDish(Long shopId, String loginTime, String handoverTime) {
|
||||
public BigDecimal countReturnDish(Long shopId, String loginTime, String handoverTime) {
|
||||
return orderInfoMapper.countReturnDish(shopId, loginTime, handoverTime);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user