|
|
@ -2,6 +2,8 @@ package com.yxt.yyth.biz.lpkcustomer; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.yxt.common.base.config.component.FileUploadComponent; |
|
|
|
import com.yxt.common.base.service.MybatisBaseService; |
|
|
|
import com.yxt.common.base.utils.PagerUtil; |
|
|
|
import com.yxt.common.base.utils.StringUtils; |
|
|
@ -99,13 +101,13 @@ public class LpkCustomerService extends MybatisBaseService<LpkCustomerMapper, Lp |
|
|
|
baseMapper.updateById(lpkCustomer); |
|
|
|
return rb.success().setMsg("绑定成功").setData(lpkCustomer.getSid()); |
|
|
|
} |
|
|
|
public ResultBean wxBindMobile(String sid) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
|
|
|
|
LpkCustomer lpkCustomer= baseMapper.selectOne(new QueryWrapper<LpkCustomer>().eq("wx_mp_openid",wxBindMobileDto.getOpenid())); |
|
|
|
|
|
|
|
return rb.success().setMsg("绑定成功").setData(lpkCustomer.getSid()); |
|
|
|
} |
|
|
|
// public ResultBean wxBindMobile(String sid) {
|
|
|
|
// ResultBean rb = ResultBean.fireFail();
|
|
|
|
//
|
|
|
|
// // LpkCustomer lpkCustomer= baseMapper.selectOne(new QueryWrapper<LpkCustomer>().eq("wx_mp_openid",wxBindMobileDto.getOpenid()));
|
|
|
|
//
|
|
|
|
// return rb.success().setMsg("绑定成功").setData(lpkCustomer.getSid());
|
|
|
|
// }
|
|
|
|
|
|
|
|
public ResultBean<PagerVo<LpkCustomerVo>> customerListPage(PagerQuery<LpkCustomerQuery> pq) { |
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|