标准比对导出bug修复 + 法规清单查询修复
This commit is contained in:
@@ -30,6 +30,7 @@ public class ConvertHtml2Excel {
|
||||
List<CrossRangeCellMeta> crossRowEleMetaLs = new ArrayList<CrossRangeCellMeta>();
|
||||
int rowIndex = 0;
|
||||
try {
|
||||
tableHtml=tableHtml.replaceAll("\''","\'");
|
||||
Document data = DocumentHelper.parseText(tableHtml);
|
||||
HSSFCellStyle contentStyle = getContentStyle(wb);
|
||||
// 生成表头
|
||||
|
||||
+1
-4
@@ -14,17 +14,14 @@ public class SarFindDto {
|
||||
private int Size;
|
||||
private String id;
|
||||
private String standName;
|
||||
// private String standNumber;
|
||||
private String standEnName;
|
||||
private String typeApplicable;
|
||||
private String nylx;
|
||||
// private String putTime;
|
||||
// private String XCXSSRQGJ;
|
||||
// private String ZCCSSRQGJ;
|
||||
private String zrbm;
|
||||
private String sycpx;
|
||||
private String standSort;
|
||||
private String standType;
|
||||
private String standNumber;
|
||||
private String types;
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ public class SarLawsAttrDetailedListServiceImpl extends ServiceImpl<SarLawsAttrD
|
||||
/**
|
||||
*2021/9/13 摒弃使用清单实施日期,改用标准实施日期
|
||||
*/
|
||||
if("1".equals(sarFindDto.getStandSort())) {
|
||||
if("1".equals(sarFindDto.getTypes())) {
|
||||
List<SarLawsAttrDetailedList> sarLawsAttrDetailedLists = sarLawsAttrDetailedListDao.selectList(queryWrapper);
|
||||
if (StringUtils.isNoneEmpty(sarLawsAttrDetailedLists.get(0).getSsrq()) && "null" != sarLawsAttrDetailedLists.get(0).getSsrq()) {
|
||||
lawsDto.setSSRQ(sarLawsAttrDetailedLists.get(0).getSsrq());
|
||||
|
||||
+1
-1
@@ -399,7 +399,7 @@ public class SarFileSplitItemsEOServiceImpl implements SarFileSplitItemsEOServic
|
||||
String imgContent = itemsValEO.getItemContent();
|
||||
String imgUUIndex = "img" + String.valueOf(imgIndex);
|
||||
if (StringUtils.isNotEmpty(imgContent)){
|
||||
int pathIndex = imgContent.indexOf("src='file");
|
||||
int pathIndex = imgContent.indexOf("src='"+uploadFilePath);
|
||||
if (pathIndex > -1 && imgContent.length()>(pathIndex+16)) {
|
||||
String imgPath = imgContent.substring(pathIndex+16,imgContent.length()-2);
|
||||
String imgName = imgUUIndex + "-" +imgPath.substring(imgPath.lastIndexOf("/")+1,imgPath.length());
|
||||
|
||||
Reference in New Issue
Block a user