bug
This commit is contained in:
parent
094804d122
commit
cad70e53c6
@ -539,8 +539,10 @@ import {refundApi} from "@/api/order/refund";
|
||||
},
|
||||
// 获取订单详情
|
||||
getOrdersInfo(id){
|
||||
console.log(id,111)
|
||||
cashierOrder(id).then( response => {
|
||||
this.cashierOrder = response.data
|
||||
console.log(response)
|
||||
this.getOilList(this.cashierOrder.orderNo)
|
||||
this.getGoodsLists(this.cashierOrder.goodsOrderId)
|
||||
this.dialogVisible = true;
|
||||
|
@ -3,7 +3,7 @@
|
||||
<mapper namespace="com.fuint.api.cashier.mapper.OilNumGunConfigMapper">
|
||||
<sql id="selectOilNumGun">
|
||||
select ong.*,onm.oil_name,onm.oil_price from oil_num_gun_config ong
|
||||
inner join oil_number onm on ong.number_id = onm.number_id
|
||||
left join oil_number onm on ong.number_id = onm.number_id
|
||||
</sql>
|
||||
<select id="selectOilNumGunList" resultType="com.fuint.api.cashier.vo.OilNumGunConfigVo">
|
||||
<include refid="selectOilNumGun"></include>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<mapper namespace="com.fuint.api.fuyou.mapper.OilConfigMapper">
|
||||
<sql id="selectOilConfig">
|
||||
select oc.*,mc.mchnt_cd,mc.merchant_name,mc.remark from oil_config oc
|
||||
inner join merchant_config mc on oc.merch_config_id = mc.id
|
||||
left join merchant_config mc on oc.merch_config_id = mc.id
|
||||
</sql>
|
||||
|
||||
<select id="selectOilConfigList" resultType="com.fuint.api.fuyou.vo.OilConfigVo">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<mapper namespace="com.fuint.business.convenienceSore.mapper.SaleDetailMapper">
|
||||
<sql id="selectSaleDetail">
|
||||
select sd.*,mg.name,mg.buying_price,mg.retail_price,mg.member_price from sale_detail sd
|
||||
inner join mt_goods mg on sd.goods_id = mg.id
|
||||
left join mt_goods mg on sd.goods_id = mg.id
|
||||
</sql>
|
||||
|
||||
<select id="selectSaleDetailList" resultType="com.fuint.business.convenienceSore.vo.SaleDetailVo">
|
||||
|
@ -5,7 +5,7 @@
|
||||
select st.id, mg.supplier_id, mg.cvs_good_id, st.goods_id, st.store_id, st.cost_amount, mg.status,
|
||||
mg.name,mg.goods_no,mg.pinyin_code,mg.shelf_number,
|
||||
mg.retail_price,mg.unit,mg.stock,mg.buying_price,mg.update_time
|
||||
from stock_statistic st inner join mt_goods mg on st.goods_id = mg.id
|
||||
from stock_statistic st left join mt_goods mg on st.goods_id = mg.id
|
||||
</sql>
|
||||
|
||||
<select id="selectStockList" resultType="com.fuint.business.convenienceSore.vo.StockStatisticVo">
|
||||
|
@ -30,8 +30,8 @@
|
||||
<select id="selectCashierOrderById" resultType="com.fuint.business.order.vo.CashierOrderVo"
|
||||
parameterType="int">
|
||||
select co.*,st.real_name,st.mobile from cashier_order co
|
||||
inner join mt_staff st on co.staff_id = st.id
|
||||
where co.id = #{id};
|
||||
left join mt_staff st on co.staff_id = st.id
|
||||
where co.id = #{id}
|
||||
</select>
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<sql id="selectOrderGoods">
|
||||
select mog.id,mog.order_id,mog.goods_id as goods_id,mg.id as goodsId,mg.name,mog.retail_price,
|
||||
mog.member_price,mog.num,mg.unit,mog.all_amount,mog.pay_amount
|
||||
from mt_order_goods mog inner join mt_goods mg on mog.goods_id = mg.id
|
||||
from mt_order_goods mog left join mt_goods mg on mog.goods_id = mg.id
|
||||
</sql>
|
||||
|
||||
<select id="selectOrderGoods" resultType="com.fuint.business.order.vo.OrderGoodsVo">
|
||||
|
@ -8,8 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
csi.*,sd.leader_name,sd.leader_phone
|
||||
FROM
|
||||
chain_store_info csi
|
||||
inner join sys_dept sd on sd.dept_id = csi.contract_dept_id
|
||||
inner join mt_store ms on ms.chain_store_id = csi.id
|
||||
left join sys_dept sd on sd.dept_id = csi.contract_dept_id
|
||||
left join mt_store ms on ms.chain_store_id = csi.id
|
||||
where (sd.ancestors like concat(#{ownDeptStr},'%') or csi.contract_dept_id = #{chainStoreInfo.contractDeptId})
|
||||
and csi.status = 'qy'
|
||||
and sd.if_delete = 0
|
||||
|
@ -5,8 +5,8 @@
|
||||
select mu.*,mub.grade_id,mub.card_balance,mub.points,mub.consume_num,mub.growth_value,mub.refuel_money,
|
||||
mub.second_card,mub.fixing_level,
|
||||
mi.storeId,mi.staffId,mi.inviterId,mub.chain_store_id from mt_user mu
|
||||
inner join mt_user_balance mub on mu.id = mub.mt_user_id
|
||||
inner join mt_invitation mi on mu.id = mi.userId
|
||||
left join mt_user_balance mub on mu.id = mub.mt_user_id
|
||||
left join mt_invitation mi on mu.id = mi.userId
|
||||
</sql>
|
||||
<sql id="selectUserAndBalance">
|
||||
select mu.*,mub.grade_id,mub.card_balance,mub.points,mub.consume_num,mub.growth_value,mub.refuel_money,
|
||||
@ -232,7 +232,7 @@
|
||||
<select id="selectUserByMobileAndChantStoreId" resultType="com.fuint.business.userManager.vo.LJUserVo">
|
||||
select mu.*,mub.grade_id,mub.card_balance,mub.points,mub.consume_num,mub.growth_value,mub.refuel_money,
|
||||
mub.second_card,mub.fixing_level,mub.chain_store_id from mt_user mu
|
||||
inner join mt_user_balance mub on mu.id = mub.mt_user_id
|
||||
left join mt_user_balance mub on mu.id = mub.mt_user_id
|
||||
<where>
|
||||
mu.mobile = #{mobile} and
|
||||
mub.chain_store_id = #{chainStoreId}
|
||||
|
@ -793,7 +793,7 @@ public class MemberServiceImpl extends ServiceImpl<MtUserMapper, MtUser> impleme
|
||||
user.setOpenId(openId);
|
||||
|
||||
user.setMobile(mobile);
|
||||
user.setName("("+mobile+")微信自动注册用户");
|
||||
user.setName("("+mobile+")微信自动注册用户");
|
||||
user.setCreateTime(new Date());
|
||||
user.setUpdateTime(new Date());
|
||||
user.setDescription("微信登录自动注册");
|
||||
@ -806,6 +806,7 @@ public class MemberServiceImpl extends ServiceImpl<MtUserMapper, MtUser> impleme
|
||||
} else if (gender.equals(GenderEnum.UNKNOWN.getKey().toString())) {
|
||||
gender = GenderEnum.FEMALE.getKey().toString();
|
||||
}
|
||||
BeanUtils.copyProperties(user,mtUser);
|
||||
ljUserService.updateById(user);
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@
|
||||
uni.setStorageSync("y_userId", query.userId)
|
||||
}
|
||||
uni.showToast({
|
||||
title:"storeId:"+uni.getStorageSync("storeId")
|
||||
title:"storeId:"+uni.getStorageSync("storeId")+"y_type:"+uni.getStorageSync("y_type")+"y_userId"+uni.getStorageSync("y_userId")
|
||||
})
|
||||
if (uni.getStorageSync("appltType") == "WECHAT") {
|
||||
const q = decodeURIComponent(query.q) // 获取到二维码原始链接内容
|
||||
|
Loading…
Reference in New Issue
Block a user