Commit 6c8fd40d authored by 赵啸非's avatar 赵啸非

添加巴中经开区windows shell

parent 8c8aeffd
......@@ -211,6 +211,25 @@ public class TestSendMsgController {
}
/**
* 发送第三方接口
*
* @return
*/
@GetMapping("sendThirdPartyUpdate")
@UnAuth
public String sendThirdPartyUpdate() {
List<DeviceEntity> deviceEntities = deviceService.find(new DeviceEntity());
for (DeviceEntity deviceEntity : deviceEntities) {
PlatformEntity platformEntity = platformService.getCache(deviceEntity.getPlatformId() == null ? "-1" : deviceEntity.getPlatformId().toString());
ProductEntity productEntity = productService.getCache(deviceEntity.getProductId() == null ? "-1" : deviceEntity.getProductId().toString());
deviceService.sendThirdParty(deviceEntity, productEntity, platformEntity, DeviceMethodEnum.UPDATE);
}
return "ok";
}
public static void main(String[] args) {
/*
......
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