|
|
|
@ -13,6 +13,7 @@ import com.dxhy.common.util.CustomCellWriteHandler; |
|
|
|
|
import com.dxhy.common.util.ExceptionUtil; |
|
|
|
|
import com.dxhy.common.util.StringHelper; |
|
|
|
|
import com.dxhy.common.utils.DateUtils; |
|
|
|
|
import com.dxhy.common.utils.R; |
|
|
|
|
import com.dxhy.core.entity.TDxExcelExportlog; |
|
|
|
|
import com.dxhy.core.feign.IFeginWebsocket; |
|
|
|
|
import com.dxhy.core.rabbitmq.Sender; |
|
|
|
@ -22,7 +23,8 @@ import com.dxhy.core.service.singletable.IExcelExportlogService; |
|
|
|
|
import com.dxhy.core.util.JsonResponseUtils; |
|
|
|
|
import com.dxhy.oss.service.FileService; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.springframework.http.ResponseEntity; |
|
|
|
|
|
|
|
|
|
import java.io.File; |
|
|
|
|
import java.io.FileOutputStream; |
|
|
|
@ -161,6 +163,8 @@ public class ManualAthensThread extends BaseThread { |
|
|
|
|
String imageNumber = prams.getString("imageNumber"); |
|
|
|
|
String postingTimeEnd = prams.getString("postingTimeEnd"); |
|
|
|
|
String postingTimeStart = prams.getString("postingTimeStart"); |
|
|
|
|
String kpksrq = prams.getString("kpksrq"); |
|
|
|
|
String kpjsrq = prams.getString("kpjsrq"); |
|
|
|
|
|
|
|
|
|
List<String> companyCodes = companyCodeArray.toJavaList(String.class); |
|
|
|
|
// 参数转换为需要的形式
|
|
|
|
@ -192,11 +196,11 @@ public class ManualAthensThread extends BaseThread { |
|
|
|
|
if (cjjsyf != null && !"".equals(cjjsyf)) { |
|
|
|
|
pramsMap.put("cjjsyf", DateUtils.getNight(DateUtils.strToDate(cjjsyf))); |
|
|
|
|
} |
|
|
|
|
if (prams.get("kpksrq") != null && !"".equals(prams.get("kpksrq"))) { |
|
|
|
|
pramsMap.put("kpksrq",prams.getString("kpksrq")); |
|
|
|
|
if (!StringUtils.isBlank(kpksrq)) { |
|
|
|
|
pramsMap.put("kpksrq", DateUtils.getMorning(DateUtils.strToDate(kpksrq))); |
|
|
|
|
} |
|
|
|
|
if (prams.get("kpjsrq") != null && !"".equals(prams.get("kpjsrq"))) { |
|
|
|
|
pramsMap.put("kpjsrq",prams.getString("kpjsrq")); |
|
|
|
|
if (!StringUtils.isBlank(kpjsrq)) { |
|
|
|
|
pramsMap.put("kpjsrq", DateUtils.getNight(DateUtils.strToDate(kpjsrq))); |
|
|
|
|
} |
|
|
|
|
if (prams.get("skssq") != null && !"".equals(prams.get("skssq")) && "1".equals(prams.get("rzzt"))) { |
|
|
|
|
pramsMap.put("skssq", prams.get("skssq").toString().replace("-", "")); |
|
|
|
|