修改手工認證頁面到處空稅號bug

release
yishiqihuasheng 2 years ago
parent 7b3ce4fe36
commit e96ee712fc
  1. 15
      dxhy-core/src/main/java/com/dxhy/core/thread/ManualAthensThread.java

@ -22,6 +22,7 @@ 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 java.io.File;
import java.io.FileOutputStream;
@ -228,14 +229,20 @@ public class ManualAthensThread extends BaseThread {
ftpFileName.append(fileSplit);
if ("99".equals(gfTaxNo)) {
if (gfshList.size() > 0) {
ftpFileName.append(rzFpxxService.getblocName(gfshList.get(0)));
ftpFileName.append(fileSplit);
if (StringUtils.isNotEmpty(gfshList.get(0))){
if (StringUtils.isNotEmpty(gfshList.get(0))){
ftpFileName.append(rzFpxxService.getblocName(gfshList.get(0)));
}
ftpFileName.append(fileSplit);
}
}
} else {
if (gfshList.size() > 0) {
for (String s : gfshList) {
ftpFileName.append(rzFpxxService.getGfName(s));
ftpFileName.append(fileSplit);
if (StringUtils.isNotEmpty(s)){
ftpFileName.append(rzFpxxService.getGfName(s));
ftpFileName.append(fileSplit);
}
}
}
}

Loading…
Cancel
Save