|
|
@@ -10,6 +10,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.core.redis.RedisCache;
|
|
|
import com.fs.common.service.impl.SmsServiceImpl;
|
|
|
+import com.fs.common.utils.CloudHostUtils;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
import com.fs.common.utils.SecurityUtils;
|
|
|
import com.fs.company.domain.CompanyMoneyLogs;
|
|
|
@@ -672,7 +673,12 @@ public class Task {
|
|
|
}
|
|
|
|
|
|
public void addPrescribeImg() throws Exception {
|
|
|
- List<Long> ids = fsPrescribeService.selectFsPrescribeByPrescribeIdByOrderType();
|
|
|
+ List<Long> ids;
|
|
|
+ if(CloudHostUtils.hasCloudHostName("鸿森堂")){
|
|
|
+ ids = fsPrescribeService.selectFsPrescribeByOrderStatus();
|
|
|
+ } else {
|
|
|
+ ids = fsPrescribeService.selectFsPrescribeByPrescribeIdByOrderType();
|
|
|
+ }
|
|
|
for (Long id : ids) {
|
|
|
System.out.println(id);
|
|
|
fsPrescribeService.PrescribeStoreImg(id);
|