|
|
@@ -20,6 +20,7 @@ import shop.alien.entity.store.LawyerUser;
|
|
|
import shop.alien.entity.store.StoreInfo;
|
|
|
import shop.alien.mapper.AlipayZftCreateRecordMapper;
|
|
|
import shop.alien.mapper.LawyerUserMapper;
|
|
|
+import shop.alien.mapper.StoreInfoMapper;
|
|
|
import shop.alien.store.service.StoreInfoService;
|
|
|
|
|
|
import java.util.List;
|
|
|
@@ -36,7 +37,7 @@ public class AlipayJob {
|
|
|
|
|
|
private final AlipayZftCreateRecordMapper alipayZftCreateRecordMapper;
|
|
|
|
|
|
- private final StoreInfoService storeInfoService;
|
|
|
+ private final StoreInfoMapper storeInfoMapper;
|
|
|
|
|
|
private final LawyerUserMapper lawyerUserMapper;
|
|
|
|
|
|
@@ -92,7 +93,7 @@ public class AlipayJob {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
- StoreInfo storeInfo = storeInfoService.getById(storeId);
|
|
|
+ StoreInfo storeInfo = storeInfoMapper.getStoreInfo(storeId);
|
|
|
if (storeInfo == null) {
|
|
|
log.warn("门店不存在 storeId={} orderId={}", storeId, orderId);
|
|
|
continue;
|
|
|
@@ -103,7 +104,7 @@ public class AlipayJob {
|
|
|
}
|
|
|
|
|
|
storeInfo.setAlipaySmid(smid);
|
|
|
- storeInfoService.updateById(storeInfo);
|
|
|
+ storeInfoMapper.updateById(storeInfo);
|
|
|
log.info("已回写门店 alipay_smid storeId={} orderId={}", storeId, orderId);
|
|
|
}
|
|
|
}
|