|
|
@@ -1015,7 +1015,11 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService {
|
|
|
String followDoctorIdsJson = company.getFollowDoctorIds();
|
|
|
if (followDoctorIdsJson != null && followDoctorIdsJson != "") {
|
|
|
String jsonStr = JSON.parseObject(followDoctorIdsJson, String.class);
|
|
|
+ if (jsonStr.startsWith("\"")) {
|
|
|
+ jsonStr = jsonStr.replace("\"", "");
|
|
|
+ }
|
|
|
long[] ids = JSON.parseObject(jsonStr, long[].class);
|
|
|
+
|
|
|
if (ids.length > 0) {
|
|
|
Random random = new Random();
|
|
|
// 从数组中随机选择一个数字
|