Commit 711b0ed5 by liyanlin

fix

parent f508ccb5
......@@ -56,7 +56,7 @@ public class StoreTechnicianServiceImpl extends ServiceImpl<StoreTechnicianMappe
//生成token
String token = new BigInteger((int) (Math.random() * 1000) + new SimpleDateFormat("ddHHmmss").format(new Date()), 10).toString(16);
StoreTechnician storeTechnician = this.getOne(new LambdaQueryWrapper<StoreTechnician>().eq(StoreTechnician::getOpenid, openid));
StoreTechnician storeTechnician = this.getOne(new LambdaQueryWrapper<StoreTechnician>().eq(StoreTechnician::getOpenid, openid).eq(StoreTechnician::getBrandId,brandId));
if (storeTechnician == null) {
throw new RRException(ErrorCode.TC_2006);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment