diff --git a/lzbi-module/pom.xml b/lzbi-module/pom.xml
index 07151be..38346d4 100644
--- a/lzbi-module/pom.xml
+++ b/lzbi-module/pom.xml
@@ -55,13 +55,16 @@
easyexcel-core
3.3.2
+
+ com.alibaba
+ fastjson
+ 1.2.54
+
-
-
\ No newline at end of file
diff --git a/lzbi-module/src/main/java/com/lzbi/asset/mapper/DcBusiWorkReadConfigMapper.java b/lzbi-module/src/main/java/com/lzbi/asset/mapper/DcBusiWorkReadConfigMapper.java
index 013c127..8137458 100644
--- a/lzbi-module/src/main/java/com/lzbi/asset/mapper/DcBusiWorkReadConfigMapper.java
+++ b/lzbi-module/src/main/java/com/lzbi/asset/mapper/DcBusiWorkReadConfigMapper.java
@@ -6,7 +6,6 @@ import com.lzbi.asset.domain.DcBaseAssetInfo;
import com.lzbi.asset.domain.DcBusiWorkReadConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzbi.common.AssetQueryParams;
-import com.lzbi.wechat.domain.dto.ParamsContrastDTO;
import org.apache.ibatis.annotations.Param;
/**
@@ -35,8 +34,6 @@ public interface DcBusiWorkReadConfigMapper extends BaseMapper selectDcBusiWorkReadConfigList(DcBusiWorkReadConfig dcBusiWorkReadConfig);
public List selectDcBusiWorkReadConfigMainList(AssetQueryParams assetQueryParams);
- List selectDcBusiWorkReadConfigByAssetTarget(@Param("targetModelCodeList") List targetModelCodeList, @Param("dcBaseAssetInfo") DcBaseAssetInfo dcBaseAssetInfo);
-
/**
* 新增互联参数读取数据对照
*
diff --git a/lzbi-module/src/main/java/com/lzbi/bill/controller/DcBusiTargetInputMasterController.java b/lzbi-module/src/main/java/com/lzbi/bill/controller/DcBusiTargetInputMasterController.java
index 933c43c..9f602d4 100644
--- a/lzbi-module/src/main/java/com/lzbi/bill/controller/DcBusiTargetInputMasterController.java
+++ b/lzbi-module/src/main/java/com/lzbi/bill/controller/DcBusiTargetInputMasterController.java
@@ -33,7 +33,7 @@ import org.springframework.web.multipart.MultipartFile;
* @date 2024-01-19
*/
@RestController
-@RequestMapping("/bill/DcBusiTargetInputMaster")
+@RequestMapping("/bill/dcBusiTargetInputMaster")
public class DcBusiTargetInputMasterController extends BaseController
{
@Autowired
@@ -151,7 +151,7 @@ public class DcBusiTargetInputMasterController extends BaseController
/**
* 确认日报数据
- * @param list
+ * @param confirmReq
* @return
*/
@PostMapping("/confirm")
@@ -175,7 +175,7 @@ public class DcBusiTargetInputMasterController extends BaseController
@ApiImplicitParam(name = "billNo", value = "", dataType = "String", dataTypeClass = String.class),
})
@PostMapping("/checkPass/{billNo}")
- public AjaxResult checkPass(@PathVariable String billNo){
+ public AjaxResult checkPass(@PathVariable String billNo) throws InterruptedException {
return AjaxResult.success(dcBusiTargetInputMasterService.checkPass(billNo));
}
diff --git a/lzbi-module/src/main/java/com/lzbi/bill/domain/CellDataReadFormulaData.java b/lzbi-module/src/main/java/com/lzbi/bill/domain/CellDataReadFormulaData.java
new file mode 100644
index 0000000..ef8f723
--- /dev/null
+++ b/lzbi-module/src/main/java/com/lzbi/bill/domain/CellDataReadFormulaData.java
@@ -0,0 +1,18 @@
+package com.lzbi.bill.domain;
+
+import com.alibaba.excel.metadata.data.CellData;
+import lombok.EqualsAndHashCode;
+import lombok.Getter;
+import lombok.Setter;
+
+import java.util.Date;
+
+/**
+ * 读取公式数据
+ */
+@Getter
+@Setter
+@EqualsAndHashCode
+public class CellDataReadFormulaData {
+ private CellData string;
+}
\ No newline at end of file
diff --git a/lzbi-module/src/main/java/com/lzbi/bill/listener/CellDataReadFormulaListener.java b/lzbi-module/src/main/java/com/lzbi/bill/listener/CellDataReadFormulaListener.java
new file mode 100644
index 0000000..313c348
--- /dev/null
+++ b/lzbi-module/src/main/java/com/lzbi/bill/listener/CellDataReadFormulaListener.java
@@ -0,0 +1,113 @@
+package com.lzbi.bill.listener;
+
+import cn.hutool.core.collection.CollectionUtil;
+import cn.hutool.json.JSONArray;
+import cn.hutool.json.JSONConfig;
+import cn.hutool.json.JSONUtil;
+import com.alibaba.excel.context.AnalysisContext;
+import com.alibaba.excel.metadata.CellExtra;
+import com.alibaba.excel.metadata.data.ReadCellData;
+import com.alibaba.excel.read.listener.ReadListener;
+import com.lzbi.draft.domain.vo.ProductionDailySheetVO;
+import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.lang3.StringUtils;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author LWB
+ * @Description excel读取的监听器
+ * 有个很重要的点 ExcelReadListener监听器 不能被spring管理,要每次读取excel都要new,然后里面用到spring可以构造方法传进去
+ * 所以,如果需要传入spring管理的对象,要么按照文档中的说明,直接使用构造器传参进来,要么使用ThreadLocal线程级别的变量工具传参
+ * 实际应用中,可能会需要传入很多的spring管理的对象,或者其他上下文参数,遇到这种情况,建议使用ThreadLocal来传递参数,简单,便捷,无需重复修改构造器
+ * 如果是简单的传递个别上下文参数,也可以选用构造器传参的方式
+ */
+@Slf4j
+public class CellDataReadFormulaListener implements ReadListener