mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
update
This commit is contained in:
@@ -15,7 +15,6 @@ import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.SecurityUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.common.util.id.SnUtils;
|
||||
import com.jsowell.netty.command.ykc.IssueQRCodeCommand;
|
||||
import com.jsowell.netty.service.yunkuaichong.YKCPushCommandService;
|
||||
import com.jsowell.pile.domain.MemberBasicInfo;
|
||||
import com.jsowell.pile.domain.OrderBasicInfo;
|
||||
@@ -106,6 +105,9 @@ public class PileService {
|
||||
@Autowired
|
||||
private YKCPushCommandService ykcPushCommandService;
|
||||
|
||||
@Autowired
|
||||
private PileRemoteService pileRemoteService;
|
||||
|
||||
/**
|
||||
* 查询设备信息
|
||||
*
|
||||
@@ -519,13 +521,15 @@ public class PileService {
|
||||
List<String> pileSnList = pileDetailVOS.stream()
|
||||
.map(PileDetailVO::getPileSn)
|
||||
.collect(Collectors.toList());
|
||||
IssueQRCodeCommand command;
|
||||
// IssueQRCodeCommand command;
|
||||
for (String pileSn : pileSnList) {
|
||||
// 给桩下发二维码
|
||||
command = new IssueQRCodeCommand();
|
||||
command.setPileSn(pileSn);
|
||||
command.setQrcodePrefix(dto.getQrcodePrefix());
|
||||
ykcPushCommandService.pushIssueQRCodeCommand(command);
|
||||
// command = new IssueQRCodeCommand();
|
||||
// command.setPileSn(pileSn);
|
||||
// command.setQrcodePrefix(dto.getQrcodePrefix());
|
||||
// ykcPushCommandService.pushIssueQRCodeCommand(command);
|
||||
|
||||
pileRemoteService.issueQRCode(pileSn);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user