| | |
| | | import com.whyc.constant.WorkflowEnum; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.WorkflowLinkDTO; |
| | | import com.whyc.mapper.BattInfMapper; |
| | | import com.whyc.mapper.BatttestdataInfMapper; |
| | | import com.whyc.mapper.Fbs9100SetParamTempMapper; |
| | | import com.whyc.mapper.WorkflowLinkMapper; |
| | |
| | | |
| | | @Autowired(required = false) |
| | | private BatttestdataInfMapper testInfMapper; |
| | | |
| | | @Autowired(required = false) |
| | | private BattInfMapper binfMapper; |
| | | |
| | | public void addBatch(List<WorkflowLink> links) { |
| | | mapper.insertBatchSomeColumn(links); |
| | |
| | | if (tmp != null) { |
| | | BatttestdataInf tinf = testInfMapper.searchHrYear(tmp.getBattGroupId()); |
| | | map.put("testInf", tinf); |
| | | QueryWrapper infWrapper = new QueryWrapper(); |
| | | infWrapper.eq("battGroupId", tmp.getBattGroupId()); |
| | | infWrapper.last("limit 1"); |
| | | Battinf binf = binfMapper.selectOne(infWrapper); |
| | | map.put("binf", binf); |
| | | } |
| | | return new Response().setII(1, true, map, "节点为二次放电时查询二次放电参数和本年上一次有效核容数据"); |
| | | } |