|
@@ -28,6 +28,8 @@ import com.fs.his.service.IFsInquiryOrderService;
|
|
|
import com.fs.his.service.IFsUserWxService;
|
|
import com.fs.his.service.IFsUserWxService;
|
|
|
import com.fs.his.utils.qrcode.QRCodeUtils;
|
|
import com.fs.his.utils.qrcode.QRCodeUtils;
|
|
|
import com.fs.hisStore.config.MedicalMallConfig;
|
|
import com.fs.hisStore.config.MedicalMallConfig;
|
|
|
|
|
+import com.fs.hisStore.domain.FsStoreOrderScrm;
|
|
|
|
|
+import com.fs.hisStore.service.impl.FsStoreOrderScrmServiceImpl;
|
|
|
import com.fs.qw.domain.QwCompany;
|
|
import com.fs.qw.domain.QwCompany;
|
|
|
import com.fs.qw.domain.QwExternalContact;
|
|
import com.fs.qw.domain.QwExternalContact;
|
|
|
import com.fs.qw.mapper.QwExternalContactMapper;
|
|
import com.fs.qw.mapper.QwExternalContactMapper;
|
|
@@ -151,6 +153,9 @@ public class CommonController {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private IFsCourseWatchLogService courseWatchLogService;
|
|
private IFsCourseWatchLogService courseWatchLogService;
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private FsStoreOrderScrmServiceImpl fsStoreOrderScrmService;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 获取跳转微信小程序的链接地址
|
|
* 获取跳转微信小程序的链接地址
|
|
|
*/
|
|
*/
|
|
@@ -437,4 +442,12 @@ public class CommonController {
|
|
|
courseWatchLogService.scheduleUpdateDurationToDatabaseText();
|
|
courseWatchLogService.scheduleUpdateDurationToDatabaseText();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @GetMapping("/erp/{orderId}")
|
|
|
|
|
+ public R erp(@PathVariable Long orderId){
|
|
|
|
|
+ FsStoreOrderScrm storeOrderScrm =new FsStoreOrderScrm();
|
|
|
|
|
+ storeOrderScrm.setId(orderId);
|
|
|
|
|
+ storeOrderScrm.setUserAddress("测试- --- --11111");
|
|
|
|
|
+ fsStoreOrderScrmService.pushOrderAddressToErp(storeOrderScrm);
|
|
|
|
|
+ return null;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|